public class WebTesterRule extends Object implements org.junit.rules.TestRule, com.google.inject.Module, java.util.function.Supplier<net.sourceforge.jwebunit.WebTester>
Modifier and Type | Field and Description |
---|---|
protected LocatorFactory |
locator
Use this field to access the
LocatorFactory in play |
Constructor and Description |
---|
WebTesterRule(java.util.function.Supplier<JIRAEnvironmentData> environmentDataSupplier,
java.util.function.Supplier<FuncTestWebClientListener> webClientListenerSupplier) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
void |
configure(com.google.inject.Binder binder) |
net.sourceforge.jwebunit.WebTester |
get() |
protected LocatorFactory locator
LocatorFactory
in playpublic WebTesterRule(java.util.function.Supplier<JIRAEnvironmentData> environmentDataSupplier, java.util.function.Supplier<FuncTestWebClientListener> webClientListenerSupplier)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
public net.sourceforge.jwebunit.WebTester get()
get
in interface java.util.function.Supplier<net.sourceforge.jwebunit.WebTester>
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
Copyright © 2002-2022 Atlassian. All Rights Reserved.