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() |
runTest
private 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.OneTest
java.sql.SQLException
java.lang.String composeSQL()
composeSQL
in class TimestampArithTest.OneTest
java.sql.ResultSet executePS() throws java.sql.SQLException
executePS
in class TimestampArithTest.OneTest
java.sql.SQLException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.