@Override
public void actionPerformed(ActionEvent e) {
/* Button event listener */
String command = e.getActionCommand();
if (command.equals("Pass")) {
/* Test has passed. Dispose the frame with success message */
testComplete = true;
testResult = true;
System.out.println("Test Passed.");
} else if (command.equals("Fail")) {
/* Test has failed. Dispose the frame and throw exception */
testComplete = true;
testResult = false;
}
}
VolatileImageConfigurationTest.java 文件源码
java
阅读 35
收藏 0
点赞 0
评论 0
项目:openjdk-jdk10
作者:
评论列表
文章目录