diff options
author | Chase Douglas <chase.douglas@ubuntu.com> | 2011-12-07 12:38:04 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@ubuntu.com> | 2011-12-07 12:38:04 -0800 |
commit | 3aea1bbbbb7f7ab8a76cdbfc110fa9c5ed14ae25 (patch) | |
tree | 8f6b4071d8873e9d71abea4a0bff914a7d817222 /include | |
parent | 4f083dd6a3ea2473913d23aecf4d06f664f95bce (diff) |
Add server executable path option so one can test different servers
Also, fix issues with the main option parsing code.
Diffstat (limited to 'include')
-rw-r--r-- | include/xorg/gtest/environment.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xorg/gtest/environment.h b/include/xorg/gtest/environment.h index 414ff4b..2384c13 100644 --- a/include/xorg/gtest/environment.h +++ b/include/xorg/gtest/environment.h @@ -37,7 +37,8 @@ namespace testing { */ class Environment : public ::testing::Environment { public: - Environment(const std::string& pathToConf, int display = 133); + Environment(const std::string& path_to_conf, + const std::string& path_to_server = "Xorg", int display = 133); ~Environment(); virtual void SetUp(); |