// Path: src/src/com/orm/androrm/field/CharField.java
// public class CharField extends DataField<String> {
// 
// 	/**
// 	 * Initializes a standard field with implicit 
// 	 * maximum length of 255 characters.
// 	 */
// 	public CharField() {
// 		mType = "varchar";
// 	}
// 	
// 	/**
// 	 * Initializes a field and sets the maximum length,
// 	 * if this value is greater than 0 and less than or equal
// 	 * to 255.
// 	 * 
// 	 * @param maxLength	Maximum number of characters allowed for this field.
// 	 */
// 	public CharField(int maxLength) {
// 		mType = "varchar";
// 		
// 		if(maxLength > 0
// 				&& maxLength <= 255) {
// 			
// 			mMaxLength = maxLength;
// 		}
// 	}
// 
// 	@Override
// 	public void putData(String key, ContentValues values) {
// 		values.put(key, get());
// 	}
// 
// 	@Override
// 	public void set(Cursor c, String fieldName) {
// 		set(c.getString(c.getColumnIndexOrThrow(fieldName)));
// 	}
// 
// 	@Override
// 	public void reset() {
// 		mValue = null;
// 	}
// 
// }


import com.orm.androrm.field.CharField;
import android.test.AndroidTestCase;
package com.orm.androrm.test.field;



public class CharFieldTest extends AndroidTestCase {

	public void testDefaults() {
// Path: src/src/com/orm/androrm/field/CharField.java
// public class CharField extends DataField<String> {
// 
// 	/**
// 	 * Initializes a standard field with implicit 
// 	 * maximum length of 255 characters.
// 	 */
// 	public CharField() {
// 		mType = "varchar";
// 	}
// 	
// 	/**
// 	 * Initializes a field and sets the maximum length,
// 	 * if this value is greater than 0 and less than or equal
// 	 * to 255.
// 	 * 
// 	 * @param maxLength	Maximum number of characters allowed for this field.
// 	 */
// 	public CharField(int maxLength) {
// 		mType = "varchar";
// 		
// 		if(maxLength > 0
// 				&& maxLength <= 255) {
// 			
// 			mMaxLength = maxLength;
// 		}
// 	}
// 
// 	@Override
// 	public void putData(String key, ContentValues values) {
// 		values.put(key, get());
// 	}
// 
// 	@Override
// 	public void set(Cursor c, String fieldName) {
// 		set(c.getString(c.getColumnIndexOrThrow(fieldName)));
// 	}
// 
// 	@Override
// 	public void reset() {
// 		mValue = null;
// 	}
// 
// }


// Path: test/src/com/orm/androrm/test/field/CharFieldTest.java
import com.orm.androrm.field.CharField;
import android.test.AndroidTestCase;

package com.orm.androrm.test.field;



public class CharFieldTest extends AndroidTestCase {

	public void testDefaults() {
		CharField c = new CharField();