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

Side by Side Diff: lib/unittest.dart

Issue 1523143002: Fix an incorrect use of @deprecated. (Closed) Base URL: git@github.com:dart-lang/old_unittest@master
Patch Set: Created 5 years 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 | « CHANGELOG.md ('k') | pubspec.yaml » ('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 @deprecated( 5 @Deprecated(
6 'The "unittest" package is deprecated. Use the "test" package instead.') 6 'The "unittest" package is deprecated. Use the "test" package instead.')
7 library unittest; 7 library unittest;
8 8
9 import 'src/configuration.dart'; 9 import 'src/configuration.dart';
10 import 'src/test_case.dart'; 10 import 'src/test_case.dart';
11 11
12 export 'package:test/test.dart'; 12 export 'package:test/test.dart';
13 13
14 export 'src/configuration.dart'; 14 export 'src/configuration.dart';
15 export 'src/simple_configuration.dart'; 15 export 'src/simple_configuration.dart';
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void setSoloTest(int id) {} 80 void setSoloTest(int id) {}
81 81
82 @deprecated 82 @deprecated
83 void enableTest(int id) {} 83 void enableTest(int id) {}
84 84
85 @deprecated 85 @deprecated
86 void disableTest(int id) {} 86 void disableTest(int id) {}
87 87
88 @deprecated 88 @deprecated
89 withTestEnvironment(callback()) => callback(); 89 withTestEnvironment(callback()) => callback();
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698