change
This commit is contained in:
parent
b9da747d2d
commit
ecd22634ef
|
@ -67,8 +67,7 @@ public class StatementTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = SQLException.class)
|
@Test(expected = SQLException.class)
|
||||||
public void testUnsupport() {
|
public void testUnsupport() throws SQLException {
|
||||||
try {
|
|
||||||
Assert.assertNotNull(statement.unwrap(TSDBStatement.class));
|
Assert.assertNotNull(statement.unwrap(TSDBStatement.class));
|
||||||
Assert.assertTrue(statement.isWrapperFor(TSDBStatement.class));
|
Assert.assertTrue(statement.isWrapperFor(TSDBStatement.class));
|
||||||
|
|
||||||
|
@ -95,9 +94,6 @@ public class StatementTest {
|
||||||
statement.isPoolable();
|
statement.isPoolable();
|
||||||
statement.closeOnCompletion();
|
statement.closeOnCompletion();
|
||||||
statement.isCloseOnCompletion();
|
statement.isCloseOnCompletion();
|
||||||
} catch (SQLException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
|
|
Loading…
Reference in New Issue