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

Side by Side Diff: pkg/expect/lib/minitest.dart

Issue 2416853003: Move minitest.dart into the expect package. (Closed)
Patch Set: Created 4 years, 2 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 | « pkg/dev_compiler/tool/build_test_pkgs.sh ('k') | no next file » | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 /// A minimal, dependency-free emulation layer for a subset of the 5 /// A minimal, dependency-free emulation layer for a subset of the
6 /// unittest/test API used by the language and core library (especially HTML) 6 /// unittest/test API used by the language and core library (especially HTML)
7 /// tests. 7 /// tests.
8 /// 8 ///
9 /// A number of our language and core library tests were written against the 9 /// A number of our language and core library tests were written against the
10 /// unittest package, which is now deprecated in favor of the new test package. 10 /// unittest package, which is now deprecated in favor of the new test package.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 /// A wrapper around an expectation function. 173 /// A wrapper around an expectation function.
174 /// 174 ///
175 /// This function is passed the actual value and should throw an 175 /// This function is passed the actual value and should throw an
176 /// [ExpectException] if the value doesn't match the expectation. 176 /// [ExpectException] if the value doesn't match the expectation.
177 class _Expectation { 177 class _Expectation {
178 final _ExpectationFunction function; 178 final _ExpectationFunction function;
179 179
180 _Expectation(this.function); 180 _Expectation(this.function);
181 } 181 }
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/build_test_pkgs.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698