本文整理汇总了Java中net.thucydides.core.pages.Pages类的典型用法代码示例。如果您正苦于以下问题:Java Pages类的具体用法?Java Pages怎么用?Java Pages使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Pages类属于net.thucydides.core.pages包,在下文中一共展示了Pages类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initListenersUsing
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
protected JUnitStepListener initListenersUsing(final Pages pageFactory) {
return new JUnitStepListener(getTestClass().getJavaClass(),
new SatisfyBaseStepListener(getConfiguration()
.getOutputDirectory(), pageFactory),
Listeners.getLoggingListener(),
newTestCountListener());
}
示例2: SatisfyBaseStepListener
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
/**
* Create a step listener using the driver from a given page factory.
* If the pages factory is null, a new driver will be created based on
* the default system values.
*
* @param outputDirectory reports and screenshots are generated here
* @param pages a pages factory.
*/
public SatisfyBaseStepListener(final File outputDirectory, final Pages
pages) {
this(outputDirectory);
if (pages != null) {
setDriverUsingPagesDriverIfDefined(pages);
} else {
createNewDriver();
}
}
示例3: setDriverUsingPagesDriverIfDefined
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
private void setDriverUsingPagesDriverIfDefined(final Pages pages) {
if (pages.getDriver() != null) {
setDriver(pages.getDriver());
} else {
createNewDriver();
pages.setDriver(getDriver());
}
}
示例4: SatisfyStepFactory
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public SatisfyStepFactory(Pages pages) {
super(pages);
}
示例5: ScanningStepsFactory
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public ScanningStepsFactory(Configuration configuration,
Class<?> root, Pages pages) {
super(configuration);
types.addAll(scanTypes(root.getPackage().getName()));
stepFactory = new SatisfyStepFactory(pages);
}
示例6: LoginSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public LoginSteps(Pages pages) {
super(pages);
}
示例7: GoogleSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public GoogleSteps(Pages pages) {
super(pages);
}
示例8: EndUserSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserSteps(Pages pages) {
super(pages);
}
示例9: EndUserAtSearchPageSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserAtSearchPageSteps(Pages pages) {
super(pages);
}
示例10: EndUserAtMainPageSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserAtMainPageSteps(Pages pages) {
super(pages);
}
示例11: GoogleNavigation
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public GoogleNavigation(Pages pages)
{
super(pages);
}