public class SimpleTestExecutorMonitor extends Object implements TestExecutorMonitor
| Constructor and Description |
|---|
SimpleTestExecutorMonitor()
Instantiates a new Simple test executor monitor.
|
SimpleTestExecutorMonitor(boolean loggingEnabled)
Instantiates a new Simple test executor monitor.
|
SimpleTestExecutorMonitor(com.hp.hpl.jena.rdf.model.Model model)
Instantiates a new Simple test executor monitor using an external Model.
|
SimpleTestExecutorMonitor(com.hp.hpl.jena.rdf.model.Model model,
boolean loggingEnabled)
Instantiates a new Simple test executor monitor.
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
getModel()
Gets model that contains the results
|
DatasetOverviewResults |
getOverviewResults()
Gets overview results.
|
void |
setExecutionType(TestCaseExecutionType executionType)
Setter for the field
executionType. |
void |
setUserID(String userID)
Setter for the field
userID. |
void |
singleTestExecuted(TestCase test,
TestCaseResultStatus status,
Collection<TestCaseResult> results)
Called when a single test is executed
|
void |
singleTestStarted(TestCase test)
Called when a single test starts
|
void |
testingFinished()
Called when testing ends
|
void |
testingStarted(TestSource testSource,
TestSuite testSuite)
Called when testing starts
|
public SimpleTestExecutorMonitor()
public SimpleTestExecutorMonitor(boolean loggingEnabled)
loggingEnabled - have logging enabled / disabledpublic SimpleTestExecutorMonitor(com.hp.hpl.jena.rdf.model.Model model)
model - the external modelpublic SimpleTestExecutorMonitor(com.hp.hpl.jena.rdf.model.Model model,
boolean loggingEnabled)
model - the modelloggingEnabled - the logging enabledpublic void testingStarted(TestSource testSource, TestSuite testSuite)
testingStarted in interface TestExecutorMonitortestSource - the datasettestSuite - the test suitepublic void singleTestStarted(TestCase test)
singleTestStarted in interface TestExecutorMonitortest - the testpublic void singleTestExecuted(TestCase test, TestCaseResultStatus status, Collection<TestCaseResult> results)
singleTestExecuted in interface TestExecutorMonitortest - the teststatus - the statusresults - the resultspublic void testingFinished()
testingFinished in interface TestExecutorMonitorpublic com.hp.hpl.jena.rdf.model.Model getModel()
public DatasetOverviewResults getOverviewResults()
public void setUserID(String userID)
Setter for the field userID.
userID - a String object.public void setExecutionType(TestCaseExecutionType executionType)
Setter for the field executionType.
executionType - a TestCaseExecutionType object.Copyright © 2015. All rights reserved.