本文整理汇总了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());
}
开发者ID:tapack,项目名称:satisfy,代码行数:8,代码来源:SatisfyThucydidesRunner.java
示例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();
}
}
开发者ID:tapack,项目名称:satisfy,代码行数:18,代码来源:SatisfyBaseStepListener.java
示例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());
}
}
开发者ID:tapack,项目名称:satisfy,代码行数:9,代码来源:SatisfyBaseStepListener.java
示例4: SatisfyStepFactory
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public SatisfyStepFactory(Pages pages) {
super(pages);
}
开发者ID:tapack,项目名称:satisfy,代码行数:4,代码来源:SatisfyStepFactory.java
示例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);
}
开发者ID:tapack,项目名称:satisfy,代码行数:7,代码来源:ScanningStepsFactory.java
示例6: LoginSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public LoginSteps(Pages pages) {
super(pages);
}
开发者ID:holisticon,项目名称:continuous-delivery-demo,代码行数:4,代码来源:LoginSteps.java
示例7: GoogleSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public GoogleSteps(Pages pages) {
super(pages);
}
开发者ID:hypery2k,项目名称:serenity_sample,代码行数:4,代码来源:GoogleSteps.java
示例8: EndUserSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserSteps(Pages pages) {
super(pages);
}
开发者ID:Unisay,项目名称:preferanser,代码行数:4,代码来源:EndUserSteps.java
示例9: EndUserAtSearchPageSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserAtSearchPageSteps(Pages pages) {
super(pages);
}
开发者ID:yandex-qatools,项目名称:htmlelements-examples,代码行数:4,代码来源:EndUserAtSearchPageSteps.java
示例10: EndUserAtMainPageSteps
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public EndUserAtMainPageSteps(Pages pages) {
super(pages);
}
开发者ID:yandex-qatools,项目名称:htmlelements-examples,代码行数:4,代码来源:EndUserAtMainPageSteps.java
示例11: GoogleNavigation
import net.thucydides.core.pages.Pages; //导入依赖的package包/类
public GoogleNavigation(Pages pages)
{
super(pages);
}
开发者ID:atinfo,项目名称:at.info-knowledge-base,代码行数:5,代码来源:GoogleNavigation.java
注:本文中的net.thucydides.core.pages.Pages类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论