Index: compiler/javatests/com/google/dart/compiler/CompilerTestCase.java |
diff --git a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java |
index a067e7e62062662343dda5bceec7159ba903b220..d47f7145978dd86f8aa2c78b8c6384da662c2d51 100644 |
--- a/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java |
+++ b/compiler/javatests/com/google/dart/compiler/CompilerTestCase.java |
@@ -171,6 +171,10 @@ public abstract class CompilerTestCase extends TestCase { |
compilerConfiguration = CHECK_ONLY_CONFIGURATION; |
} |
+ protected AnalyzeLibraryResult analyzeLibrary(String... lines) throws Exception { |
+ return analyzeLibrary(getName(), makeCode(lines)); |
+ } |
+ |
/** |
* Simulate running {@code analyzeLibrary} the way the IDE will. |
* <p> |