Package org.tentackle.test.fx.rdc
Class ControllerTest
java.lang.Object
org.tentackle.app.AbstractApplication
org.tentackle.test.pdo.TestApplication
org.tentackle.test.fx.rdc.FxRdcTestApplication
org.tentackle.test.fx.rdc.ControllerTest
- All Implemented Interfaces:
org.tentackle.pdo.DomainContextProvider,org.tentackle.session.SessionProvider
Tests whether controllers could be loaded and bound.
Opens a session in case some controllers need it.
Simply extend this class and put that in a test source folder.
Opens a session in case some controllers need it.
Simply extend this class and put that in a test source folder.
Example:
public class TestControllers extends ControllerTest {}
- 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 -
Method Summary
Methods inherited from class org.tentackle.test.fx.rdc.FxRdcTestApplication
startFxMethods inherited from class org.tentackle.test.pdo.TestApplication
getDomainContext, getUser, setUpClass, startup, tearDownClassMethods 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, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.tentackle.pdo.DomainContextProvider
on, op
-
Constructor Details
-
ControllerTest
Creates the controller test.- Parameters:
packagePrefix- optional package prefix, null or empty if all
-
ControllerTest
public ControllerTest()
-
-
Method Details
-
testControllers
public void testControllers()
-