19 package testsuite.clusterj;
21 import testsuite.clusterj.model.AllPrimitives;
77 void createInstances(
int number) {
78 createAllPrimitivesInstances(10);
81 public void testExtraEqualNotEqualNull() {
82 equalAnd1ExtraQuery(
"int_not_null_btree", 8,
"int_null_none", extraNotEqualPredicateProvider, null,
"idx_int_not_null_btree", 8);
83 equalAnd1ExtraQuery(
"int_not_null_hash", 8,
"int_null_none", extraNotEqualPredicateProvider, null,
"none", 8);
84 equalAnd1ExtraQuery(
"int_not_null_both", 8,
"int_null_none", extraNotEqualPredicateProvider, null,
"idx_int_not_null_both", 8);
85 equalAnd1ExtraQuery(
"int_not_null_none", 8,
"int_null_none", extraNotEqualPredicateProvider, null,
"none", 8);
89 public void testBtreeNotEqualNull() {
90 notEqualQuery(
"int_not_null_btree",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
91 notEqualQuery(
"int_null_btree",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
95 public void testHashNotEqualNull() {
96 notEqualQuery(
"int_not_null_hash",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
97 notEqualQuery(
"int_null_hash",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
101 public void testBothNotEqualNull() {
102 notEqualQuery(
"int_not_null_both",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
103 notEqualQuery(
"int_null_both",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
107 public void testNoneNotEqualNull() {
108 notEqualQuery(
"int_not_null_none",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
109 notEqualQuery(
"int_null_none",
"none", null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);