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

Unified Diff: services/js/system/tests/js_to_cpp_tests.cc

Issue 1374023002: Move JS support code from //mojo/edk/js to //services/js/system (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « services/js/system/tests/js_to_cpp.mojom ('k') | services/js/system/tests/js_to_cpp_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/system/tests/js_to_cpp_tests.cc
diff --git a/mojo/edk/js/tests/js_to_cpp_tests.cc b/services/js/system/tests/js_to_cpp_tests.cc
similarity index 96%
rename from mojo/edk/js/tests/js_to_cpp_tests.cc
rename to services/js/system/tests/js_to_cpp_tests.cc
index 0578afd1d6a839a09fb1740e26be6b8a0c0d96f2..cc707c8f9c2f7500cd23eb1207b69c48a61dc7fa 100644
--- a/mojo/edk/js/tests/js_to_cpp_tests.cc
+++ b/services/js/system/tests/js_to_cpp_tests.cc
@@ -10,12 +10,12 @@
#include "base/run_loop.h"
#include "gin/array_buffer.h"
#include "gin/public/isolate_holder.h"
-#include "mojo/edk/js/mojo_runner_delegate.h"
-#include "mojo/edk/js/tests/js_to_cpp.mojom.h"
#include "mojo/edk/test/test_utils.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/system/core.h"
#include "mojo/public/cpp/system/macros.h"
+#include "services/js/system/mojo_runner_delegate.h"
+#include "services/js/system/tests/js_to_cpp.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
@@ -400,25 +400,25 @@ class JsToCppTest : public testing::Test {
TEST_F(JsToCppTest, Ping) {
PingCppSideConnection cpp_side_connection;
- RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection);
+ RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection);
EXPECT_TRUE(cpp_side_connection.DidSucceed());
}
TEST_F(JsToCppTest, Echo) {
EchoCppSideConnection cpp_side_connection;
- RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection);
+ RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection);
EXPECT_TRUE(cpp_side_connection.DidSucceed());
}
TEST_F(JsToCppTest, BitFlip) {
BitFlipCppSideConnection cpp_side_connection;
- RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection);
+ RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection);
EXPECT_TRUE(cpp_side_connection.DidSucceed());
}
TEST_F(JsToCppTest, BackPointer) {
BackPointerCppSideConnection cpp_side_connection;
- RunTest("mojo/edk/js/tests/js_to_cpp_tests", &cpp_side_connection);
+ RunTest("services/js/system/tests/js_to_cpp_tests", &cpp_side_connection);
EXPECT_TRUE(cpp_side_connection.DidSucceed());
}
« no previous file with comments | « services/js/system/tests/js_to_cpp.mojom ('k') | services/js/system/tests/js_to_cpp_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698