public class

Constants

extends Object
java.lang.Object
   ↳ org.ops4j.pax.exam.Constants

Class Overview

Pax Exam related constants.

Summary

Constants
String EXAM_CONFIGURATION_KEY URL of configuration properties, overriding the default classpath:/exam.properties.
String EXAM_FAIL_ON_UNRESOLVED_KEY Should Pax Exam fail the test if any of the provisioned bundles is unresolved? Values: true | false.
String EXAM_LOGGING_KEY The logging system to be provisioned by Pax Exam.
String EXAM_LOGGING_NONE Do not provision any logging system and leave it to the user.
String EXAM_LOGGING_PAX_LOGGING Provision Pax Logging as logging system.
String EXAM_PROPERTIES_FILE Name of configuration properties file.
String EXAM_PROPERTIES_PATH Resource path of configuration properties file.
String EXAM_REACTOR_STRATEGY_KEY Default reactor strategy.
String EXAM_REACTOR_STRATEGY_PER_CLASS
String EXAM_REACTOR_STRATEGY_PER_METHOD
String EXAM_REACTOR_STRATEGY_PER_SUITE
String EXAM_SERVICE_TIMEOUT_DEFAULT Default value for service lookup timeout (10 seconds).
String EXAM_SERVICE_TIMEOUT_KEY Timeout for service lookup in milliseconds.
String EXAM_SYSTEM_CDI Exam system for CDI containers.
String EXAM_SYSTEM_DEFAULT Default exam system with no predefined options.
String EXAM_SYSTEM_JAVAEE Exam system for Java EE containers.
String EXAM_SYSTEM_KEY Configuration key for Exam system type.
String EXAM_SYSTEM_TEST Test exam system with predefined options for Exam's own bundles etc.
long NO_WAIT Timeout specifing that there should be no waiting.
String PROBE_EXECUTABLE Manifest header specifying the string of executable services.
int START_LEVEL_DEFAULT_PROVISION The start level at which Pax Exam test bundle is to be started.
int START_LEVEL_SYSTEM_BUNDLES The start level at which Pax Exam system bundles are to be started.
int START_LEVEL_TEST_BUNDLE The start level at which Pax Exam test bundle is to be started.
long WAIT_5_MINUTES Timeout specifing that it should wait .
long WAIT_FOREVER Timeout specifing that it should wait forever.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String EXAM_CONFIGURATION_KEY

URL of configuration properties, overriding the default classpath:/exam.properties. If you want this to be a plain old file, make sure to include the file: protocol.

Constant Value: "pax.exam.configuration"

public static final String EXAM_FAIL_ON_UNRESOLVED_KEY

Should Pax Exam fail the test if any of the provisioned bundles is unresolved? Values: true | false.

Constant Value: "pax.exam.osgi.unresolved.fail"

public static final String EXAM_LOGGING_KEY

The logging system to be provisioned by Pax Exam.

Constant Value: "pax.exam.logging"

public static final String EXAM_LOGGING_NONE

Do not provision any logging system and leave it to the user.

Constant Value: "none"

public static final String EXAM_LOGGING_PAX_LOGGING

Provision Pax Logging as logging system. (Default value).

Constant Value: "pax-logging"

public static final String EXAM_PROPERTIES_FILE

Name of configuration properties file.

Constant Value: "exam.properties"

public static final String EXAM_PROPERTIES_PATH

Resource path of configuration properties file.

Constant Value: "/exam.properties"

public static final String EXAM_REACTOR_STRATEGY_KEY

Default reactor strategy. Legal values are PerSuite, PerClass, PerMethod.

Constant Value: "pax.exam.reactor.strategy"

public static final String EXAM_REACTOR_STRATEGY_PER_CLASS

Constant Value: "PerClass"

public static final String EXAM_REACTOR_STRATEGY_PER_METHOD

Constant Value: "PerMethod"

public static final String EXAM_REACTOR_STRATEGY_PER_SUITE

Constant Value: "PerSuite"

public static final String EXAM_SERVICE_TIMEOUT_DEFAULT

Default value for service lookup timeout (10 seconds).

Constant Value: "10000"

public static final String EXAM_SERVICE_TIMEOUT_KEY

Timeout for service lookup in milliseconds.

Constant Value: "pax.exam.service.timeout"

public static final String EXAM_SYSTEM_CDI

Exam system for CDI containers.

Constant Value: "cdi"

public static final String EXAM_SYSTEM_DEFAULT

Default exam system with no predefined options.

Constant Value: "default"

public static final String EXAM_SYSTEM_JAVAEE

Exam system for Java EE containers.

Constant Value: "javaee"

public static final String EXAM_SYSTEM_KEY

Configuration key for Exam system type.

Constant Value: "pax.exam.system"

public static final String EXAM_SYSTEM_TEST

Test exam system with predefined options for Exam's own bundles etc.

Constant Value: "test"

public static final long NO_WAIT

Timeout specifing that there should be no waiting.

Constant Value: 0 (0x0000000000000000)

public static final String PROBE_EXECUTABLE

Manifest header specifying the string of executable services.

Constant Value: "PaxExam-Executable"

public static final int START_LEVEL_DEFAULT_PROVISION

The start level at which Pax Exam test bundle is to be started.

Constant Value: 3 (0x00000003)

public static final int START_LEVEL_SYSTEM_BUNDLES

The start level at which Pax Exam system bundles are to be started.

Constant Value: 2 (0x00000002)

public static final int START_LEVEL_TEST_BUNDLE

The start level at which Pax Exam test bundle is to be started. This is also the startlevel, the test container reaches in start.

Constant Value: 5 (0x00000005)

public static final long WAIT_5_MINUTES

Timeout specifing that it should wait .

Constant Value: 300000 (0x00000000000493e0)

public static final long WAIT_FOREVER

Timeout specifing that it should wait forever.

Constant Value: 9223372036854775807 (0x7fffffffffffffff)