diff options
author | chriseth <c@ethdev.com> | 2016-08-06 17:37:52 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-08-12 21:11:30 +0800 |
commit | 1bc0320811ef2b213bda0629b702bffae5e2f925 (patch) | |
tree | e3b2eaaa5eed840569d0ccf8445e85de05e258b8 /test/TestHelper.h | |
parent | 0d894a6832d21ba68f0f3d2fea66c8f4efc45815 (diff) | |
download | dexon-solidity-1bc0320811ef2b213bda0629b702bffae5e2f925.tar.gz dexon-solidity-1bc0320811ef2b213bda0629b702bffae5e2f925.tar.zst dexon-solidity-1bc0320811ef2b213bda0629b702bffae5e2f925.zip |
Cleanup of test suite init.
Diffstat (limited to 'test/TestHelper.h')
-rw-r--r-- | test/TestHelper.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/test/TestHelper.h b/test/TestHelper.h index 49931614..beb081cd 100644 --- a/test/TestHelper.h +++ b/test/TestHelper.h @@ -103,19 +103,15 @@ namespace test while (0) - class Options - { - public: - std::string ipcPath; - int tArgc; - char **tArgv; - /// Get reference to options - /// The first time used, options are parsed with argc, argv - static Options const& get(int argc = 0, char** argv = 0); +struct Options: boost::noncopyable +{ + std::string ipcPath; + + Options const& get(); + +private: + Options(); +}; - private: - Options(int argc, char** argv = 0); - Options(Options const&) = delete; - }; } } |