// Built-in functions are always case-insensitive.
@Test void testUnquotedBuiltInFunctionNames() {
    // TODO: Once Oracle is an officially supported dialect, this test
    // should be moved to OracleValidatorTest.java.
    final Sql oracle = sql("?")
        .withUnquotedCasing(Casing.TO_UPPER)
        .withCaseSensitive(true);
    // Built-in functions are always case-insensitive.
    oracle.sql("select count(*), sum(deptno), floor(2.5) from dept").ok();
    oracle.sql("select COUNT(*), FLOOR(2.5) from dept").ok();
    oracle.sql("select cOuNt(*), FlOOr(2.5) from dept").ok();
    oracle.sql("select cOuNt (*), FlOOr (2.5) from dept").ok();
    oracle.sql("select current_time from dept").ok();
    oracle.sql("select Current_Time from dept").ok();
    oracle.sql("select CURRENT_TIME from dept").ok();
    oracle.sql("select \"count\"(*) from dept").ok();
  }
.withUnquotedCasing(Casing.TO_UPPER)
.withCaseSensitive(true);
// Built-in functions are always case-insensitive.
oracle.sql("select count(*), sum(deptno), floor(2.5) from dept").ok();
oracle.sql("select COUNT(*), FLOOR(2.5) from dept").ok();
@Test void testUnquotedBuiltInFunctionNames() {
// TODO: Once Oracle is an officially supported dialect, this test
// should be moved to OracleValidatorTest.java.
final Sql oracle = sql("?")
.withUnquotedCasing(Casing.TO_UPPER)
.withCaseSensitive(true);
// Built-in functions are always case-insensitive.
oracle.sql("select count(*), sum(deptno), floor(2.5) from dept").ok();
oracle.sql("select COUNT(*), FLOOR(2.5) from dept").ok();
oracle.sql("select cOuNt(*), FlOOr(2.5) from dept").ok();
oracle.sql("select cOuNt (*), FlOOr (2.5) from dept").ok();
oracle.sql("select current_time from dept").ok();
oracle.sql("select Current_Time from dept").ok();
oracle.sql("select CURRENT_TIME from dept").ok();
oracle.sql("select \"count\"(*) from dept").ok();
}
@Test void testUnquotedBuiltInFunctionNames() {
// TODO: Once Oracle is an officially supported dialect, this test
// should be moved to OracleValidatorTest.java.
final Sql oracle = sql("?")
.withUnquotedCasing(Casing.TO_UPPER)
.withCaseSensitive(true);
// Built-in functions are always case-insensitive.
oracle.sql("select count(*), sum(deptno), floor(2.5) from dept").ok();
oracle.sql("select COUNT(*), FLOOR(2.5) from dept").ok();
oracle.sql("select cOuNt(*), FlOOr(2.5) from dept").ok();
oracle.sql("select cOuNt (*), FlOOr (2.5) from dept").ok();
oracle.sql("select current_time from dept").ok();
oracle.sql("select Current_Time from dept").ok();
oracle.sql("select CURRENT_TIME from dept").ok();
oracle.sql("select \"count\"(*) from dept").ok();
}