Package com.atlassian.bamboo.webdriver
Class TestInjectionTestRule
java.lang.Object
com.atlassian.bamboo.webdriver.TestInjectionTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Injects members of page object context into the test
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionTestInjectionTestRule
(@NotNull Object injectionTarget, @NotNull BambooTestedProduct product) -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Constructor Details
-
TestInjectionTestRule
public TestInjectionTestRule(@NotNull @NotNull Object injectionTarget, @NotNull @NotNull BambooTestedProduct product)
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-