Class GuiProviderTest

  • All Implemented Interfaces:
    org.tentackle.pdo.DomainContextProvider, org.tentackle.session.SessionProvider

    public abstract class GuiProviderTest
    extends FxRdcTestApplication
    Tests whether GUI-providers could 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 TestGuiProviders extends GuiProviderTest {
        TestGuiProviders() {
          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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testGuiProviders()  
      • Methods inherited from class org.tentackle.app.AbstractApplication

        activateStatistics, applyProperties, cleanup, configure, configureModificationTracker, configurePreferences, configureSecurityManager, createDomainContext, createSession, createSessionInfo, finishStartup, getCommandLine, getCreationTime, 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 interface org.tentackle.pdo.DomainContextProvider

        on, op
    • Constructor Detail

      • GuiProviderTest

        public GuiProviderTest​(String packagePrefix)
        Creates the GUI provider test.
        Parameters:
        packagePrefix - optional package prefix, null or empty if all
      • GuiProviderTest

        public GuiProviderTest()
    • Method Detail

      • testGuiProviders

        public void testGuiProviders()