You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
I've modified the first example in a simple fashion. I'm hoping maybe you could incorporate these changes into AnnotatedTestRunner.runTests(...):
@TestpublicvoidtestThreading() {
finalAnnotatedTestRunnerrunner = newAnnotatedTestRunner();
// Run all Weaver tests in this class, using MyList as the Class Under Test.try {
runner.runTests(this.getClass(), MyList.class);
} catch (finalRuntimeExceptione) {
finalThrowableroot = org.apache.commons.lang.exception.ExceptionUtils.ExceptionUtils.getRootCause(e);
if (rootinstanceofAssertionError)
throw (AssertionError) root;
elsethrowe;
}
}