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

Unified Diff: test/frontend/matcher/completion_test.dart

Issue 1088453004: Move browser tests that require installation into their own files. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/frontend/expect_async_test.dart ('k') | test/frontend/matcher/prints_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/frontend/matcher/completion_test.dart
diff --git a/test/frontend/matcher/completion_test.dart b/test/frontend/matcher/completion_test.dart
index 5add40eb405f79055356ff110b9bee629b1d1bed..c36c473c17974ee0f8558f9a2ab91a0b24f19567 100644
--- a/test/frontend/matcher/completion_test.dart
+++ b/test/frontend/matcher/completion_test.dart
@@ -19,7 +19,7 @@ void main() {
});
test("with an error", () {
- return runTest(() {
+ return runTestBody(() {
expect(new Future.error('X'), completes);
}).then((liveTest) {
expectTestFailed(liveTest, startsWith(
@@ -28,7 +28,7 @@ void main() {
});
test("with a failure", () {
- return runTest(() {
+ return runTestBody(() {
expect(new Future.error(new TestFailure('oh no')), completes);
}).then((liveTest) {
expectTestFailed(liveTest, "oh no");
@@ -36,7 +36,7 @@ void main() {
});
test("with a non-function", () {
- return runTest(() {
+ return runTestBody(() {
expect(10, completes);
}).then((liveTest) {
expectTestFailed(liveTest,
@@ -60,7 +60,7 @@ void main() {
});
test("with an error", () {
- return runTest(() {
+ return runTestBody(() {
expect(new Future.error('X'), completion(isNull));
}).then((liveTest) {
expectTestFailed(liveTest, startsWith(
@@ -69,7 +69,7 @@ void main() {
});
test("with a failure", () {
- return runTest(() {
+ return runTestBody(() {
expect(new Future.error(new TestFailure('oh no')), completion(isNull));
}).then((liveTest) {
expectTestFailed(liveTest, "oh no");
@@ -77,7 +77,7 @@ void main() {
});
test("with a non-function", () {
- return runTest(() {
+ return runTestBody(() {
expect(10, completion(equals(10)));
}).then((liveTest) {
expectTestFailed(liveTest,
@@ -87,7 +87,7 @@ void main() {
});
test("with an incorrect value", () {
- return runTest(() {
+ return runTestBody(() {
expect(new Future.value('a'), completion(equals('b')));
}).then((liveTest) {
expectTestFailed(liveTest, startsWith(
« no previous file with comments | « test/frontend/expect_async_test.dart ('k') | test/frontend/matcher/prints_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698