private static class TimestampArithTest.OneDiffTest extends TimestampArithTest.OneTest
| Modifier and Type | Field and Description |
|---|---|
private int |
expectedDiff |
protected boolean |
expectNull |
private java.util.Date |
ts1 |
private java.util.Date |
ts2 |
expectedMsg, expectedSQLState, interval, sql| Constructor and Description |
|---|
OneDiffTest(int interval,
java.util.Date ts1,
java.util.Date ts2,
int expectedDiff,
java.lang.String expectedSQLState,
java.lang.String expectedMsg) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkResultRow(java.sql.ResultSet rs,
java.lang.String sql) |
(package private) java.lang.String |
composeSQL() |
(package private) java.sql.ResultSet |
executePS() |
runTestprivate final java.util.Date ts1
private final java.util.Date ts2
private final int expectedDiff
protected boolean expectNull
OneDiffTest(int interval,
java.util.Date ts1,
java.util.Date ts2,
int expectedDiff,
java.lang.String expectedSQLState,
java.lang.String expectedMsg)
void checkResultRow(java.sql.ResultSet rs,
java.lang.String sql)
throws java.sql.SQLException
checkResultRow in class TimestampArithTest.OneTestjava.sql.SQLExceptionjava.lang.String composeSQL()
composeSQL in class TimestampArithTest.OneTestjava.sql.ResultSet executePS()
throws java.sql.SQLException
executePS in class TimestampArithTest.OneTestjava.sql.SQLExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.