aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestHelper.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-08-12 22:53:02 +0800
committerGitHub <noreply@github.com>2016-08-12 22:53:02 +0800
commit230c531705ff656dac9fca3f4c72f30363c09ca6 (patch)
tree5a894f2c2a7c8b3d1621024dce6c523621e72622 /test/TestHelper.h
parentc5203344a007c25d50cdf66ee23cb5fbdf74dae0 (diff)
parentd4799399494e0a25c0dbac1a4262fe7b2d65b46f (diff)
downloaddexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar.gz
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar.bz2
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar.lz
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar.xz
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.tar.zst
dexon-solidity-230c531705ff656dac9fca3f4c72f30363c09ca6.zip
Merge pull request #837 from chriseth/testsuitecleanup
Cleanup of test runner.
Diffstat (limited to 'test/TestHelper.h')
-rw-r--r--test/TestHelper.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/test/TestHelper.h b/test/TestHelper.h
index 49931614..2cb24fd7 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;
+
+ static Options const& get();
+
+private:
+ Options();
+};
- private:
- Options(int argc, char** argv = 0);
- Options(Options const&) = delete;
- };
}
}