summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-09 13:56:44 -0400
committerJames Moger <james.moger@gmail.com>2011-08-09 13:56:44 -0400
commit01ec38ed904bd24c9075edfc12c2b41c1e13d249 (patch)
tree0d2ed8b753a4bc8665703463a114750d013fbf06 /tests
parent1a2339a9f1f96ddca64ab392dd7f9e1621e6c201 (diff)
downloadiciql-01ec38ed904bd24c9075edfc12c2b41c1e13d249.tar.gz
iciql-01ec38ed904bd24c9075edfc12c2b41c1e13d249.zip
All columns are assumed NULLABLE. IQColumn.allowNull->IQColumn.nullable
Diffstat (limited to 'tests')
-rw-r--r--tests/com/iciql/test/ModelsTest.java2
-rw-r--r--tests/com/iciql/test/models/DefaultValuesModel.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/com/iciql/test/ModelsTest.java b/tests/com/iciql/test/ModelsTest.java
index d5edcfd..652bc4f 100644
--- a/tests/com/iciql/test/ModelsTest.java
+++ b/tests/com/iciql/test/ModelsTest.java
@@ -115,7 +115,7 @@ public class ModelsTest {
true);
assertEquals(1, models.size());
// a poor test, but a start
- assertEquals(1780, models.get(0).length());
+ assertEquals(1456, models.get(0).length());
}
@Test
diff --git a/tests/com/iciql/test/models/DefaultValuesModel.java b/tests/com/iciql/test/models/DefaultValuesModel.java
index 2669257..ab09186 100644
--- a/tests/com/iciql/test/models/DefaultValuesModel.java
+++ b/tests/com/iciql/test/models/DefaultValuesModel.java
@@ -50,7 +50,7 @@ public class DefaultValuesModel {
@IQEnum(EnumType.ORDINAL)
public Tree myOrdinalTree = Tree.PINE;
- @IQColumn(allowNull = true)
+ @IQColumn(nullable = true)
public Tree myNullTree;
public DefaultValuesModel() {