Package org.jboss.test.dependency.controller.support

Examples of org.jboss.test.dependency.controller.support.ErrorControllerContext$ConfigureAction


   }
  
   public void testFailInDescribe() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_DESCRIBE);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.DESCRIBED, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here


   }
  
   public void testFailInInstantiate() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_INSTANTIATE);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.INSTANTIATED, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here

   }
  
   public void testFailInConfigure() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_CONFIGURE);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.CONFIGURED, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here

   }
  
   public void testFailInCreate() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_CREATE);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.CREATE, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here

   }
  
   public void testFailInStart() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_START);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.START, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here

   }
  
   public void testFailInInstall() throws Throwable
   {
      ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_INSTALL);
      ErrorControllerContext context = new ErrorControllerContext(delegate);
      assertInstall(context, ControllerState.NOT_INSTALLED);
      assertChange(context, ControllerState.INSTALLED, ControllerState.ERROR);
      assertUninstall(context);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.dependency.controller.support.ErrorControllerContext$ConfigureAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.