Class TableConfigurationProviderTest

java.lang.Object
org.tentackle.app.AbstractApplication
org.tentackle.pdo.junit.TestApplication
org.tentackle.fx.rdc.junit.FxRdcTestApplication
org.tentackle.fx.rdc.junit.TableConfigurationProviderTest
All Implemented Interfaces:
org.tentackle.pdo.DomainContextProvider, org.tentackle.session.SessionProvider

public abstract class TableConfigurationProviderTest extends FxRdcTestApplication
Junit5 test to verify that all TableConfigurationProviders can be loaded and bound.
Opens a session in case some providers need it.
Simply extend this class and put that in a test source folder.

Example:

  public class TestTableConfigurationProviders extends TableConfigurationProviderTest {
    TestTableConfigurationProviders() {
      super("my.package.name");
    }
  }
 
Author:
harald
  • Field Summary

    Fields inherited from class org.tentackle.app.AbstractApplication

    DISABLE_MODIFICATION_TRACKER, DISABLE_SECURITY_MANAGER, ENABLE_STATISTICS, LOCALE, SCRIPTING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Creates the table configuration provider test.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.tentackle.fx.rdc.junit.FxRdcTestApplication

    startFx

    Methods inherited from class org.tentackle.pdo.junit.TestApplication

    createDatabaseTables, getUser, populateDatabase, startup, tearDownClass

    Methods inherited from class org.tentackle.app.AbstractApplication

    activateStatistics, applyProperties, cleanup, configure, configureModificationTracker, configurePreferences, configureSecurityManager, createDomainContext, createSession, createSessionInfo, finishStartup, getCommandLine, getCreationTime, getDomainContext, getName, getProperties, getProperty, getRunningApplication, getSession, getSessionInfo, getUser, getVersion, initialize, initializeScripting, isInteractive, isInteractiveImpl, isServer, isServerImpl, isSystemExitNecessaryToStop, logStackdump, register, setDomainContext, setProperties, setSessionInfo, start, start, stop, stop, toString, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.tentackle.pdo.DomainContextProvider

    on, on, op, op
  • Constructor Details

    • TableConfigurationProviderTest

      public TableConfigurationProviderTest(String packagePrefix)
      Creates the table configuration provider test.
      Parameters:
      packagePrefix - optional package prefix, null or empty if all
    • TableConfigurationProviderTest

      public TableConfigurationProviderTest()
  • Method Details

    • testTableConfigurationProviders

      @Test public void testTableConfigurationProviders()