nl.toolforge.karma.core.cmd.impl
Class TestModule

java.lang.Object
  extended bynl.toolforge.karma.core.cmd.DefaultCommand
      extended bynl.toolforge.karma.core.cmd.impl.AbstractBuildCommand
          extended bynl.toolforge.karma.core.cmd.impl.TestModule
All Implemented Interfaces:
Command

public class TestModule
extends AbstractBuildCommand

Run the unit tests of a given module.

At this moment this class only supports Java/JUnit in combination with Ant.

Version:
$Id: TestModule.java,v 1.32 2004/11/16 22:28:02 hippe Exp $
Author:
W.H. Schraal

Field Summary
 
Fields inherited from class nl.toolforge.karma.core.cmd.impl.AbstractBuildCommand
module
 
Constructor Summary
TestModule(CommandDescriptor descriptor)
           
 
Method Summary
 void execute()
          Executes the command.
 CommandResponse getCommandResponse()
          Gets the commands' response object.
 
Methods inherited from class nl.toolforge.karma.core.cmd.impl.AbstractBuildCommand
cleanUp, executeDelete, executeDelete, executeMkdir, getAntProject, getBuildEnvironment, getCompileDirectory, getCurrentManifest, getCurrentModule, getProjectInstance
 
Methods inherited from class nl.toolforge.karma.core.cmd.DefaultCommand
deregisterCommandResponseListener, getAlias, getCommandLine, getContext, getDescription, getFrontendMessages, getHelp, getName, getResponseListener, getWorkingContext, registerCommandResponseListener, setCommandLine, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestModule

public TestModule(CommandDescriptor descriptor)
Method Detail

execute

public void execute()
             throws CommandException
Description copied from interface: Command
Executes the command.

Specified by:
execute in interface Command
Overrides:
execute in class AbstractBuildCommand
Throws:
CommandException

getCommandResponse

public CommandResponse getCommandResponse()
Gets the commands' response object.

Returns:
The commands' response object.


Copyright © 2002-2004 Toolforge. All Rights Reserved.