use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombine_empty_8.
@Test
public void testCombine_empty_8() {
Values values = createColumn(1).multiply(createColumn()).multiply(5, 6);
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testRun_empty_3.
@Test
public void testRun_empty_3() {
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();
}
@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 testCombine_1_3.
@Test
public void testCombine_1_3() {
Values values = createColumn(1, 2);
values = values.multiply(createColumn(3, 4, 5));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3 });
expected.add(new Object[] { 1, 4 });
expected.add(new Object[] { 1, 5 });
expected.add(new Object[] { 2, 3 });
expected.add(new Object[] { 2, 4 });
expected.add(new Object[] { 2, 5 });
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombine_empty_12.
@Test
public void testCombine_empty_12() {
Values values = createRow().multiply(createColumn(1, 2));
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.sun.tck.lib.tgf.Values in project jtharness by openjdk.
the class Multiply method testCombine_1_3_util.
@Test
public void testCombine_1_3_util() {
Values values = multiply(createColumn(1, 2), createColumn(3, 4, 5));
List<Object[]> expected = new ArrayList<Object[]>();
expected.add(new Object[] { 1, 3 });
expected.add(new Object[] { 1, 4 });
expected.add(new Object[] { 1, 5 });
expected.add(new Object[] { 2, 3 });
expected.add(new Object[] { 2, 4 });
expected.add(new Object[] { 2, 5 });
ValuesComparison.compare(values, expected);
}
Aggregations