com.gwtplatform.tester
Class DeferredCommandManager

java.lang.Object
  extended by com.gwtplatform.tester.DeferredCommandManager

public class DeferredCommandManager
extends Object

This class mimicks GWT's DeferredCommand but it can be used in test cases without having to rely on a GWTTestCase.

Use addCommand(Command) to add deferred commands, then call pump() to process all the deferred commands.

Author:
Philippe Beaudoin

Constructor Summary
DeferredCommandManager()
           
 
Method Summary
 void addCommand(Command command)
           
 void pump()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeferredCommandManager

public DeferredCommandManager()
Method Detail

addCommand

public void addCommand(Command command)

pump

public void pump()


Copyright © 2010-2011 ArcBees. All Rights Reserved.