mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Cleanup of test suite init.
This commit is contained in:
+9
-13
@@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user