You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TesterDriver.java 448B

123456789101112131415
  1. import org.aspectj.testing.Tester;
  2. /** Drive AllRuntime in a tester environment */
  3. public class TesterDriver {
  4. public static void main(String[] args) {
  5. StringBuffer sb = new StringBuffer();
  6. AllRuntime.resultCache(sb);
  7. int errors = AllRuntime.driveTest();
  8. if (0 != errors) {
  9. Tester.check(0 == errors, "AllRuntime errors: " + errors);
  10. System.err.println(sb.toString());
  11. }
  12. }
  13. }