git-svn-id: http://code.alibabatech.com/svn/druid/trunk@94 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-05-15 13:10:51 +00:00
parent cf07836113
commit d1f69e59d9
4 changed files with 7 additions and 5 deletions
@@ -35,7 +35,7 @@ public class BooleanValuesTest extends TestCase {
String text = output(stmtList);
Assert.assertEquals("SELECT TRUE, true, FALSE, false;", text);
Assert.assertEquals("SELECT true, true, false, false;", text);
}
private String output(List<SQLStatement> stmtList) {
@@ -134,7 +134,7 @@ public class ComparisonFunctionsAndOperatorsTest extends TestCase {
String text = output(stmtList);
Assert.assertEquals("SELECT 1 IS TRUE, 0 IS FALSE, NULL IS UNKNOWN;", text);
Assert.assertEquals("SELECT 1 IS true, 0 IS false, NULL IS UNKNOWN;", text);
}
public void test_10() throws Exception {
@@ -35,7 +35,7 @@ public class LogicalOperatorsTest extends TestCase {
String text = output(stmtList);
Assert.assertEquals("SELECT 10 IS TRUE;", text);
Assert.assertEquals("SELECT 10 IS true;", text);
}
public void test_1() throws Exception {
@@ -46,7 +46,7 @@ public class LogicalOperatorsTest extends TestCase {
String text = output(stmtList);
Assert.assertEquals("SELECT -10 IS TRUE;", text);
Assert.assertEquals("SELECT -10 IS true;", text);
}
public void test_2() throws Exception {