Package org.nuxeo.runtime.test.runner
package org.nuxeo.runtime.test.runner
-
ClassDescriptionDeprecated.Annotation to define a console log level threshold on the root logger, which allows us to hide console log messages when launching tests.Deprecated.since 10.2, use
TransactionalFeature
insteadDefaults<A extends Annotation>A list of artifacts to be deployed.Allow the usage of multiple @DeployA feature is Nuxeo Runner extension that is able to configure the runner from additional annotations and using a specific logic.A Test Case runner that can be extended through features and provide injection though Guice.A dynamic component deployer which enable tests to deploy new contributions after the test was started (i.e. from inside the test method) The deployer is reloading all the components and reinject the test members.Deploy actions are usually used by features to customize the deployment of the runtime feature (which is using the DeaultDeployAction)helper for common jndi operations copied from jboss Util classDeprecated.since 10.1, useDeploy
Test feature to capture from a log4j appender to check that some log4j calls have been correctly called.Default Nuxeo filter which takes a logger name and a log level to accept only events matching both.Log result class.Annotation that will help you managing the logging when dealing with tests.Utility class that sorts a list of JUnit methods according to their source line number.Class Visitor that constructs a map of method name to source line number.Comparator of methods according to their line number.Method Visitor that records method source line number.JUnit4 ParentRunner that knows how to run a test class on multiple backend types.TheParameterizedFeature
annotation specifies the class to be parameterized.Deploy a bundle with only a subset of contributionsDefine execution rules for an annotated random bug.BYPASS: the test is ignored.Repeat condition based onFeature that restart the component manger between each test.These are the states the runner goes through when using runtime feature:TODO: Move this to org.nuxeo.runtime packageDeprecated.since 10.10, as it prevents automatic port allocation, useServletContainerFeature.getPort()
insteadRuns an embedded servlet container.Deprecated.since 10.3, implements directlyRunnerFeature
A TargetExtensions is part of PartialDeploy annotation that is able to deploy only a subset of extensions in a bundle.White listTargetExtensions.ContentModel
and Automation related contributionsWhite list contributions: TypeService schema and doctype definition, LifecycleService lifecycle and associated types, SQLDirectoryFactory directories and VersioningService versioning rules.White listTargetExtensions.ContentModel
and ContentTemplateServiceAnnotation forTransactionalFeature
configuration.The transactional feature is responsible of transaction management.Annotation that will help you to set theFramework
'sproperty
in your test by annotating method.Features handlingWithFrameworkProperty
annotations.
IsolatedClassloader
doesn't exist anymore