Skip navigation links
A C D E G I J R S T U V _ 

A

addScope(BeforeBeanDiscovery) - Method in class ch.inftec.ju.ee.test.ContainerTestScopeExtension
 
apply(Statement, Description) - Method in class ch.inftec.ju.ee.test.ContainerTestRunnerRule
 

C

ch.inftec.ju.ee.test - package ch.inftec.ju.ee.test
 
ch.inftec.ju.ee.test.cdi - package ch.inftec.ju.ee.test.cdi
 
cleanupTestRun(TestRunnerAnnotationHandler, SystemPropertyTempSetter) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Resets the system properties to their original state and ends the test context on the server.
cleanupTestRun(TestRunnerAnnotationHandler, SystemPropertyTempSetter) - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
ContainerTest - Class in ch.inftec.ju.ee.test
Base class for container tests, i.e. integration tests that run in the application server VM.
ContainerTest() - Constructor for class ch.inftec.ju.ee.test.ContainerTest
 
ContainerTestContext - Class in ch.inftec.ju.ee.test
Context that covers the lifetime of a ContainerTest test method.
ContainerTestContext() - Constructor for class ch.inftec.ju.ee.test.ContainerTestContext
 
ContainerTestContext.CustomScopeInstance<T> - Class in ch.inftec.ju.ee.test
 
ContainerTestRunnerRule - Class in ch.inftec.ju.ee.test
JUnit rule that runs a test method within the local JBoss context.
ContainerTestRunnerRule(ContainerTestRunnerRule.TestRunnerType) - Constructor for class ch.inftec.ju.ee.test.ContainerTestRunnerRule
Creates a new test runner rule.
ContainerTestRunnerRule.TestRunnerType - Enum in ch.inftec.ju.ee.test
 
ContainerTestScoped - Annotation Type in ch.inftec.ju.ee.test
Custom scope that complies to the lifecycle of a container test (or more precise: test method).
ContainerTestScopeExtension - Class in ch.inftec.ju.ee.test
CDI extension to register ContainerTestScope.
ContainerTestScopeExtension() - Constructor for class ch.inftec.ju.ee.test.ContainerTestScopeExtension
 
createGreeting(String) - Method in class ch.inftec.ju.ee.test.Greeter
 
CustomScopeInstance(Bean<T>, CreationalContext<T>) - Constructor for class ch.inftec.ju.ee.test.ContainerTestContext.CustomScopeInstance
 

D

DataVerifierCdi - Class in ch.inftec.ju.ee.test
Extended version of a DataVerifier that provides a ServiceLocator.
DataVerifierCdi() - Constructor for class ch.inftec.ju.ee.test.DataVerifierCdi
 
DataVerifierInfo(String, List<Object>) - Constructor for class ch.inftec.ju.ee.test.TestRunnerFacade.DataVerifierInfo
 
destroy() - Method in class ch.inftec.ju.ee.test.ContainerTestContext.CustomScopeInstance
 
doInit() - Method in class ch.inftec.ju.ee.test.ContainerTest
Extending classes can override this method to perform custom initialization.

E

em - Variable in class ch.inftec.ju.ee.test.ContainerTest
EntityManager provided by the container.
emUtil - Variable in class ch.inftec.ju.ee.test.ContainerTest
JuEmUtil instance wrapped around the EntityManager.

G

get(Contextual<T>, CreationalContext<T>) - Method in class ch.inftec.ju.ee.test.ContainerTestContext
 
get(Contextual<T>) - Method in class ch.inftec.ju.ee.test.ContainerTestContext
 
getActualThrowable(Throwable) - Static method in class ch.inftec.ju.ee.test.RemoteUtils
Gets the actual throwable from a throwable returned by an EJB client call.
getClassName() - Method in class ch.inftec.ju.ee.test.TestRunnerFacade.DataVerifierInfo
 
