raccoon.core.uitest
Class UiPromptRunner

java.lang.Object
  extended by raccoon.core.uitest.UiPromptRunner

public class UiPromptRunner
extends java.lang.Object

Utility class to execute from the command line the various UI modules available.

Since:
Raccoon v0.7
Version:
$Id: UiPromptRunner.java,v 1.1 2004/08/08 20:19:20 crouvrais Exp $
Author:
Cedric ROUVRAIS

Field Summary
static java.lang.String ERR_INVALID_CMD
          Invalid command passed
static java.lang.String ERR_NO_ARGS
          No arguments where passed to the main method.
static java.lang.String ERR_RECORD_FAILED
          Recorder returned errors
static java.lang.String ERR_TEST_FAILED
          Errors during the testing process, application aborted
 
Constructor Summary
UiPromptRunner()
           
 
Method Summary
static void displayHelp()
          Displays the help associated to this tool.
static void main(java.lang.String[] pArgs)
          Main entry point for the Unit and Integration Tool.
 void runPlayer(java.lang.String pPlayerName)
          Executes the player.
 void runRecorder(java.lang.String pRecorderName)
          Records messages that are received from TIB/Rendezvous until a message is received on the stop subject.
 void runUiTester(java.lang.String pTesterName, java.lang.String pReportFileName)
          Executes the specified non regression test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERR_NO_ARGS

public static final java.lang.String ERR_NO_ARGS
No arguments where passed to the main method.

See Also:
Constant Field Values

ERR_INVALID_CMD

public static final java.lang.String ERR_INVALID_CMD
Invalid command passed

See Also:
Constant Field Values

ERR_TEST_FAILED

public static final java.lang.String ERR_TEST_FAILED
Errors during the testing process, application aborted

See Also:
Constant Field Values

ERR_RECORD_FAILED

public static final java.lang.String ERR_RECORD_FAILED
Recorder returned errors

See Also:
Constant Field Values
Constructor Detail

UiPromptRunner

public UiPromptRunner()
Method Detail

runRecorder

public void runRecorder(java.lang.String pRecorderName)
                 throws RaccoonException
Records messages that are received from TIB/Rendezvous until a message is received on the stop subject.

Parameters:
pRecorderName - the component name that is the name of the Recorder.
Throws:
RaccoonException - if the recording failed.

runPlayer

public void runPlayer(java.lang.String pPlayerName)
               throws RaccoonException
Executes the player.

Parameters:
pPlayerName - the name of the component that is a player implementation service.
Throws:
RaccoonException - if component couldn't loaded or found.

runUiTester

public void runUiTester(java.lang.String pTesterName,
                        java.lang.String pReportFileName)
                 throws RaccoonException
Executes the specified non regression test.

Parameters:
pTesterName - the name of the none regression test.
Throws:
RaccoonException - if the test fails unexpectedly.

main

public static void main(java.lang.String[] pArgs)
Main entry point for the Unit and Integration Tool.

Parameters:
pArgs - the arguments, see displayHelp() for more information

displayHelp

public static void displayHelp()
Displays the help associated to this tool.



Copyright null null. All Rights Reserved.