Subversion Repositories tpanel

Rev

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

Rev 343 Rev 348
Line 46... Line 46...
46
bool __success{false};              // TRUE indicates a successful test
46
bool __success{false};              // TRUE indicates a successful test
47
bool __done{false};                 // TRUE marks a test case as done
47
bool __done{false};                 // TRUE marks a test case as done
48
bool _test_screen{false};           // TRUE: The graphical part of a test case is done.
48
bool _test_screen{false};           // TRUE: The graphical part of a test case is done.
49
bool _testmode{false};              // TRUE: Test mode is active. Activated by command line.
49
bool _testmode{false};              // TRUE: Test mode is active. Activated by command line.
50
bool _run_test_ready{false};        // TRUE: The test cases are allowd to start.
50
bool _run_test_ready{false};        // TRUE: The test cases are allowd to start.
-
 
51
bool _block_screen{false};          // TRUE: The _test_screen is not set.
51
string gLastCommand;                // The last command to be tested.
52
string gLastCommand;                // The last command to be tested.
52
_TestMode *_gTestMode{nullptr};     // Pointer to class _TestMode. This class must exist only once!
53
_TestMode *_gTestMode{nullptr};     // Pointer to class _TestMode. This class must exist only once!
53
 
54
 
54
extern amx::TAmxNet *gAmxNet;
55
extern amx::TAmxNet *gAmxNet;
55
 
56
 
Line 217... Line 218...
217
                    mCaseNumber++;
218
                    mCaseNumber++;
218
                    inform("\x1b[1;37mCase " + intToString(mCaseNumber) + "\x1b[0m: \x1b[0;33m" + tcmd.command + "\x1b[0m");
219
                    inform("\x1b[1;37mCase " + intToString(mCaseNumber) + "\x1b[0m: \x1b[0;33m" + tcmd.command + "\x1b[0m");
219
                    __done = false;
220
                    __done = false;
220
                    __success = false;
221
                    __success = false;
221
                    _test_screen = false;
222
                    _test_screen = false;
-
 
223
                    _block_screen = false;
222
                    inject(port, tcmd.command);
224
                    inject(port, tcmd.command);
223
 
225
 
224
                    if (!tcmd.nowait)
226
                    if (!tcmd.nowait)
225
                        testSuccess(tcmd);
227
                        testSuccess(tcmd);
226
                    else
228
                    else