Package org.jboss.arquillian.persistence.event

Examples of org.jboss.arquillian.persistence.event.CleanupData


   {
      final PersistenceExtensionFeatureResolver persistenceExtensionFeatureResolver = persistenceExtensionFeatureResolverInstance.get();

      if (persistenceExtensionFeatureResolver.shouldCleanupBefore())
      {
         cleanUpDataEvent.fire(new CleanupData(beforePersistenceTest, persistenceExtensionFeatureResolver.getCleanupStragety()));
      }

      if (persistenceExtensionFeatureResolver.shouldCleanupUsingScriptBefore())
      {
         final SqlScriptProvider<CleanupUsingScript> scriptsProvider = createScriptProvider();
View Full Code Here


   {
      final PersistenceExtensionFeatureResolver persistenceExtensionFeatureResolver = persistenceExtensionFeatureResolverInstance.get();

      if (persistenceExtensionFeatureResolver.shouldCleanupAfter())
      {
         cleanUpDataEvent.fire(new CleanupData(afterPersistenceTest, persistenceExtensionFeatureResolver.getCleanupStragety()));
      }

      if (persistenceExtensionFeatureResolver.shouldCleanupUsingScriptAfter())
      {
         final SqlScriptProvider<CleanupUsingScript> scriptsProvider = createScriptProvider();
View Full Code Here

      if (!configuration.get().isDumpData())
      {
         context.proceed();
         return;
      }
      CleanupData event = context.getEvent();
      dumpDatabaseState(event, Phase.BEFORE_CLEAN);
      context.proceed();
      dumpDatabaseState(event, Phase.AFTER_CLEAN);
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.persistence.event.CleanupData

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.