use of com.navercorp.pinpoint.test.plugin.shared.PrintListener in project pinpoint by pinpoint-apm.
the class ForkedPinpointPluginTest method runTests.
private static Result runTests(Class<?> testClass, String testId) throws InitializationError {
JUnitCore junit = new JUnitCore();
junit.addListener(new PrintListener());
Runner runner = new ForkedPinpointPluginTestRunner(testClass, testId);
Result result = junit.run(runner);
return result;
}
use of com.navercorp.pinpoint.test.plugin.shared.PrintListener in project pinpoint by naver.
the class ForkedPinpointPluginTest method runTests.
private static Result runTests(Class<?> testClass, String testId) throws InitializationError {
JUnitCore junit = new JUnitCore();
junit.addListener(new PrintListener());
Runner runner = new ForkedPinpointPluginTestRunner(testClass, testId);
Result result = junit.run(runner);
return result;
}
Aggregations