Search in sources :

Example 1 with RunnerOneTest

use of org.apache.jena.arq.junit.runners.RunnerOneTest in project jena by apache.

the class AbstractRunnerFiles method buildTest.

public static RunnerOneTest buildTest(String filename, Function<String, Runnable> maker, String prefix) {
    Description description = Description.createSuiteDescription(filename);
    Runnable runnable = maker.apply(filename);
    String name = StringUtils.isEmpty(prefix) ? fixupName(filename) : prefix + " " + fixupName(filename);
    return new RunnerOneTest(filename, runnable);
}
Also used : RunnerOneTest(org.apache.jena.arq.junit.runners.RunnerOneTest) Description(org.junit.runner.Description)

Aggregations

RunnerOneTest (org.apache.jena.arq.junit.runners.RunnerOneTest)1 Description (org.junit.runner.Description)1