use of util.StubBaseRowSet in project jdk8u_jdk by JetBrains.
the class BaseRowSetTests method baseRowSetTest0012.
/*
* Validate setNull specifying the supported type values and that
* typeName is set internally
*/
@Test(dataProvider = "jdbcTypes")
public void baseRowSetTest0012(Integer type) throws Exception {
brs = new StubBaseRowSet();
brs.setNull(1, type, "SUPERHERO");
assertTrue(checkNullParam(1, type, "SUPERHERO"));
}
use of util.StubBaseRowSet in project jdk8u_jdk by JetBrains.
the class BaseRowSetTests method baseRowSetTest0014.
/*
* Validate that setTime sets the specified Calendar internally
*/
@Test()
public void baseRowSetTest0014() throws Exception {
Calendar cal = Calendar.getInstance();
brs = new StubBaseRowSet();
brs.setTime(1, Time.valueOf(LocalTime.now()), cal);
assertTrue(checkCalendarParam(1, cal));
}
Aggregations