equal
deleted
inserted
replaced
176 .files(findJavaFiles(src)) |
176 .files(findJavaFiles(src)) |
177 .run(Task.Expect.FAIL) |
177 .run(Task.Expect.FAIL) |
178 .writeAll() |
178 .writeAll() |
179 .getOutput(Task.OutputKind.DIRECT); |
179 .getOutput(Task.OutputKind.DIRECT); |
180 |
180 |
181 if (!log.contains("Test.java:1:52: compiler.err.not.def.access.class.intf.cant.access: call(), api1.Api1") || |
181 if (!log.contains("Test.java:1:52: compiler.err.not.def.access.class.intf.cant.access.reason: call(), api1.Api1, api1, (compiler.misc.not.def.access.does.not.read: m3x, api1, m1x)") || |
182 !log.contains("Test.java:1:76: compiler.err.not.def.access.class.intf.cant.access: toString(), java.lang.Object")) |
182 !log.contains("Test.java:1:76: compiler.err.not.def.access.class.intf.cant.access: toString(), java.lang.Object")) |
183 throw new Exception("expected output not found"); |
183 throw new Exception("expected output not found"); |
184 } |
184 } |
185 |
185 |
186 @Test |
186 @Test |