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

Side by Side Diff: test/expect_async_test.dart

Issue 955543002: Move a bunch of src/ files into subdirectories. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Fix library tags Created 5 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
« no previous file with comments | « test/engine_test.dart ('k') | test/invoker_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import 'package:unittest/src/state.dart'; 5 import 'package:unittest/src/backend/state.dart';
6 import 'package:unittest/unittest.dart'; 6 import 'package:unittest/unittest.dart';
7 7
8 import 'utils.dart'; 8 import 'utils.dart';
9 9
10 void main() { 10 void main() {
11 group("supports a function with this many arguments:", () { 11 group("supports a function with this many arguments:", () {
12 test("0", () { 12 test("0", () {
13 var callbackRun = false; 13 var callbackRun = false;
14 return runTest(() { 14 return runTest(() {
15 expectAsync(() { 15 expectAsync(() {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 caughtError = true; 319 caughtError = true;
320 } 320 }
321 }).then((liveTest) { 321 }).then((liveTest) {
322 expectTestFailed(liveTest, 'oh no'); 322 expectTestFailed(liveTest, 'oh no');
323 expect(returnValue, isNull); 323 expect(returnValue, isNull);
324 expect(caughtError, isFalse); 324 expect(caughtError, isFalse);
325 }); 325 });
326 }); 326 });
327 }); 327 });
328 } 328 }
OLDNEW
« no previous file with comments | « test/engine_test.dart ('k') | test/invoker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698