| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/cache/HtmlEntryImplTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/cache/HtmlEntryImplTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/cache/HtmlEntryImplTest.java
|
| index c6131319ee7943a4cee6975764dcf08b902d9253..5a70156d5c0f916faaa5f570aeb3b8132c3cb97c 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/cache/HtmlEntryImplTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/cache/HtmlEntryImplTest.java
|
| @@ -77,6 +77,10 @@ public class HtmlEntryImplTest extends EngineTestCase {
|
| setState(HtmlEntry.PARSED_UNIT);
|
| }
|
|
|
| + public void test_setState_parseErrors() {
|
| + setState(HtmlEntry.PARSE_ERRORS);
|
| + }
|
| +
|
| public void test_setState_referencedLibraries() {
|
| setState(HtmlEntry.REFERENCED_LIBRARIES);
|
| }
|
| @@ -111,6 +115,13 @@ public class HtmlEntryImplTest extends EngineTestCase {
|
| setValue(HtmlEntry.PARSED_UNIT, new HtmlUnit(null, null, null));
|
| }
|
|
|
| + public void test_setValue_parseErrors() {
|
| + setValue(HtmlEntry.PARSE_ERRORS, new AnalysisError[] {new AnalysisError(
|
| + null,
|
| + HtmlWarningCode.INVALID_URI,
|
| + "-")});
|
| + }
|
| +
|
| public void test_setValue_referencedLibraries() {
|
| setValue(HtmlEntry.REFERENCED_LIBRARIES, new Source[] {new TestSource()});
|
| }
|
|
|