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

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

Issue 851173002: Dart: Encode/Decode handle and interface types. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix Interface encode parameters Created 5 years, 11 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 | « mojo/dart/embedder/test/dart_to_cpp_tests.dart ('k') | mojo/dart/test/core_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/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "crypto/random.h" 10 #include "crypto/random.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 134
135 TEST(DartTest, interface_test) { 135 TEST(DartTest, interface_test) {
136 RunTest("interface_test.dart", false, nullptr, 0); 136 RunTest("interface_test.dart", false, nullptr, 0);
137 } 137 }
138 138
139 TEST(DartTest, bindings_generation_test) { 139 TEST(DartTest, bindings_generation_test) {
140 RunTest("bindings_generation_test.dart", false, nullptr, 0); 140 RunTest("bindings_generation_test.dart", false, nullptr, 0);
141 } 141 }
142 142
143 TEST(DartTest, sample_service_test) {
144 RunTest("sample_service_test.dart", false, nullptr, 0);
145 }
146
143 TEST(DartTest, compile_all_interfaces_test) { 147 TEST(DartTest, compile_all_interfaces_test) {
144 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0); 148 RunTest("compile_all_interfaces_test.dart", true, nullptr, 0);
145 } 149 }
146 150
147 TEST(DartTest, handle_finalizer_test) { 151 TEST(DartTest, handle_finalizer_test) {
148 const int kNumArgs = 2; 152 const int kNumArgs = 2;
149 const char* args[kNumArgs]; 153 const char* args[kNumArgs];
150 args[0] = "--new-gen-semi-max-size=1"; 154 args[0] = "--new-gen-semi-max-size=1";
151 args[1] = "--old_gen_growth_rate=1"; 155 args[1] = "--old_gen_growth_rate=1";
152 RunTest("handle_finalizer_test.dart", false, args, kNumArgs); 156 RunTest("handle_finalizer_test.dart", false, args, kNumArgs);
153 } 157 }
154 158
155 } // namespace 159 } // namespace
156 } // namespace dart 160 } // namespace dart
157 } // namespace mojo 161 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/dart/embedder/test/dart_to_cpp_tests.dart ('k') | mojo/dart/test/core_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698