private static class TimestampArithTest.OneAddTest extends TimestampArithTest.OneTest
Modifier and Type | Field and Description |
---|---|
(package private) int |
count |
(package private) java.sql.Timestamp |
expected |
private java.util.Date |
ts |
expectedMsg, expectedSQLState, interval, sql
Constructor and Description |
---|
OneAddTest(int interval,
int count,
java.util.Date ts,
java.sql.Timestamp expected,
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 ts
final int count
final java.sql.Timestamp expected
OneAddTest(int interval, int count, java.util.Date ts, java.sql.Timestamp expected, java.lang.String expectedSQLState, java.lang.String expectedMsg)
java.lang.String composeSQL()
composeSQL
in class TimestampArithTest.OneTest
void checkResultRow(java.sql.ResultSet rs, java.lang.String sql) throws java.sql.SQLException
checkResultRow
in class TimestampArithTest.OneTest
java.sql.SQLException
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.