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

Unified Diff: mojo/dart/embedder/test/run_dart_tests.cc

Issue 996923003: Dart: Better handle leak checks. close() is async. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge Created 5 years, 9 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 | « mojo/dart/embedder/mojo_natives.cc ('k') | mojo/dart/embedder/test/validation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/test/run_dart_tests.cc
diff --git a/mojo/dart/embedder/test/run_dart_tests.cc b/mojo/dart/embedder/test/run_dart_tests.cc
index d4cbb26d95c38f380271d55b20482a532cad55d4..5f9ed0665176543f7bdbba9b4f237b59e3dd6267 100644
--- a/mojo/dart/embedder/test/run_dart_tests.cc
+++ b/mojo/dart/embedder/test/run_dart_tests.cc
@@ -51,7 +51,11 @@ static void RunTest(const std::string& test,
char* error = NULL;
bool unhandled_exception = false;
DartControllerConfig config;
+#if defined(DEBUG)
config.strict_compilation = true;
+#else
+ config.strict_compilation = false;
+#endif
config.script = source;
config.script_uri = path.AsUTF8Unsafe();
config.package_root = package_root.AsUTF8Unsafe();
@@ -121,10 +125,6 @@ TEST(DartTest, handle_watcher_test) {
RunTest("handle_watcher_test.dart", false, nullptr, 0);
}
-TEST(DartTest, interface_test) {
- RunTest("interface_test.dart", false, nullptr, 0);
-}
-
TEST(DartTest, bindings_generation_test) {
RunTest("bindings_generation_test.dart", false, nullptr, 0);
}
« no previous file with comments | « mojo/dart/embedder/mojo_natives.cc ('k') | mojo/dart/embedder/test/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698