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

Side by Side Diff: mojo/dart/embedder/test/run_dart_tests.cc

Issue 1414483010: Dart: Use a RawReceivePort to receive events for Mojo handles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « mojo/dart/embedder/io/socket_patch.dart ('k') | mojo/dart/test/bindings_generation_test.dart » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/rand_util.h" 8 #include "base/rand_util.h"
9 #include "mojo/dart/embedder/dart_controller.h" 9 #include "mojo/dart/embedder/dart_controller.h"
10 #include "mojo/public/c/system/types.h" 10 #include "mojo/public/c/system/types.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 } 110 }
111 111
112 TEST(DartTest, core_test) { 112 TEST(DartTest, core_test) {
113 RunTest("core_test.dart"); 113 RunTest("core_test.dart");
114 } 114 }
115 115
116 TEST(DartTest, codec_test) { 116 TEST(DartTest, codec_test) {
117 RunTest("codec_test.dart"); 117 RunTest("codec_test.dart");
118 } 118 }
119 119
120 TEST(DartTest, handle_watcher_test) {
121 RunTest("handle_watcher_test.dart");
122 }
123
124 TEST(DartTest, bindings_generation_test) { 120 TEST(DartTest, bindings_generation_test) {
125 RunTest("bindings_generation_test.dart"); 121 RunTest("bindings_generation_test.dart");
126 } 122 }
127 123
128 TEST(DartTest, compile_all_interfaces_test) { 124 TEST(DartTest, compile_all_interfaces_test) {
129 const char* args[] = { "--compile_all" }; 125 const char* args[] = { "--compile_all" };
130 RunTest("compile_all_interfaces_test.dart", &args[0], 1); 126 RunTest("compile_all_interfaces_test.dart", &args[0], 1);
131 } 127 }
132 128
133 TEST(DartTest, uri_base_test) { 129 TEST(DartTest, uri_base_test) {
(...skipping 16 matching lines...) Expand all
150 RunTest("handle_finalizer_test.dart", args, kNumArgs); 146 RunTest("handle_finalizer_test.dart", args, kNumArgs);
151 } 147 }
152 148
153 TEST(DartTest, unhandled_exception_test) { 149 TEST(DartTest, unhandled_exception_test) {
154 RunTest("unhandled_exception_test.dart", nullptr, 0, true, 2); 150 RunTest("unhandled_exception_test.dart", nullptr, 0, true, 2);
155 } 151 }
156 152
157 } // namespace 153 } // namespace
158 } // namespace dart 154 } // namespace dart
159 } // namespace mojo 155 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/dart/embedder/io/socket_patch.dart ('k') | mojo/dart/test/bindings_generation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698