Lines Matching defs:TestResult
84 TestResult runMain(String[] opts, String[] files) {
86 return run(new TestResult(opts), (tr, c, pw) -> {
94 TestResult runCall(String[] opts, String[] files) {
96 return run(new TestResult(opts), (tr, c, pw) -> {
104 TestResult runParse(String[] opts, String[] files) {
106 return run(new TestResult(opts), (tr, c, pw) -> {
114 TestResult runAnalyze(String[] opts, String[] files) {
116 return run(new TestResult(opts), (tr, c, pw) -> {
125 void run(TestResult tr, Context c, PrintWriter pw) throws IOException;
128 TestResult run(TestResult tr, Runnable r) {
154 class TestResult {
162 TestResult(String... args) {
166 TestResult(List<String> args, Iterable<? extends JavaFileObject> files) {
231 TestResult checkOK() {
242 TestResult checkResult(int expect) {
251 TestResult checkResult(boolean expect) {
260 TestResult checkLog(String... expects) {
264 TestResult checkLog(Log l, String... expects) {
272 TestResult checkIllegalArgumentException() {
276 TestResult checkIllegalStateException() {
280 TestResult checkThrown(Class<? extends Throwable> t) {
288 TestResult checkClass(String name) {