io.fluentlenium.adapter.spock.SpockControl.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluentlenium-spock Show documentation
Show all versions of fluentlenium-spock Show documentation
Spock Adapter for FluentLenium
The newest version!
package io.fluentlenium.adapter.spock
import spock.lang.Specification
class SpockControl extends Specification implements io.fluentlenium.core.FluentControl {
private io.fluentlenium.adapter.FluentControlContainer controlContainer = new io.fluentlenium.adapter.ThreadLocalFluentControlContainer()
private io.fluentlenium.configuration.Configuration configuration = io.fluentlenium.configuration.ConfigurationFactoryProvider.newConfiguration(getClass())
@Override
io.fluentlenium.adapter.FluentControlContainer getControlContainer() {
return controlContainer
}
@Override
io.fluentlenium.core.FluentControl getFluentControl() {
return controlContainer.getFluentControl()
}
@Override
io.fluentlenium.configuration.Configuration getConfiguration() {
return configuration
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy