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

Side by Side Diff: pkg/unittest/test/unittest_skipped_soloed_nested_test.dart

Issue 145403005: pkg/unittest: formatter spin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review nits Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library unittestTest; 5 library unittestTest;
6 import 'dart:isolate'; 6 import 'dart:isolate';
7 import 'dart:async'; 7 import 'dart:async';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 9
10 part 'unittest_test_utils.dart'; 10 part 'unittest_test_utils.dart';
11 11
12 var testName = 'skipped/soloed nested groups with setup/teardown'; 12 var testName = 'skipped/soloed nested groups with setup/teardown';
13 13
14 var testFunction = (_) { 14 var testFunction = (_) {
15 StringBuffer s = null; 15 StringBuffer s = null;
16 setUp(() { 16 setUp(() {
17 if (s == null) 17 if (s == null) s = new StringBuffer();
18 s = new StringBuffer();
19 }); 18 });
20 test('top level', () { 19 test('top level', () {
21 s.write('A'); 20 s.write('A');
22 }); 21 });
23 skip_test('skipped top level', () { 22 skip_test('skipped top level', () {
24 s.write('B'); 23 s.write('B');
25 }); 24 });
26 skip_group('skipped top level group', () { 25 skip_group('skipped top level group', () {
27 setUp(() { 26 setUp(() {
28 s.write('C'); 27 s.write('C');
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 67
69 var expected = buildStatusString(6, 0, 0, 68 var expected = buildStatusString(6, 0, 0,
70 'non-solo group solo_test in non-solo group::' 69 'non-solo group solo_test in non-solo group::'
71 'solo group solo group non-solo test::' 70 'solo group solo group non-solo test::'
72 'solo group solo group solo test::' 71 'solo group solo group solo test::'
73 'solo group nested non-solo group in solo group nested non-' 72 'solo group nested non-solo group in solo group nested non-'
74 'solo group non-solo test::' 73 'solo group non-solo test::'
75 'solo group nested non-solo group in solo' 74 'solo group nested non-solo group in solo'
76 ' group nested non-solo group solo test::' 75 ' group nested non-solo group solo test::'
77 'final'); 76 'final');
OLDNEW
« no previous file with comments | « pkg/unittest/test/unittest_completion_test.dart ('k') | pkg/unittest/test/unittest_test_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698