|
Drag[en]gine Script Module DragonScript 1.35
|
Test case renderer . More...
Classes | |
| class | LogConsoleListener |
| Test runner listener logging to console. More... | |
| class | LogFileListener |
| Test runner listener logging to file. More... | |
| class | ShowTestResultDirectory |
| Show test result directory action. More... | |
| class | StartTestingAll |
| Start running tests action. More... | |
| class | StartTestingSelected |
| Start running tests action. More... | |
| class | StopTesting |
| Stop running tests action. More... | |
| class | UpdateUIListener |
| Test runner listener updating window representation. More... | |
Public Member Functions | |
| void | addLogs (String text) |
| Add text to logs. | |
| void | addTestSuite (TestSuite suite) |
| Add test suite. | |
| Widget | createRenderer (ListBox listBox) |
| void | dispose () |
| Dispose of window. | |
| Console | getConsole () |
| Console. | |
| String | getLogFilePath () |
| Filename for test run to write log file to or empty string to not write log file. | |
| BaseGameApp | getTestGameApp () |
| Game application for use by test suited. | |
| LERTestCase | new () |
| LERTestCase | new (Console console, Desktop desktop) |
| Create window. | |
| void | onTestCaseChanged (TestCase testCase) |
| Test case changed. | |
| void | onTestCasesChanged () |
| All test cases changed. | |
| void | removeAllTestSuites () |
| Remove all test suites. | |
| void | removeTestSuite (TestSuite suite) |
| Remove test suite. | |
| void | selectTestCase (TestCase testCase) |
| Select test case. | |
| void | startTesting () |
| Start testing. | |
Protected Member Functions | |
| void | createContent () |
| Create window content. | |
| BaseGameApp | createTestGameApp () |
| Create test game application instance. | |
Test case renderer .
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.addLogs | ( | String | text | ) |
Add text to logs.
References addLogs().
Referenced by addLogs(), getLogFilePath(), and onTestCaseChanged().
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.addTestSuite | ( | TestSuite | suite | ) |
Add test suite.
|
protected |
Create window content.
| Widget Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.createRenderer | ( | ListBox | listBox | ) |
|
protected |
Create test game application instance.
Default implementation creates instance of TestGameApp.
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.dispose | ( | ) |
Dispose of window.
References onTestCasesChanged().
| Console Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getConsole | ( | ) |
References onTestCasesChanged().
| String Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getLogFilePath | ( | ) |
Filename for test run to write log file to or empty string to not write log file.
Default implementation returs path "/testresults/{timestamp}".
References addLogs().
| BaseGameApp Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getTestGameApp | ( | ) |
Game application for use by test suited.
| LERTestCase Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.new | ( | ) |
Referenced by new(), and selectTestCase().
| LERTestCase Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.new | ( | Console | console, |
| Desktop | desktop ) |
Create window.
References new().
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.onTestCaseChanged | ( | TestCase | testCase | ) |
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.onTestCasesChanged | ( | ) |
All test cases changed.
Referenced by dispose(), and getConsole().
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.removeAllTestSuites | ( | ) |
Remove all test suites.
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.removeTestSuite | ( | TestSuite | suite | ) |
Remove test suite.
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.selectTestCase | ( | TestCase | testCase | ) |
| void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.startTesting | ( | ) |
Start testing.
References onTestCaseChanged(), and selectTestCase().