getLocalPath(String, boolean) - Method in class ch.inftec.ju.ee.test.ContainerTest
Gets a Path instance relative to the 'local' test (rather than the JBoss server context).
getLocalPath(Path, boolean) - Method in class ch.inftec.ju.ee.test.ContainerTest
Gets a Path instance relative to the 'local' test (rather than the JBoss server context).
getLocalRoot() - Method in class ch.inftec.ju.ee.test.TestRunnerFacade.TestRunnerContext
Gets the root path of the local (i.e. not server) test.
getPageUrl(String) - Static method in class ch.inftec.ju.ee.test.UrlTestUtils
Gets the full page URL for an URL specified without host and port, e.g.
getParameters() - Method in class ch.inftec.ju.ee.test.TestRunnerFacade.DataVerifierInfo
 
getRemoteServiceLocator() - Static method in class ch.inftec.ju.ee.test.TestRunnerUtils
Gets an instance of a remote JndiServiceLocator, configured by JU property files.
getScope() - Method in class ch.inftec.ju.ee.test.ContainerTestContext
 
getTestRunnerFacade() - Static method in class ch.inftec.ju.ee.test.TestRunnerUtils
Looks up a TestRunnerFacade using a remote JNDI service locator, configured by JU property files.
getUuid() - Method in class ch.inftec.ju.ee.test.TestRunnerFacade.TestRunnerContext
Gets a unique ID identifying the test run.
getVersion() - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Gets the version of the TestRunnerFacade.
getVersion() - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
greet(PrintStream, String) - Method in class ch.inftec.ju.ee.test.Greeter
 
Greeter - Class in ch.inftec.ju.ee.test
Greeter class from the Arquillain getting started guide.
Greeter() - Constructor for class ch.inftec.ju.ee.test.Greeter
 

I

init() - Method in class ch.inftec.ju.ee.test.ContainerTest
 
init(ServiceLocator) - Method in class ch.inftec.ju.ee.test.DataVerifierCdi
Initializes the DataVerifierCdi.
init() - Method in class ch.inftec.ju.ee.test.RemoteContainerTest
 
init() - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade.Initializable
Initializer method that is called before the unit test is executed.
initFrom(ContainerTest) - Method in class ch.inftec.ju.ee.test.ContainerTest
Initializes the context and txHandler fields from the specified host test.
isActive() - Method in class ch.inftec.ju.ee.test.ContainerTestContext
 
isContextActive() - Static method in class ch.inftec.ju.ee.test.ContainerTestContext
Static method to evaluate if the context is active, i.e. if we're ina test method environment.

J

JarDefaultScopeCdi - Class in ch.inftec.ju.ee.test.cdi
POJO in a non-beans enabled JAR.
JarDefaultScopeCdi() - Constructor for class ch.inftec.ju.ee.test.cdi.JarDefaultScopeCdi
 

R

registerContext(AfterBeanDiscovery) - Method in class ch.inftec.ju.ee.test.ContainerTestScopeExtension
 
RemoteContainerTest - Class in ch.inftec.ju.ee.test
Base class for tests that run locally, but require access to a remote container, e.g.
RemoteContainerTest() - Constructor for class ch.inftec.ju.ee.test.RemoteContainerTest
 
RemoteUtils - Class in ch.inftec.ju.ee.test
Remote call related utility functions.
RemoteUtils() - Constructor for class ch.inftec.ju.ee.test.RemoteUtils
 
runMethodInEjbContext(String, String) - Method in class ch.inftec.ju.ee.test.RemoteContainerTest
Runs a parameterless method in an EJB context and returns the result of the method.
runMethodInEjbContext(String, String, Class<?>[], Object[]) - Method in class ch.inftec.ju.ee.test.RemoteContainerTest
Runs an arbitrary method in an EJB context and returns the result of the method.
runMethodInEjbContext(String, String, Class<?>[], Object[]) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Runs an arbitrary method in an EJB context and returns the result of the method.
runMethodInEjbContext(String, String, Class<?>[], Object[]) - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
runPostTestActionsInEjbContext(TestRunnerAnnotationHandler) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Runs post test actions (like data set exports and data verifies) in an EJB context.
runPostTestActionsInEjbContext(TestRunnerAnnotationHandler) - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
runPreTestActionsInEjbContext(TestRunnerAnnotationHandler) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Runs pre test actions (like data set loading) in an EJB context.
runPreTestActionsInEjbContext(TestRunnerAnnotationHandler) - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
runTestMethodInEjbContext(TestRunnerAnnotationHandler) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade
Runs a (test) method in an EJB context, allowing it to use container functionality and beans.
runTestMethodInEjbContext(TestRunnerAnnotationHandler) - Method in class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 

