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

Side by Side Diff: mojo/dart/unittests/embedder_tester/dart_test.cc

Issue 1545483003: Dart: Reorganize files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix build file Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/dart/embedder/test/dart_test.h" 5 #include "mojo/dart/unittests/embedder_tester/dart_test.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "mojo/dart/embedder/dart_controller.h" 11 #include "mojo/dart/embedder/dart_controller.h"
12 #include "mojo/public/c/system/types.h" 12 #include "mojo/public/c/system/types.h"
13 #include "mojo/public/cpp/environment/environment.h" 13 #include "mojo/public/cpp/environment/environment.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 bool success = DartController::RunDartScript(config); 58 bool success = DartController::RunDartScript(config);
59 EXPECT_TRUE(success) << error; 59 EXPECT_TRUE(success) << error;
60 EXPECT_EQ(expect_unhandled_exception, unhandled_exception); 60 EXPECT_EQ(expect_unhandled_exception, unhandled_exception);
61 EXPECT_EQ(expected_unclosed_handles, closed_handles); 61 EXPECT_EQ(expected_unclosed_handles, closed_handles);
62 } 62 }
63 63
64 } // namespace dart 64 } // namespace dart
65 } // namespace mojo 65 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/dart/unittests/embedder_tester/dart_test.h ('k') | mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698