Changeset 50 for trunk/org.modelcia.mdt.test/New Folder
- Timestamp:
- 10/05/05 16:25:54 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelcia.mdt.test/New Folder/src/org/modelica/mdt/test/TestPerspective.java
r48 r50 10 10 import org.eclipse.ui.WorkbenchException; 11 11 import org.eclipse.ui.console.IConsoleConstants; 12 import org.eclipse.ui.wizards.IWizardCategory; 12 13 13 14 import junit.framework.TestCase; … … 44 45 } 45 46 47 /** 48 * perform tests on modelica perspective 49 * @throws WorkbenchException 50 */ 46 51 public void testModelicaPerspective() throws WorkbenchException 47 52 { … … 84 89 85 90 } 91 /** 92 * perform tests on modelica new wizards catagory 93 * @throws WorkbenchException 94 */ 95 96 public void testModelicaNewWizardsCatagory() 97 { 98 IWizardCategory category = 99 PlatformUI.getWorkbench().getNewWizardRegistry(). 100 findCategory("org.modelica.mdt.ModelicaCategory"); 101 102 assertNotNull("Modelica New Wizards catagory not found", category); 103 assertEquals("Modelica New Wizards catagory labeled unexpectedly", 104 "Modelica", category.getLabel()); 105 106 assertNotNull("New Project Wizard not found", 107 category.findWizard("org.modelica.mdt.NewProjectWizard")); 108 109 assertNotNull("New Class Wizard not found", 110 category.findWizard("org.modelica.mdt.NewClassWizard")); 111 112 } 86 113 87 114
Note: See TracChangeset
for help on using the changeset viewer.