aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestHelper.h
diff options
context:
space:
mode:
authorDmitry K <winsvega@mail.ru>2016-08-03 00:32:03 +0800
committerDmitry K <winsvega@mail.ru>2016-08-03 00:32:03 +0800
commit5925ae0c6a32517f3b19b095e3ed8518d021f2e7 (patch)
tree117140938964c4b555856ae340d907e917e4efbb /test/TestHelper.h
parenta10b6f92f97bf2eacc80534f6640e08f0b26e95d (diff)
downloaddexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.tar.gz
dexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.tar.zst
dexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.zip
Windows pipe for soltest
Diffstat (limited to 'test/TestHelper.h')
-rw-r--r--test/TestHelper.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/TestHelper.h b/test/TestHelper.h
index 2d08d62c..49931614 100644
--- a/test/TestHelper.h
+++ b/test/TestHelper.h
@@ -102,5 +102,20 @@ 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);
+
+ private:
+ Options(int argc, char** argv = 0);
+ Options(Options const&) = delete;
+ };
}
}