- Timestamp:
- 02/05/06 12:39:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestNewClassWizard.java
r237 r290 2 2 * This file is part of Modelica Development Tooling. 3 3 * 4 * Copyright (c) 2005, Link �pings universitet, Department of4 * Copyright (c) 2005, Link�pings universitet, Department of 5 5 * Computer and Information Science, PELAB 6 6 * … … 23 23 * distribution. 24 24 * 25 * * Neither the name of Link �pings universitet nor the names of its25 * * Neither the name of Link�pings universitet nor the names of its 26 26 * contributors may be used to endorse or promote products derived from 27 27 * this software without specific prior written permission. … … 53 53 import org.modelica.mdt.test.util.Utility; 54 54 import org.modelica.mdt.ui.wizards.NewClassWizard; 55 import org.modelica.mdt.ui.wizards.NewTypePage; 55 56 56 57 import abbot.tester.swt.ButtonTester; … … 138 139 TextTester.getInstrumentedText(NewClassWizard.CLASS_NAME_TAG); 139 140 sourceFolder = 140 TextTester.getInstrumentedText(New ClassWizard.SOURCE_FOLDER_TAG);141 TextTester.getInstrumentedText(NewTypePage.SOURCE_FOLDER_TAG); 141 142 initialEquation = 142 143 ButtonTester.getInstrumentedButton(NewClassWizard.INITIAL_EQUATION_TAG); … … 194 195 195 196 ttester.actionEnterText(sourceFolder, PROJECT_NAME_1); 196 ttester.actionEnterText(className, "# ¤%&");197 assert True("Finish button should not be disabled for a warning",198 finish.getEnabled());197 ttester.actionEnterText(className, "#�%&"); 198 assertFalse("Finish button should be disabled when an illegal class " + 199 "name is entered", finish.getEnabled()); 199 200 200 201 /*
Note: See TracChangeset
for help on using the changeset viewer.