use of org.apache.asterix.testframework.context.TestCaseContext in project asterixdb by apache.
the class LangExecutionUtil method buildTestsInXml.
protected static Collection<Object[]> buildTestsInXml(String xmlfile) throws Exception {
Collection<Object[]> testArgs = new ArrayList<>();
TestCaseContext.Builder b = new TestCaseContext.Builder();
for (TestCaseContext ctx : b.build(new File(PATH_BASE), xmlfile)) {
testArgs.add(new Object[] { ctx });
}
return testArgs;
}
use of org.apache.asterix.testframework.context.TestCaseContext in project asterixdb by apache.
the class MetadataTest method tests.
@Parameters(name = "MetadataTest {index}: {0}")
public static Collection<Object[]> tests() throws Exception {
Collection<Object[]> testArgs = new ArrayList<Object[]>();
TestCaseContext.Builder b = new TestCaseContext.Builder();
for (TestCaseContext ctx : b.build(new File(PATH_BASE))) {
testArgs.add(new Object[] { ctx });
}
return testArgs;
}
use of org.apache.asterix.testframework.context.TestCaseContext in project asterixdb by apache.
the class NCServiceExecutionIT method tests.
@Parameters(name = "NCServiceExecutionTest {index}: {0}")
public static Collection<Object[]> tests() throws Exception {
Collection<Object[]> testArgs = new ArrayList<Object[]>();
TestCaseContext.Builder b = new TestCaseContext.Builder();
for (TestCaseContext ctx : b.build(new File(TESTS_DIR))) {
if (!skip(ctx)) {
testArgs.add(new Object[] { ctx });
}
}
return testArgs;
}
use of org.apache.asterix.testframework.context.TestCaseContext in project asterixdb by apache.
the class DmlRecoveryIT method tests.
@Parameters
public static Collection<Object[]> tests() throws Exception {
Collection<Object[]> testArgs = new ArrayList<Object[]>();
TestCaseContext.Builder b = new TestCaseContext.Builder();
for (TestCaseContext ctx : b.build(new File(TESTSUITE_PATH_BASE))) {
if (ctx.getTestCase().getFilePath().equals("dml")) {
testArgs.add(new Object[] { ctx });
}
}
return testArgs;
}
use of org.apache.asterix.testframework.context.TestCaseContext in project asterixdb by apache.
the class ClusterExecutionIT method tests.
@Parameters
public static Collection<Object[]> tests() throws Exception {
Collection<Object[]> testArgs = new ArrayList<Object[]>();
TestCaseContext.Builder b = new TestCaseContext.Builder();
for (TestCaseContext ctx : b.build(new File(PATH_BASE))) {
testArgs.add(new Object[] { ctx });
}
return testArgs;
}
Aggregations