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

Side by Side Diff: mojo/apps/js/test/js_to_cpp_unittest.cc

Issue 623883002: Revert "Move mojo edk into mojo/edk" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/apps/js/test/BUILD.gn ('k') | mojo/common/BUILD.gn » ('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/at_exit.h" 5 #include "base/at_exit.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/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "gin/array_buffer.h" 12 #include "gin/array_buffer.h"
13 #include "gin/public/isolate_holder.h" 13 #include "gin/public/isolate_holder.h"
14 #include "mojo/apps/js/mojo_runner_delegate.h" 14 #include "mojo/apps/js/mojo_runner_delegate.h"
15 #include "mojo/apps/js/test/js_to_cpp.mojom.h" 15 #include "mojo/apps/js/test/js_to_cpp.mojom.h"
16 #include "mojo/common/common_type_converters.h" 16 #include "mojo/common/common_type_converters.h"
17 #include "mojo/edk/test/test_utils.h" 17 #include "mojo/common/test/test_utils.h"
18 #include "mojo/public/cpp/system/core.h" 18 #include "mojo/public/cpp/system/core.h"
19 #include "mojo/public/cpp/system/macros.h" 19 #include "mojo/public/cpp/system/macros.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace js { 23 namespace js {
24 24
25 // Global value updated by some checks to prevent compilers from optimizing 25 // Global value updated by some checks to prevent compilers from optimizing
26 // reads out of existence. 26 // reads out of existence.
27 uint32 g_waste_accumulator = 0; 27 uint32 g_waste_accumulator = 0;
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 if (IsRunningOnIsolatedBot()) 449 if (IsRunningOnIsolatedBot())
450 return; 450 return;
451 451
452 BackPointerCppSideConnection cpp_side_connection; 452 BackPointerCppSideConnection cpp_side_connection;
453 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection); 453 RunTest("mojo/apps/js/test/js_to_cpp_unittest", &cpp_side_connection);
454 EXPECT_TRUE(cpp_side_connection.DidSucceed()); 454 EXPECT_TRUE(cpp_side_connection.DidSucceed());
455 } 455 }
456 456
457 } // namespace js 457 } // namespace js
458 } // namespace mojo 458 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/apps/js/test/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698