S

serviceLocator - Variable in class ch.inftec.ju.ee.test.ContainerTest
ServiceLocator instance that can be used to lookup JNDI or CDI objects on the server.
serviceLocator - Variable in class ch.inftec.ju.ee.test.DataVerifierCdi
 
serviceLocator - Variable in class ch.inftec.ju.ee.test.RemoteContainerTest
Remote ServiceLocator instance that can be used to lookup JNDI or CDI objects on the server.
setContext(TestRunnerFacade.TestRunnerContext) - Method in class ch.inftec.ju.ee.test.ContainerTest
 
setContext(TestRunnerFacade.TestRunnerContext) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade.ContextAware
Sets the TestRunnerContext
setLocalRoot(String) - Method in class ch.inftec.ju.ee.test.TestRunnerFacade.TestRunnerContext
 
setTxHandler(TxHandler) - Method in class ch.inftec.ju.ee.test.ContainerTest
 
setTxHandler(TxHandler) - Method in interface ch.inftec.ju.ee.test.TestRunnerFacade.TransactionAware
Sets the TxHandler used to control the transaction.

T

TestRunnerContext() - Constructor for class ch.inftec.ju.ee.test.TestRunnerFacade.TestRunnerContext
 
testRunnerFacade - Variable in class ch.inftec.ju.ee.test.RemoteContainerTest
Instance of a (remotely available) TestRunnerFacade.
TestRunnerFacade - Interface in ch.inftec.ju.ee.test
Helper facade to invoke (test) methods from local unit tests in a remote JVM server container context.
TestRunnerFacade.ContextAware - Interface in ch.inftec.ju.ee.test
Interface for classes that are context aware, i.e. allow for a TestRunnerContext to be set when executed by the TestRunnerFacade.
TestRunnerFacade.DataVerifierInfo - Class in ch.inftec.ju.ee.test
Helper object that contains information to instantiate a DataVerifier.
TestRunnerFacade.Initializable - Interface in ch.inftec.ju.ee.test
Interfaces for classes that would like to be initialized before the test method is run (some functionality as a @Before method would provide).
TestRunnerFacade.TestRunnerContext - Class in ch.inftec.ju.ee.test
Helper class that contains information about the context the test runs within.
TestRunnerFacade.TransactionAware - Interface in ch.inftec.ju.ee.test
Interface for classes that are transaction aware, i.e. that are prepared to work with a TxHandler
TestRunnerFacadeBean - Class in ch.inftec.ju.ee.test
Helper bean to run container tests in the container.
TestRunnerFacadeBean() - Constructor for class ch.inftec.ju.ee.test.TestRunnerFacadeBean
 
testRunnerRule - Variable in class ch.inftec.ju.ee.test.ContainerTest
Rule that runs the method statements on the remote JBoss container VM
testRunnerRule - Variable in class ch.inftec.ju.ee.test.RemoteContainerTest
Rule that performs test setup and verification on the server.
TestRunnerUtils - Class in ch.inftec.ju.ee.test
Contains helper functions related to remote tests.
TestRunnerUtils() - Constructor for class ch.inftec.ju.ee.test.TestRunnerUtils
 
txHandler - Variable in class ch.inftec.ju.ee.test.ContainerTest
TxHandler that can be used to control the DB transaction.

U

UrlTestUtils - Class in ch.inftec.ju.ee.test
Utility class containing web test helper methods.
UrlTestUtils() - Constructor for class ch.inftec.ju.ee.test.UrlTestUtils
 

V

valueOf(String) - Static method in enum ch.inftec.ju.ee.test.ContainerTestRunnerRule.TestRunnerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.inftec.ju.ee.test.ContainerTestRunnerRule.TestRunnerType
Returns an array containing the constants of this enum type, in the order they are declared.

_

_log - Variable in class ch.inftec.ju.ee.test.ContainerTest
 
A C D E G I J R S T U V _ 
Skip navigation links

Copyright © 2017. All rights reserved.