Class ControllerTest

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

    public abstract class ControllerTest
    extends FxRdcTestApplication
    Tests whether controllers could be loaded and bound.
    Needs a db-connection to initialize all controllers properly.
    Simply extend this class and put that in a test source folder.

    Example:

      public class TestControllers extends ControllerTest {}
     
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      ControllerTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testControllers()  
      • Methods inherited from class org.tentackle.test.pdo.TestApplication

        getDomainContext, getUser, setUpClass, startup, tearDownClass
      • 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 class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.tentackle.pdo.DomainContextProvider

        on, op
    • Constructor Detail

      • ControllerTest

        public ControllerTest()
    • Method Detail

      • testControllers

        public void testControllers()