summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-10-09 15:05:35 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-10-09 15:05:35 +0000
commit5ffb4e8e94b67ba749414b393980483e8373d326 (patch)
treefe0e47e6ef50a0b8c8910727717e0c111499e0fa /src/test/java
parente7762e7883568efdc9f2ebb983a15fef7c85895e (diff)
Add rule to check user preferences as index selection tie-breaker.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/amazon/carbonado/qe/TestUnionQueryAnalyzer.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/test/java/com/amazon/carbonado/qe/TestUnionQueryAnalyzer.java b/src/test/java/com/amazon/carbonado/qe/TestUnionQueryAnalyzer.java
index 7c92772..21d0b0c 100644
--- a/src/test/java/com/amazon/carbonado/qe/TestUnionQueryAnalyzer.java
+++ b/src/test/java/com/amazon/carbonado/qe/TestUnionQueryAnalyzer.java
@@ -385,7 +385,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
exec.printPlan(buf, 0, null);
String plan = buf.toString();
- String expexted =
+ String expected =
"union\n" +
" sort: [+id]\n" +
" index scan: com.amazon.carbonado.stored.StorableTestBasic\n" +
@@ -399,7 +399,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
" ...range filter: id > ?\n";
// Test test will fail if the format of the plan changes.
- assertEquals(expexted, plan);
+ assertEquals(expected, plan);
}
public void testComplexUnionPlan2() throws Exception {
@@ -427,7 +427,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
exec.printPlan(buf, 0, null);
String plan = buf.toString();
- String expexted =
+ String expected =
"union\n" +
" sort: [+stringProp]\n" +
" index scan: com.amazon.carbonado.stored.StorableTestBasic\n" +
@@ -438,7 +438,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
" ...identity filter: stringProp = ?\n";
// Test test will fail if the format of the plan changes.
- assertEquals(expexted, plan);
+ assertEquals(expected, plan);
}
public void testComplexUnionPlan3() throws Exception {
@@ -464,7 +464,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
exec.printPlan(buf, 0, null);
String plan = buf.toString();
- String expexted =
+ String expected =
"union\n" +
" index scan: com.amazon.carbonado.stored.StorableTestBasic\n" +
" ...index: {properties=[+stringProp, +doubleProp], unique=true}\n" +
@@ -474,7 +474,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
" ...identity filter: stringProp = ?[2]\n";
// Test test will fail if the format of the plan changes.
- assertEquals(expexted, plan);
+ assertEquals(expected, plan);
}
public void testComplexUnionPlan4() throws Exception {
@@ -502,7 +502,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
exec.printPlan(buf, 0, null);
String plan = buf.toString();
- String expexted =
+ String expected =
"union\n" +
" sort: [+id]\n" +
" index scan: com.amazon.carbonado.stored.StorableTestBasic\n" +
@@ -518,7 +518,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
" ...range filter: id > ?\n";
// Test test will fail if the format of the plan changes.
- assertEquals(expexted, plan);
+ assertEquals(expected, plan);
}
public void testComplexUnionPlan5() throws Exception {
@@ -546,7 +546,7 @@ public class TestUnionQueryAnalyzer extends TestCase {
exec.printPlan(buf, 0, null);
String plan = buf.toString();
- String expexted =
+ String expected =
"union\n" +
" index scan: com.amazon.carbonado.stored.StorableTestBasic\n" +
" ...index: {properties=[+stringProp, +doubleProp], unique=true}\n" +
@@ -560,6 +560,6 @@ public class TestUnionQueryAnalyzer extends TestCase {
" ...range filter: id > ?\n";
// Test test will fail if the format of the plan changes.
- assertEquals(expexted, plan);
+ assertEquals(expected, plan);
}
}