use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testRun_empty_5.
@Test
public void testRun_empty_5() {
final ArrayList<String> arrayList = new ArrayList<String>();
com.oracle.tck.lib.autd2.TestResult status = com.oracle.tck.lib.autd2.unittests.TU.runTestGroup(new BaseTestGroup() {
Values setupOne() {
return DataFactory.createColumn(5, 6, 7, 8).pseudoMultiply();
}
@TestCase
@TestData("setupOne")
public void myTest(String s) {
arrayList.add(s);
}
}, TU.EMPTY_ARGV);
Assert.assertEquals(0, arrayList.size());
Assert.assertTrue(status.isOK());
Assert.assertEquals("Passed. test cases: 1; all passed", status.toString());
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_3_supportingMethod_1.
@Test
public void testCombineCombine_3_supportingMethod_1() {
Values values_1 = createColumn(1, 2);
Values values_2 = createColumn(3, 4);
Values values_3 = createColumn(5, 6);
checkCombineCombine_3(multiply(values_1, values_2, values_3));
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombineCombine_2.
@Test
public void testCombineCombine_2() {
Values values = createColumn(1, 2);
values = values.multiply(createColumn(3, 4));
values = values.multiply(createColumn(5, 6));
checkCombineCombine_3(values);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testRun_empty_1.
@Test
public void testRun_empty_1() {
final ArrayList<String> arrayList = new ArrayList<String>();
com.oracle.tck.lib.autd2.TestResult status = com.oracle.tck.lib.autd2.unittests.TU.runTestGroup(new BaseTestGroup() {
Values setupOne() {
return DataFactory.createColumn().multiply(1, 2, 3);
}
@TestCase
@TestData("setupOne")
public void myTest(String s) {
arrayList.add(s);
}
}, TU.EMPTY_ARGV);
Assert.assertEquals(0, arrayList.size());
Assert.assertTrue(status.isOK());
Assert.assertEquals("Passed. test cases: 1; all passed", status.toString());
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testRun_empty_2.
@Test
public void testRun_empty_2() {
final ArrayList<String> arrayList = new ArrayList<String>();
com.oracle.tck.lib.autd2.TestResult status = com.oracle.tck.lib.autd2.unittests.TU.runTestGroup(new BaseTestGroup() {
Values setupOne() {
return DataFactory.createColumn(1, 2, 3).multiply();
}
@TestCase
@TestData("setupOne")
public void myTest(String s) {
arrayList.add(s);
}
}, TU.EMPTY_ARGV);
Assert.assertEquals(0, arrayList.size());
Assert.assertTrue(status.isOK());
Assert.assertEquals("Passed. test cases: 1; all passed", status.toString());
}
Aggregations