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

Unified Diff: tests/compiler/dart2js/categories_test.dart

Issue 1408253006: Introduce "platform configurations" to replace categories and libraries.dart. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix create_sdk scripts according to review Created 5 years, 1 month 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: tests/compiler/dart2js/categories_test.dart
diff --git a/tests/compiler/dart2js/categories_test.dart b/tests/compiler/dart2js/categories_test.dart
index 3b22453112ca073a27266c86ad772165cf6b10ed..677d1a83a60cefe2c506ea6cc37cd7f6a51acd15 100644
--- a/tests/compiler/dart2js/categories_test.dart
+++ b/tests/compiler/dart2js/categories_test.dart
@@ -19,17 +19,13 @@ runTest(String source, String categories, int expectedErrors) async {
void main() {
asyncTest(() async {
- await runTest("import 'dart:async'; main() {}", "Embedded", 1);
await runTest("import 'dart:async'; main() {}", "Client", 0);
await runTest("import 'dart:async'; main() {}", "Server", 0);
- await runTest("import 'dart:html'; main() {}", "Embedded", 1);
await runTest("import 'dart:html'; main() {}", "Client", 0);
await runTest("import 'dart:html'; main() {}", "Server", 1);
- await runTest("import 'dart:io'; main() {}", "Embedded", 1);
await runTest("import 'dart:io'; main() {}", "Client", 1);
await runTest("import 'dart:io'; main() {}", "Server", 0);
- await runTest("import 'dart:_internal'; main() {}", "Embedded", 2);
- await runTest("import 'dart:_internal'; main() {}", "Client", 2);
- await runTest("import 'dart:_internal'; main() {}", "Server", 2);
+ await runTest("import 'dart:_internal'; main() {}", "Client", 1);
+ await runTest("import 'dart:_internal'; main() {}", "Server", 1);
});
}
« no previous file with comments | « tests/compiler/dart2js/backend_dart/dart_backend_test.dart ('k') | tests/compiler/dart2js/library_resolution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698