Class AbstractServiceTest

java.lang.Object
org.jumpmind.symmetric.service.impl.AbstractServiceTest
Direct Known Subclasses:
AbstractClusterServiceTest, AbstractDataExtractorServiceTest, AbstractDataLoaderServiceTest, AbstractRouterServiceTest, AbstractTriggerRouterServiceTest, DbExportImportTest

@Tag("integration") public abstract class AbstractServiceTest extends Object
  • Field Details

  • Constructor Details

    • AbstractServiceTest

      public AbstractServiceTest()
  • Method Details

    • setup

      @BeforeAll public static void setup() throws Exception
      Throws:
      Exception
    • setLoggingLevelForTest

      protected static org.apache.logging.log4j.Level setLoggingLevelForTest(org.apache.logging.log4j.Level level)
    • logTestRunning

      protected void logTestRunning()
    • logTestComplete

      protected void logTestComplete()
    • getSymmetricEngine

      protected ISymmetricEngine getSymmetricEngine()
    • getParameterService

      protected IParameterService getParameterService()
    • getDbDialect

      protected ISymmetricDialect getDbDialect()
    • getConfigurationService

      protected IConfigurationService getConfigurationService()
    • getRegistrationService

      protected IRegistrationService getRegistrationService()
    • getDataExtractorService

      protected IDataExtractorService getDataExtractorService()
    • getDataService

      protected IDataService getDataService()
    • getNodeService

      protected INodeService getNodeService()
    • getPlatform

      protected IDatabasePlatform getPlatform()
    • getRouterService

      protected IRouterService getRouterService()
    • getTriggerRouterService

      protected ITriggerRouterService getTriggerRouterService()
    • getOutgoingBatchService

      protected IOutgoingBatchService getOutgoingBatchService()
    • getIncomingBatchService

      protected IIncomingBatchService getIncomingBatchService()
    • getClusterService

      protected IClusterService getClusterService()
    • getSqlTemplate

      protected ISqlTemplate getSqlTemplate()
    • getStagingManager

      protected IStagingManager getStagingManager()
    • assertTrue

      protected void assertTrue(boolean condition, String message)
    • assertFalse

      protected void assertFalse(boolean condition, String message)
    • assertNotNull

      protected void assertNotNull(Object condition, String message)
    • assertNull

      protected void assertNull(Object condition)
    • assertNotNull

      protected void assertNotNull(Object condition)
    • assertNull

      protected void assertNull(Object condition, String message)
    • assertFalse

      protected void assertFalse(boolean condition)
    • assertTrue

      protected void assertTrue(boolean condition)
    • assertEquals

      protected void assertEquals(Object actual, Object expected)
    • assertEquals

      protected void assertEquals(Object actual, Object expected, String message)
    • assertNotSame

      protected void assertNotSame(Object actual, Object expected, String message)
    • assertNumberOfRows

      protected void assertNumberOfRows(int rows, String tableName)
    • forceRebuildOfTrigers

      protected void forceRebuildOfTrigers()
    • countData

      protected int countData()
    • printDatabase

      protected String printDatabase()
    • assertNumberOfLinesThatStartWith

      protected void assertNumberOfLinesThatStartWith(int expected, String startsWith, String text)
    • formatTableName

      public static String formatTableName(String tableName, IDatabasePlatform platform)
    • assertNumberOfLinesThatStartWith

      protected void assertNumberOfLinesThatStartWith(int expected, String startsWith, String text, boolean ignoreCase, boolean atLeast)
    • routeAndCreateGaps

      protected void routeAndCreateGaps()
    • resetGaps

      protected void resetGaps()
    • resetBatches

      protected void resetBatches()
    • checkForOpenResources

      protected void checkForOpenResources()