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

Side by Side Diff: pkg/scheduled_test/test/scheduled_test/current_schedule_state_test.dart

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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 import 'dart:async';
6 import 'dart:io';
7
8 import 'package:scheduled_test/scheduled_test.dart'; 5 import 'package:scheduled_test/scheduled_test.dart';
9 6
10 import '../metatest.dart'; 7 import '../metatest.dart';
11 import '../utils.dart'; 8 import '../utils.dart';
12 9
13 void main() { 10 void main() {
14 setUpTimeout(); 11 setUpTimeout();
15 12
16 expectTestsPass('currentSchedule.state starts out as SET_UP', () { 13 expectTestsPass('currentSchedule.state starts out as SET_UP', () {
17 test('test', () { 14 test('test', () {
(...skipping 17 matching lines...) Expand all
35 var oldSchedule; 32 var oldSchedule;
36 test('test 1', () { 33 test('test 1', () {
37 oldSchedule = currentSchedule; 34 oldSchedule = currentSchedule;
38 }); 35 });
39 36
40 test('test 2', () { 37 test('test 2', () {
41 expect(oldSchedule.state, equals(ScheduleState.DONE)); 38 expect(oldSchedule.state, equals(ScheduleState.DONE));
42 }); 39 });
43 }); 40 });
44 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698