use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.
the class Mixed method test_50_4.
@Test
public void test_50_4() {
Values values = new ValuesImplSlow("a").pseudoMultiply();
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.
the class Mixed method test_withEmpty_1_implSlow.
@Test
public void test_withEmpty_1_implSlow() {
Values values = new ValuesImplSlow("a").intersect().multiply(new ValuesImplSlow("a"));
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.
the class Mixed method test_50_1.
@Test
public void test_50_1() {
Values values = new ValuesImplSlow("a").multiply();
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.
the class Simple method suite.
public static Test suite() {
Multiplier multiplier = map -> {
ICombination action = (ICombination) map.get("action");
ISimpleOperation o1 = (ISimpleOperation) map.get("op#1");
ISimpleOperation o2 = (ISimpleOperation) map.get("op#2");
Object[] objs1 = ((IDataProducer) map.get("v#1")).produce();
Object[] objs2 = ((IDataProducer) map.get("v#2")).produce();
Object[] objs3 = ((IDataProducer) map.get("v#3")).produce();
Values d1 = new ValuesImplSlow(objs1);
Values d2 = new ValuesImplSlow(objs2);
Values d3 = new ValuesImplSlow(objs3);
Values dv = action.operate(o1, o2, d1, d2, d3);
Values v1 = DataFactory.createColumn(objs1);
Values v2 = DataFactory.createColumn(objs2);
Values v3 = DataFactory.createColumn(objs3);
Values v = action.operate(o1, o2, v1, v2, v3);
ValuesComparison.compare(v, dv);
};
Engine engine = new Engine(multiplier);
engine.addAspects("v#1", (Object[]) PRODUCERS);
engine.addAspects("v#2", (Object[]) PRODUCERS);
engine.addAspects("v#3", (Object[]) PRODUCERS);
engine.addAspects("op#1", (Object[]) ISimpleOperation.OPERATIONS);
engine.addAspects("op#2", (Object[]) ISimpleOperation.OPERATIONS);
engine.addAspects("action", (Object[]) I_COMBINATIONS);
return engine.createFullyMultipliedSuite();
}
use of com.oracle.tck.lib.autd2.unittests.tgfported.ValuesImplSlow in project jtharness by openjdk.
the class Mixed method test_50_2.
@Test
public void test_50_2() {
Values values = new ValuesImplSlow().multiply("a");
List<Object[]> expected = new ArrayList<Object[]>();
ValuesComparison.compare(values, expected);
}
Aggregations