当前位置: 首页>>代码示例>>Java>>正文


Java NoNodesFoundException类代码示例

本文整理汇总了Java中org.loadui.testfx.exceptions.NoNodesFoundException的典型用法代码示例。如果您正苦于以下问题:Java NoNodesFoundException类的具体用法?Java NoNodesFoundException怎么用?Java NoNodesFoundException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


NoNodesFoundException类属于org.loadui.testfx.exceptions包,在下文中一共展示了NoNodesFoundException类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: findQuiet

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
public <T extends Node> Optional<T> findQuiet(String selectorOrText) {
    try {
        return Optional.of(GuiTest.find(selectorOrText));
    } catch (NoNodesFoundException | NoNodesVisibleException e) {
        return Optional.empty();
    }
}
 
开发者ID:HubTurbo,项目名称:HubTurbo,代码行数:8,代码来源:UITest.java

示例2: existsQuiet

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
public boolean existsQuiet(String selector) {
    try {
        return GuiTest.exists(selector);
    } catch (NoNodesFoundException | NoNodesVisibleException e) {
        return false;
    }
}
 
开发者ID:HubTurbo,项目名称:HubTurbo,代码行数:8,代码来源:UITest.java

示例3: indexColumnNotExisting

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void indexColumnNotExisting() throws Exception {
    populate();
    find(hasText("5"));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:6,代码来源:SelectionTableTest.java

示例4: duplicateIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void duplicateIsMissing() throws Exception {
    populate();
    rightClick("temp.pdf");
    assertFalse(exists(DefaultI18nContext.getInstance().i18n("Duplicate")));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:7,代码来源:SelectionTableWithoutDuplicateTest.java

示例5: moveDownIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveDownIsMissing() throws Exception {
    populate();
    rightClick("temp.pdf");
    find(DefaultI18nContext.getInstance().i18n("Move Down"));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:7,代码来源:SelectionTableWithoutMoveTest.java

示例6: moveUpIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveUpIsMissing() throws Exception {
    populate();
    rightClick("temp.pdf");
    find(DefaultI18nContext.getInstance().i18n("Move Up"));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:7,代码来源:SelectionTableWithoutMoveTest.java

示例7: moveBottomIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveBottomIsMissing() throws Exception {
    populate();
    rightClick("temp.pdf");
    find(DefaultI18nContext.getInstance().i18n("Move to Bottom"));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:7,代码来源:SelectionTableWithoutMoveTest.java

示例8: moveTopIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveTopIsMissing() throws Exception {
    populate();
    rightClick("temp.pdf");
    find(DefaultI18nContext.getInstance().i18n("Move to Top"));
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:7,代码来源:SelectionTableWithoutMoveTest.java

示例9: moveDownIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveDownIsMissing() {
    find(b -> b instanceof MoveUpButton);
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:5,代码来源:SelectionTableToolbarWithoutMoveTest.java

示例10: moveUpIsMissing

import org.loadui.testfx.exceptions.NoNodesFoundException; //导入依赖的package包/类
@Test(expected = NoNodesFoundException.class)
public void moveUpIsMissing() {
    find(b -> b instanceof MoveDownButton);
}
 
开发者ID:torakiki,项目名称:pdfsam,代码行数:5,代码来源:SelectionTableToolbarWithoutMoveTest.java


注:本文中的org.loadui.testfx.exceptions.NoNodesFoundException类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。