コード例 #1
0
 private void doNewCMETest(String menuPath, String expectedResult, String value) {
   validateErrorMessage(expectedResult, value);
   UITestingUtilities.activateMenuItem(editor.getCanvas().getMenu(), "New::" + menuPath);
   assertEquals("Did not find expected error text in input dialog.", expectedResult, errorTxt);
 }
コード例 #2
0
 private void doRenameTest(String expectedResult, String name) {
   validateErrorMessage(expectedResult, "*");
   UITestingUtilities.activateMenuItem(editor.getCanvas().getMenu(), "Rename");
 }