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

Side by Side Diff: mojo/edk/js/tests/js_to_cpp_tests.cc

Issue 2645873003: Cleanup mojo-js tests. (Closed)
Patch Set: more deps fixes Created 3 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/edk/js/tests/interface_ptr_tests.js ('k') | mojo/edk/js/tests/run_js_unittests.cc » ('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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "gin/array_buffer.h" 19 #include "gin/array_buffer.h"
20 #include "gin/public/isolate_holder.h" 20 #include "gin/public/isolate_holder.h"
21 #include "gin/v8_initializer.h" 21 #include "gin/v8_initializer.h"
22 #include "mojo/common/data_pipe_utils.h" 22 #include "mojo/common/data_pipe_utils.h"
23 #include "mojo/edk/js/mojo_runner_delegate.h" 23 #include "mojo/edk/js/mojo_runner_delegate.h"
24 #include "mojo/edk/js/tests/js_to_cpp.mojom.h" 24 #include "mojo/edk/js/tests/js_to_cpp.mojom.h"
25 #include "mojo/edk/test/test_utils.h"
26 #include "mojo/public/cpp/bindings/binding.h" 25 #include "mojo/public/cpp/bindings/binding.h"
27 #include "mojo/public/cpp/bindings/lib/validation_errors.h" 26 #include "mojo/public/cpp/bindings/lib/validation_errors.h"
28 #include "mojo/public/cpp/system/core.h" 27 #include "mojo/public/cpp/system/core.h"
29 #include "testing/gtest/include/gtest/gtest.h" 28 #include "testing/gtest/include/gtest/gtest.h"
30 29
31 namespace mojo { 30 namespace mojo {
32 namespace edk { 31 namespace edk {
33 namespace js { 32 namespace js {
34 33
35 // Global value updated by some checks to prevent compilers from optimizing 34 // Global value updated by some checks to prevent compilers from optimizing
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 mojo::internal::ScopedSuppressValidationErrorLoggingForTests log_suppression; 447 mojo::internal::ScopedSuppressValidationErrorLoggingForTests log_suppression;
449 448
450 BackPointerCppSideConnection cpp_side_connection; 449 BackPointerCppSideConnection cpp_side_connection;
451 RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection); 450 RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection);
452 EXPECT_TRUE(cpp_side_connection.DidSucceed()); 451 EXPECT_TRUE(cpp_side_connection.DidSucceed());
453 } 452 }
454 453
455 } // namespace js 454 } // namespace js
456 } // namespace edk 455 } // namespace edk
457 } // namespace mojo 456 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/js/tests/interface_ptr_tests.js ('k') | mojo/edk/js/tests/run_js_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698