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

Unified Diff: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp

Issue 2920383004: Reland of Moves mojo_js_integration_tests into blink. (Closed)
Patch Set: Created 3 years, 6 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
Index: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
diff --git a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
index d0e10b613f9fb63df7122d46540f79525d16ad04..2f6d15418c3e87b05b90c80f7b5cb4f7ce50c04b 100644
--- a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
+++ b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
@@ -89,6 +89,12 @@
return FilePathToWebString(BlinkRootFilePath());
}
+String ExecutableDir() {
+ base::FilePath path;
+ base::PathService::Get(base::DIR_EXE, &path);
+ return FilePathToWebString(base::MakeAbsoluteFilePath(path));
+}
+
String WebTestDataPath(const String& relative_path) {
return FilePathToWebString(
BlinkRootFilePath()
« no previous file with comments | « third_party/WebKit/Source/platform/testing/UnitTestHelpers.h ('k') | tools/determinism/deterministic_build_whitelist.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698