Search in sources :

Example 1 with TestSQLDataImpl

use of util.TestSQLDataImpl in project jdk8u_jdk by JetBrains.

the class SQLInputImplTests method setUpMethod.

@BeforeMethod
@Override
public void setUpMethod() throws Exception {
    map = new HashMap<>();
    impl = new TestSQLDataImpl("TestSQLData");
    typeValues = Arrays.copyOf(TestSQLDataImpl.attributes, TestSQLDataImpl.attributes.length);
    hero = new SuperHero(sqlType, "Bruce", "Wayne", 1939, "Batman");
}
Also used : TestSQLDataImpl(util.TestSQLDataImpl) SuperHero(util.SuperHero) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 2 with TestSQLDataImpl

use of util.TestSQLDataImpl in project jdk8u_jdk by JetBrains.

the class SQLOutputImplTests method setUpMethod.

@BeforeMethod
@Override
public void setUpMethod() throws Exception {
    results = new Vector();
    impl = new TestSQLDataImpl("TestSQLData");
    typeValues = Arrays.copyOf(TestSQLDataImpl.attributes, TestSQLDataImpl.attributes.length);
    hero = new SuperHero(sqlType, "Bruce", "Wayne", 1939, "Batman");
    outImpl = new SQLOutputImpl(results, map);
}
Also used : TestSQLDataImpl(util.TestSQLDataImpl) SuperHero(util.SuperHero) SQLOutputImpl(javax.sql.rowset.serial.SQLOutputImpl) Vector(java.util.Vector) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

BeforeMethod (org.testng.annotations.BeforeMethod)2 SuperHero (util.SuperHero)2 TestSQLDataImpl (util.TestSQLDataImpl)2 Vector (java.util.Vector)1 SQLOutputImpl (javax.sql.rowset.serial.SQLOutputImpl)1