Package org.jboss.arquillian.test.spi.event.suite

Examples of org.jboss.arquillian.test.spi.event.suite.BeforeClass


      bind(ApplicationScoped.class, ArquillianDescriptor.class, desc);
     
      for(int i = 0; i < 10; i++)
      {
         fire(new BeforeClass(getClass()));
      }

      assertEventFired(StartSuiteContainers.class, 2);
      assertEventFired(StopSuiteContainers.class, 2);
   }
View Full Code Here


      bind(ApplicationScoped.class, ArquillianDescriptor.class, desc);
     
      for(int i = 0; i < 10; i++)
      {
         fire(new BeforeClass(getClass()));
      }

      assertEventFired(StartSuiteContainers.class, 0);
      assertEventFired(StopSuiteContainers.class, 0);
   }
View Full Code Here

      bind(ApplicationScoped.class, ArquillianDescriptor.class, desc);

      for(int i = 0; i < 5; i++)
      {
         fire(new BeforeClass(getClass()));
      }

      assertEventFired(StartSuiteContainers.class, 0);
      assertEventFired(StopSuiteContainers.class, 0);
   }
View Full Code Here

      bind(ApplicationScoped.class, ArquillianDescriptor.class, desc);
     
      for(int i = 0; i < 6; i++)
      {
         fire(new BeforeClass(getClass()));
      }

      assertEventFired(StartSuiteContainers.class, 1);
      assertEventFired(StopSuiteContainers.class, 1);
   }
View Full Code Here

      bind(ApplicationScoped.class, ArquillianDescriptor.class, desc);
     
      for(int i = 0; i < 10; i++)
      {
         fire(new BeforeClass(getClass()));
      }

      assertEventFired(StartSuiteContainers.class, 0);
      assertEventFired(StopSuiteContainers.class, 0);
   }
View Full Code Here

   }

   @Test
   public void shouldStartClassContainers() throws Exception
   {
      fire(new BeforeClass(testClass()));

      assertEventFired(StartClassContainers.class, 1);
   }
View Full Code Here

   }

   @Test
   public void shouldDeployManagedDeployments() throws Exception
   {
      fire(new BeforeClass(testClass()));

      assertEventFired(DeployManagedDeployments.class, 1);
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.test.spi.event.suite.BeforeClass

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.