org.impalaframework.interactive
Class InteractiveTestRunner

java.lang.Object
  extended by org.impalaframework.interactive.InteractiveTestRunner

public class InteractiveTestRunner
extends java.lang.Object


Constructor Summary
InteractiveTestRunner()
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.String> getAliasMap()
           
protected  java.util.Map<java.lang.String,org.impalaframework.command.framework.Command> getCommandMap()
           
protected  org.impalaframework.command.framework.Command getInitCommand()
           
protected  java.lang.Integer getMaxInactiveSeconds()
          Returns the maximum inactivity interval before the application terminates.
static void main(java.lang.String[] args)
           
static void run()
           
static void run(java.lang.Class<? extends org.impalaframework.module.ModuleDefinitionSource> sourceClass)
           
 void start(java.lang.Class<?> testClass)
          Runs a suite extracted from a TestCase subclass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveTestRunner

public InteractiveTestRunner()
Method Detail

main

public static void main(java.lang.String[] args)

run

public static void run()

run

public static void run(java.lang.Class<? extends org.impalaframework.module.ModuleDefinitionSource> sourceClass)

start

public void start(java.lang.Class<?> testClass)
Runs a suite extracted from a TestCase subclass.


getMaxInactiveSeconds

protected java.lang.Integer getMaxInactiveSeconds()
Returns the maximum inactivity interval before the application terminates. To turn off this feature, override and return null.

Returns:
the number of inactivity before the program is terminated, or null to keep it running indefinitely

getInitCommand

protected org.impalaframework.command.framework.Command getInitCommand()

getCommandMap

protected java.util.Map<java.lang.String,org.impalaframework.command.framework.Command> getCommandMap()

getAliasMap

protected java.util.Map<java.lang.String,java.lang.String> getAliasMap()