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

Unified Diff: net/test/test_server.h

Issue 9545019: Add "run_testserver --sync-test" for easy chromiumsync_test.py launching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retreat to run_testserver Created 8 years, 9 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 | « no previous file | net/test/test_server.cc » ('j') | net/test/test_server.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server.h
diff --git a/net/test/test_server.h b/net/test/test_server.h
index 6e5eb606bd51b2e011f42f982c6be92b31eb5beb..a656d0e1ab7b1ab9cc178cfa2551c52b504d2c29 100644
--- a/net/test/test_server.h
+++ b/net/test/test_server.h
@@ -147,12 +147,15 @@ class TestServer {
const std::vector<StringPair>& text_to_replace,
std::string* replacement_path);
+ // Modify PYTHONPATH to contain libraries we need.
+ static bool SetPythonPath() WARN_UNUSED_RESULT;
+
+ // Return the path containing testserver python script.
+ static FilePath GetTestServerDirectory();
+
private:
void Init(const std::string& host, const FilePath& document_root);
- // Modify PYTHONPATH to contain libraries we need.
- bool SetPythonPath() WARN_UNUSED_RESULT;
-
// Launches the Python test server. Returns true on success.
bool LaunchPython(const FilePath& testserver_path) WARN_UNUSED_RESULT;
« no previous file with comments | « no previous file | net/test/test_server.cc » ('j') | net/test/test_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698