Package org.hibernate.testing.junit.functional

Examples of org.hibernate.testing.junit.functional.ExecutionEnvironment


   }

   @Override
   protected void prepareTest() throws Exception {
      log.info("Building second node locally managed execution env");
      secondNodeEnvironment = new ExecutionEnvironment(new SecondNodeSettings());
      secondNodeEnvironment.initialize();
      super.prepareTest();
   }
View Full Code Here


   @Override
   protected void prepareTest() throws Exception
   {
      log.info( "Building second node locally managed execution env" );
      secondNodeEnvironment = new ExecutionEnvironment( new SecondNodeSettings() );
      secondNodeEnvironment.initialize();
     
      super.prepareTest();
   }
View Full Code Here

   public void testRedeployment() throws Exception {
      addEntityCheckCache();
      getEnvironment().getSessionFactory().close();
      bindToJndi = false;
      ExecutionEnvironment environment = new ExecutionEnvironment( this );
      environment.initialize();
      setEnvironment(environment);
      addEntityCheckCache();
      JndiInfinispanRegionFactory regionFactory = (JndiInfinispanRegionFactory) ((SessionFactoryImplementor)
            environment.getSessionFactory()).getSettings().getRegionFactory();
      Cache cache = regionFactory.getCacheManager().getCache("org.hibernate.test.cache.infinispan.functional.Item");
      assertEquals(ComponentStatus.RUNNING, cache.getStatus());
   }
View Full Code Here

TOP

Related Classes of org.hibernate.testing.junit.functional.ExecutionEnvironment

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.