Fixed some coding style issues. Review: https://reviews.apache.org/r/57719/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7f756d7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e7f756d7 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e7f756d7 Branch: refs/heads/master Commit: e7f756d75f77a57893be926ac4c19389b70c5bbf Parents: b61cab7 Author: Avinash sridharan <[email protected]> Authored: Sun Mar 19 09:09:15 2017 -0700 Committer: Jie Yu <[email protected]> Committed: Sun Mar 19 09:09:15 2017 -0700 ---------------------------------------------------------------------- src/tests/utils.cpp | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/e7f756d7/src/tests/utils.cpp ---------------------------------------------------------------------- diff --git a/src/tests/utils.cpp b/src/tests/utils.cpp index 3190daa..4109b8f 100644 --- a/src/tests/utils.cpp +++ b/src/tests/utils.cpp @@ -103,6 +103,7 @@ string getModulePath(const string& name) return path::join(path, os::libraries::expandName(name)); } + string getLibMesosPath() { string path = path::join( @@ -118,6 +119,7 @@ string getLibMesosPath() return path; } + string getLauncherDir() { string path = path::join(tests::flags.build_dir, "src"); @@ -129,6 +131,7 @@ string getLauncherDir() return path; } + string getTestHelperPath(const string& name) { string path = path::join(tests::flags.build_dir, "src", name); @@ -140,6 +143,7 @@ string getTestHelperPath(const string& name) return path; } + string getTestHelperDir() { string path = path::join(tests::flags.build_dir, "src"); @@ -151,6 +155,7 @@ string getTestHelperDir() return path; } + string getTestScriptPath(const string& name) { string path = path::join(flags.source_dir, "src", "tests", name); @@ -162,6 +167,7 @@ string getTestScriptPath(const string& name) return path; } + string getSbinDir() { string path = path::join(tests::flags.build_dir, "src"); @@ -173,6 +179,7 @@ string getSbinDir() return path; } + string getWebUIDir() { string path = path::join(flags.source_dir, "src", "webui");
