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

Side by Side Diff: services/js/system/tests/js_to_cpp_tests.cc

Issue 1424113002: Remove yet more unneeded //mojo/edk/test:test_support dependencies. (Closed) Base URL: https://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 | « services/js/system/tests/BUILD.gn ('k') | no next file » | 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.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 "gin/array_buffer.h" 11 #include "gin/array_buffer.h"
12 #include "gin/public/isolate_holder.h" 12 #include "gin/public/isolate_holder.h"
13 #include "mojo/edk/test/test_utils.h"
14 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
15 #include "mojo/public/cpp/system/core.h" 14 #include "mojo/public/cpp/system/core.h"
16 #include "mojo/public/cpp/system/macros.h"
17 #include "services/js/system/mojo_runner_delegate.h" 15 #include "services/js/system/mojo_runner_delegate.h"
18 #include "services/js/system/tests/js_to_cpp.mojom.h" 16 #include "services/js/system/tests/js_to_cpp.mojom.h"
19 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
20 18
21 namespace mojo { 19 namespace mojo {
22 namespace js { 20 namespace js {
23 21
24 // Global value updated by some checks to prevent compilers from optimizing 22 // Global value updated by some checks to prevent compilers from optimizing
25 // reads out of existence. 23 // reads out of existence.
26 uint32_t g_waste_accumulator = 0; 24 uint32_t g_waste_accumulator = 0;
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 } 415 }
418 416
419 TEST_F(JsToCppTest, BackPointer) { 417 TEST_F(JsToCppTest, BackPointer) {
420 BackPointerCppSideConnection cpp_side_connection; 418 BackPointerCppSideConnection cpp_side_connection;
421 RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection); 419 RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection);
422 EXPECT_TRUE(cpp_side_connection.DidSucceed()); 420 EXPECT_TRUE(cpp_side_connection.DidSucceed());
423 } 421 }
424 422
425 } // namespace js 423 } // namespace js
426 } // namespace mojo 424 } // namespace mojo
OLDNEW
« no previous file with comments | « services/js/system/tests/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698