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

Side by Side Diff: test/runner/browser/loader_test.dart

Issue 1707173002: Add browser tags to all of our tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 @TestOn("vm") 5 @TestOn("vm")
6 @Tags(const ["chrome"])
6 7
7 import 'dart:io'; 8 import 'dart:io';
8 9
9 import 'package:path/path.dart' as p; 10 import 'package:path/path.dart' as p;
10 import 'package:test/src/backend/state.dart'; 11 import 'package:test/src/backend/state.dart';
11 import 'package:test/src/backend/test_platform.dart'; 12 import 'package:test/src/backend/test_platform.dart';
12 import 'package:test/src/runner/configuration.dart'; 13 import 'package:test/src/runner/configuration.dart';
13 import 'package:test/src/runner/loader.dart'; 14 import 'package:test/src/runner/loader.dart';
14 import 'package:test/src/util/io.dart'; 15 import 'package:test/src/util/io.dart';
15 import 'package:test/test.dart'; 16 import 'package:test/test.dart';
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 .toList(); 162 .toList();
162 expect(suites, hasLength(1)); 163 expect(suites, hasLength(1));
163 var loadSuite = suites.first; 164 var loadSuite = suites.first;
164 165
165 var liveTest = await loadSuite.group.entries.single.load(loadSuite); 166 var liveTest = await loadSuite.group.entries.single.load(loadSuite);
166 expect(liveTest.onPrint.first, completion(equals("print within test"))); 167 expect(liveTest.onPrint.first, completion(equals("print within test")));
167 await liveTest.run(); 168 await liveTest.run();
168 expectTestPassed(liveTest); 169 expectTestPassed(liveTest);
169 }); 170 });
170 } 171 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698