org.mactor.extensions
Class DelayUntil

java.lang.Object
  extended by org.mactor.extensions.DelayUntil
All Implemented Interfaces:
ActionCommand

public class DelayUntil
extends java.lang.Object
implements ActionCommand

Suspend execution until the time specifed by the first parameter (on the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, i.e: 2008-07-04T12:08:56.235+0100)

Author:
Lars Ivar Almli

Constructor Summary
DelayUntil()
           
 
Method Summary
 void perform(TestContext context, java.util.List<java.lang.String> params)
          The method invoked by the testrunner to perform the action node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayUntil

public DelayUntil()
Method Detail

perform

public void perform(TestContext context,
                    java.util.List<java.lang.String> params)
             throws MactorException
Description copied from interface: ActionCommand
The method invoked by the testrunner to perform the action node.

Specified by:
perform in interface ActionCommand
Parameters:
context - contains information about the context of the test that might be useful (such as all messages sent/received so far in the test)
params - the list of parameteres specifed for the given node in the test-spec xml (after the ##{...} substitution has been performed)
Throws:
MactorException - to indicate that the action failed for a functional or non-funtional reason (this will case the test to fail)


Copyright © 2008. All Rights Reserved.