|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputPaneable
| Field Summary | |
|---|---|
static int |
VIEW_CONSOLE
Console view code |
static int |
VIEW_RUNTEST
Run Test view code |
static int |
VIEW_TESTGENERATION
Test Generation view code |
| Method Summary | |
|---|---|
void |
addOutPutToConsole(String output)
It appends any output text to the console view. |
void |
focusView(int view)
This service focus a view, either the console, test generation or run tests cases view. |
OutputStream |
getOutPutFromConsole()
It returns the output text from the console view |
JPanel |
getOutputView()
It returns the Output view. |
RatListener |
getTestGenListener()
It returns the Test Generator listener, which lets add the test data generated from outer tools to this GUI |
void |
printlnToConsole(String output)
It appends any output text and a NEW LINE to the console view, and removes any highlights in the view. |
void |
resetRunTestView()
Clear all values in the view, to start a new test execution. |
void |
setErrorsToRunTest(int errors)
Sets the number of errors to the Run Test view |
void |
setFailureDetailView(junit.runner.FailureDetailView fFailureView)
It sets the failure detail view (coming from the Tool subsystem) component to the run test cases view. |
void |
setFailuresToRunTest(int failures)
Sets the number of failures to the Run Test view |
void |
setStartToRunTest(int total)
Adjusts the GUI objects to the beginning of the testing process |
void |
setSuite(String suiteName)
OutputPane Run test *************************************************************************** /** Sets the suite name in the GUI. |
void |
setTestEnded(int runs,
boolean successful)
Sets the number of runs (successful test cases) and updates the progress bar |
void |
setTestRunContext(TestRunContext context)
Sets the Canica test runner context to the Run Test Cases pane. |
void |
setTestRunView(JPanel testRunView)
It sets the test run view (contains the test cases and failures in different tabs) |
void |
showErrorToRunTest(String message)
It shows an error message to the Status line in the Run Test view |
void |
showInfoToRunTest(String message)
It shows information to the Status line in the Run Test view |
| Field Detail |
|---|
static final int VIEW_CONSOLE
static final int VIEW_TESTGENERATION
static final int VIEW_RUNTEST
| Method Detail |
|---|
JPanel getOutputView()
void focusView(int view)
view - void addOutPutToConsole(String output)
output - The output textvoid printlnToConsole(String output)
output - The output textOutputStream getOutPutFromConsole()
RatListener getTestGenListener()
void setSuite(String suiteName)
suiteName - Test Data class file namevoid setTestRunContext(TestRunContext context)
context - TestRunContextvoid setFailureDetailView(junit.runner.FailureDetailView fFailureView)
fFailureView - failure detail view (see the Tool subsytem)void resetRunTestView()
void setTestRunView(JPanel testRunView)
testRunView - Test run viewvoid showInfoToRunTest(String message)
message - Message informationvoid showErrorToRunTest(String message)
message - Message errorvoid setStartToRunTest(int total)
total - Total number of test casesvoid setErrorsToRunTest(int errors)
errors - Total number of errorsvoid setFailuresToRunTest(int failures)
failures - Total number of failures
void setTestEnded(int runs,
boolean successful)
runs - Total number of runssuccessful - It tells if the test was successful or not
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||