Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java

Issue 842503003: Enable async support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java
index 974eb7960e1f1948c68b1269b7f3d2f016e42c01..f0d692137cb107205fa8d3ada1ed47280b4e37db 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisOptionsImplTest.java
@@ -26,6 +26,7 @@ public class AnalysisOptionsImplTest extends EngineTestCase {
options.setCacheSize(i);
options.setDart2jsHint(booleanValue);
options.setEnableDeferredLoading(booleanValue);
+ options.setEnableEnum(booleanValue);
options.setGenerateSdkErrors(booleanValue);
options.setHint(booleanValue);
options.setIncremental(booleanValue);
@@ -36,7 +37,6 @@ public class AnalysisOptionsImplTest extends EngineTestCase {
assertEquals(options.getAnalyzePolymer(), copy.getAnalyzePolymer());
assertEquals(options.getCacheSize(), copy.getCacheSize());
assertEquals(options.getDart2jsHint(), copy.getDart2jsHint());
- assertEquals(options.getEnableAsync(), copy.getEnableAsync());
assertEquals(options.getEnableDeferredLoading(), copy.getEnableDeferredLoading());
assertEquals(options.getEnableEnum(), copy.getEnableEnum());
assertEquals(options.getGenerateSdkErrors(), copy.getGenerateSdkErrors());
@@ -82,14 +82,6 @@ public class AnalysisOptionsImplTest extends EngineTestCase {
assertEquals(value, options.getDart2jsHint());
}
- public void test_getEnableAsync() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- assertEquals(AnalysisOptionsImpl.DEFAULT_ENABLE_ASYNC, options.getEnableAsync());
- boolean value = !options.getEnableAsync();
- options.setEnableAsync(value);
- assertEquals(value, options.getEnableAsync());
- }
-
public void test_getEnableDeferredLoading() {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
assertEquals(

Powered by Google App Engine
This is Rietveld 408576698