MultiStepCompositeTest.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:scanning 作者:
/**
 * This test checks that the 'energy' scannable changed the default
 * bounds to its bounds (35000)
 * @throws Exception
 */
@Test
public void checkRedWhenOutOfBounds() throws Exception {
    try {
        model.addRange(35000.1, 45000, 100);
        synchExec(()->controller.beanToUI());
        Color red = new Color(bot.getDisplay(), 255, 0, 0, 255);
        assertEquals(red, bot.styledText(0).foregroundColor());
        assertEquals(red, bot.styledText(1).foregroundColor());


    } finally {
        model.clear();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号