1.0.0

org.eclipse.soda.dk.testcontroller.console
Class TestControllerConsole

java.lang.Object
  extended by org.eclipse.soda.dk.testagent.ConsoleSynchronization
      extended by org.eclipse.soda.dk.testcontroller.console.TestControllerConsole
All Implemented Interfaces:
TestSynchronizationService, TestRunListenerService
Direct Known Subclasses:
TestManagerConsole

public class TestControllerConsole
extends ConsoleSynchronization
implements TestRunListenerService

Version:
1.0.0

Constructor Summary
TestControllerConsole()
           
 
Method Summary
protected  void printErrorEvent(java.lang.String message, java.lang.String trace)
          Print error event with the specified message and trace parameters.
protected  void printEvent(boolean error, java.lang.String message, java.lang.String detail)
          Print event with the specified error, message and detail parameters.
protected  void printEvent(java.lang.String reportLine)
          Print event with the specified report line parameter.
 void testEnded(java.lang.String runId, java.lang.String testName)
          Test ended with the specified run id and test name parameters.
 void testError(java.lang.String runId, java.lang.String testName, java.lang.String trace)
          Test error with the specified run id, test name and trace parameters.
 void testFailed(java.lang.String runId, java.lang.String testName, java.lang.String trace)
          Test failed with the specified run id, test name and trace parameters.
 void testRunEnded(java.lang.String runId)
          Test run ended with the specified run id parameter.
 void testRunError(java.lang.String runId, java.lang.String message, java.lang.String detail)
          Test run error with the specified run id, message and detail parameters.
 void testRunStarted(java.lang.String runId)
          Test run started with the specified run id parameter.
 void testStarted(java.lang.String runId, java.lang.String testName)
          Test started with the specified run id and test name parameters.
 
Methods inherited from class org.eclipse.soda.dk.testagent.ConsoleSynchronization
requestConfirmation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestControllerConsole

public TestControllerConsole()
Method Detail

printErrorEvent

protected void printErrorEvent(java.lang.String message,
                               java.lang.String trace)
Print error event with the specified message and trace parameters.

Parameters:
message - The message (String) parameter.
trace - The trace (String) parameter.

printEvent

protected void printEvent(java.lang.String reportLine)
Print event with the specified report line parameter.

Parameters:
reportLine - The report line (String) parameter.
See Also:
printErrorEvent(String,String), printEvent(boolean,String,String)

printEvent

protected void printEvent(boolean error,
                          java.lang.String message,
                          java.lang.String detail)
Print event with the specified error, message and detail parameters.

Overrides:
printEvent in class ConsoleSynchronization
Parameters:
error - The error (boolean) parameter.
message - The message (String) parameter.
detail - The detail (String) parameter.
See Also:
printErrorEvent(String,String), printEvent(String)

testEnded

public void testEnded(java.lang.String runId,
                      java.lang.String testName)
Test ended with the specified run id and test name parameters.

Specified by:
testEnded in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.
testName - The test name (String) parameter.
See Also:
testRunEnded(String)

testError

public void testError(java.lang.String runId,
                      java.lang.String testName,
                      java.lang.String trace)
Test error with the specified run id, test name and trace parameters.

Specified by:
testError in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.
testName - The test name (String) parameter.
trace - The trace (String) parameter.
See Also:
testRunError(String,String,String)

testFailed

public void testFailed(java.lang.String runId,
                       java.lang.String testName,
                       java.lang.String trace)
Test failed with the specified run id, test name and trace parameters.

Specified by:
testFailed in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.
testName - The test name (String) parameter.
trace - The trace (String) parameter.

testRunEnded

public void testRunEnded(java.lang.String runId)
Test run ended with the specified run id parameter.

Specified by:
testRunEnded in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.

testRunError

public void testRunError(java.lang.String runId,
                         java.lang.String message,
                         java.lang.String detail)
Test run error with the specified run id, message and detail parameters.

Specified by:
testRunError in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.
message - The message (String) parameter.
detail - The detail (String) parameter.

testRunStarted

public void testRunStarted(java.lang.String runId)
Test run started with the specified run id parameter.

Specified by:
testRunStarted in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.

testStarted

public void testStarted(java.lang.String runId,
                        java.lang.String testName)
Test started with the specified run id and test name parameters.

Specified by:
testStarted in interface TestRunListenerService
Parameters:
runId - The run id (String) parameter.
testName - The test name (String) parameter.
See Also:
testRunStarted(String)

1.0.0

Copyright (c) 2007 IBM