summaryrefslogtreecommitdiffstats
path: root/tests/new/runtime/TesterDriver.java
blob: 56b1349ebb681f8e1d32e6264f2f30961d291fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import org.aspectj.testing.Tester;

/** Drive AllRuntime in a tester environment */
public class TesterDriver {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer();
        AllRuntime.resultCache(sb);
        int errors = AllRuntime.driveTest();
        if (0 != errors) {
            Tester.check(0 == errors, "AllRuntime errors: " + errors);
            System.err.println(sb.toString());
        }
    }
}