Drag[en]gine Script Module DragonScript  1.23
Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase Class Reference

Test case renderer . More...

Inheritance diagram for Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase:

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. More...
 
void addTestSuite (TestSuite suite)
 Add test suite. More...
 
Widget createRenderer (ListBox listBox)
 
void dispose ()
 Dispose of window. More...
 
Console getConsole ()
 Console. More...
 
String getLogFilePath ()
 Filename for test run to write log file to or empty string to not write log file. More...
 
BaseGameApp getTestGameApp ()
 Game application for use by test suited. More...
 
LERTestCase new ()
 
LERTestCase new (Console console, Desktop desktop)
 Create window. More...
 
void onTestCaseChanged (TestCase testCase)
 Test case changed. More...
 
void onTestCasesChanged ()
 All test cases changed. More...
 
void removeAllTestSuites ()
 Remove all test suites. More...
 
void removeTestSuite (TestSuite suite)
 Remove test suite. More...
 
void selectTestCase (TestCase testCase)
 Select test case. More...
 
void startTesting ()
 Start testing. More...
 

Protected Member Functions

void createContent ()
 Create window content. More...
 
BaseGameApp createTestGameApp ()
 Create test game application instance. More...
 

Detailed Description

Test case renderer .

Member Function Documentation

◆ addLogs()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.addLogs ( String  text)

Add text to logs.

◆ addTestSuite()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.addTestSuite ( TestSuite  suite)

Add test suite.

◆ createContent()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.createContent ( )
protected

Create window content.

◆ createRenderer()

Widget Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.createRenderer ( ListBox  listBox)

◆ createTestGameApp()

BaseGameApp Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.createTestGameApp ( )
protected

Create test game application instance.

Version
1.19

Default implementation creates instance of TestGameApp.

◆ dispose()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.dispose ( )

Dispose of window.

◆ getConsole()

Console Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getConsole ( )

Console.

◆ getLogFilePath()

String Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getLogFilePath ( )

Filename for test run to write log file to or empty string to not write log file.

Version
1.12

Default implementation returs path "/testresults/{timestamp}".

◆ getTestGameApp()

BaseGameApp Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.getTestGameApp ( )

Game application for use by test suited.

◆ new() [1/2]

LERTestCase Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.new ( )

◆ new() [2/2]

LERTestCase Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.new ( Console  console,
Desktop  desktop 
)

Create window.

◆ onTestCaseChanged()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.onTestCaseChanged ( TestCase  testCase)

Test case changed.

◆ onTestCasesChanged()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.onTestCasesChanged ( )

All test cases changed.

◆ removeAllTestSuites()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.removeAllTestSuites ( )

Remove all test suites.

◆ removeTestSuite()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.removeTestSuite ( TestSuite  suite)

Remove test suite.

◆ selectTestCase()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.selectTestCase ( TestCase  testCase)

Select test case.

◆ startTesting()

void Dragengine.TestSystem.WindowTesting.LERTestSuite.LERTestCase.startTesting ( )

Start testing.


The documentation for this class was generated from the following file: