Package com.atlassian.bamboo.testutils.junit.rule
package com.atlassian.bamboo.testutils.junit.rule
-
ClassDescriptionA JUnit rule to be used when ACEGI security context mocking is required.Rule that automates creation/destruction of
ActionContext
for testsRule that automates creation/cleanup of TestBootstrapManagerThis rule enforces redetecting server capabilities.Watches log4j logs.Very loudly log how long a test took to complete.Rule that preserves bootstrap ApplicationContextRule that allows modifying Log4j's log level during test and restores original level afterwards.Marks that test will modify system properties and which of them should be preserved before and restored after running the test.Rule which ensures tests that modify system properties doesn't interfere (eg.Holds names of custom Bamboo repeat profiles for theRepeatRule
.This class does not obey the contract for "equals" and "hashCode" defined by the Annotation interface, so instances of this class cannot currently be compared reliably or used as hash map keys.Utils for theRepeatRule
.A generic test method descriptor.A wrapper aroundExpectedException
rule which allows state reset.Every use case of this rule should be considered twice before usage.Creates a Rule Chain from a collection of rules.Rule that should be used in all tests that mock/access SecurityConfigFactory's securityConfig.A JUnit rule to be used when Spring context mocking is required.This listener acts if test failed with UniformInterfaceException.