From 5925ae0c6a32517f3b19b095e3ed8518d021f2e7 Mon Sep 17 00:00:00 2001 From: Dmitry K Date: Tue, 2 Aug 2016 19:32:03 +0300 Subject: Windows pipe for soltest --- test/TestHelper.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/TestHelper.h') 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; + }; } } -- cgit