Subversion Repositories tpanel

Rev

Rev 330 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 330 Rev 331
Line 48... Line 48...
48
        typedef struct _TESTCMD
48
        typedef struct _TESTCMD
49
        {
49
        {
50
            std::string command;    // The command to execute
50
            std::string command;    // The command to execute
51
            std::string result;     // The expected result
51
            std::string result;     // The expected result
52
            bool compare{false};    // TRUE: Compare expected result with real result
52
            bool compare{false};    // TRUE: Compare expected result with real result
-
 
53
            bool nowait{false};     // TRUE: Don't wait until the command finished (no compare!)
53
        }_TESTCMD;
54
        }_TESTCMD;
54
 
55
 
55
        void inject(int port, const std::string& c);
56
        void inject(int port, const std::string& c);
56
        void testSuccess(_TESTCMD& tc);
57
        void testSuccess(_TESTCMD& tc);
57
        void start();
58
        void start();