Permalink
Browse files

default is now mxunit, changed icon to match.

  • Loading branch information...
1 parent 45a21e5 commit 3e73138715619d66e3804f55d2374eb24fac97c1 @denuno denuno committed Jul 3, 2012
@@ -9,10 +9,10 @@
class="org.cfeclipse.cfml.cfunit.wizards.NewCFUnitWizard"
finalPerspective="org.cfeclipse.cfml.perspective.CFML"
hasPages="true"
- helpHref="http://cfunit.sourceforge.net/docs.php"
- icon="icons/obj16/cfunit.png"
+ helpHref="http://mxunit.org"
+ icon="icons/obj16/mxunit.png"
id="org.cfeclipse.cfml.cfunit.wizards.NewCFUnitWizard"
- name="CFUnit Test"
+ name="MXUnit Test"
preferredPerspectives="org.cfeclipse.cfml.perspective.CFML"
project="false"/>
</extension>
@@ -22,7 +22,7 @@
allowMultiple="false"
category="org.cfeclipse.cfml"
class="org.cfeclipse.cfml.cfunit.views.CFUnitView"
- icon="icons/obj16/cfunit.png"
+ icon="icons/obj16/mxunit.png"
id="org.cfeclipse.cfml.cfunit.views.CFUnitTest"
name="CFUnit"/>
</extension>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -42,12 +42,12 @@
*/
public class NewCFUnitWizard extends Wizard implements INewWizard {
- public final static String TITLE = "New CFUnit Testcase";
+ public final static String TITLE = "New MXUnit Testcase";
public final static String PREFERENCES_PAGE_NAME = "preferencesPage";
public final static String METHODS_PAGE_NAME = "methodsPage";
- public final static String PAGE_TITLE = "CFUnit Wizard";
- public final static String PAGE_DESCRIPTION = "For help or documentation: http://cfunit.sf.net";
- public final ImageDescriptor PAGE_TITLE_IMG = ImageDescriptor.createFromFile( getClass(), "../../../../../../icons/obj16/cfunit_descriptor.gif" );
+ public final static String PAGE_TITLE = "MXUnit Wizard";
+ public final static String PAGE_DESCRIPTION = "For help or documentation: http://mxunit.org";
+ public final ImageDescriptor PAGE_TITLE_IMG = ImageDescriptor.createFromFile( getClass(), "../../../../../../icons/obj16/mxunit_descriptor.gif" );
private NewCFUnitWizardPage1 preferencesPage;
private NewCFUnitWizardPage2 methodsPage;
@@ -173,7 +173,7 @@ public void modifyText(ModifyEvent e) {
dialogChanged();
}
});
- frameworkExtendsPath.setText("net.sourceforge.cfunit.framework");
+ frameworkExtendsPath.setText("mxunit.framework");
Button button2 = new Button(parent, SWT.PUSH);
button2.setText(" Browse... ");
@@ -202,14 +202,25 @@ public void createFrameworkControls( Composite parent ) {
gd = new GridData();
gd.horizontalIndent = 5;
+ fwMxUnit = new Button(panel, SWT.RADIO);
+ fwMxUnit.setText("New MXUnit Test");
+ fwMxUnit.setLayoutData(gd);
+ fwMxUnit.setSelection( true );
+ fwMxUnit.addSelectionListener(new SelectionListener() {
+ public void widgetSelected(SelectionEvent e) {
+ dialogChanged();
+ frameworkChanged(TestFrameworkType.MXUNIT);
+ }
+ public void widgetDefaultSelected(SelectionEvent e) {}
+ });
+
fwCFUnit = new Button(panel, SWT.RADIO);
fwCFUnit.setText("New CFUnit Test");
fwCFUnit.setLayoutData(gd);
- fwCFUnit.setSelection( true );
fwCFUnit.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
- dialogChanged();
frameworkChanged(TestFrameworkType.CFUNIT);
+ dialogChanged();
}
public void widgetDefaultSelected(SelectionEvent e) {}
});
@@ -225,17 +236,6 @@ public void widgetSelected(SelectionEvent e) {
public void widgetDefaultSelected(SelectionEvent e) {}
});
- fwMxUnit = new Button(panel, SWT.RADIO);
- fwMxUnit.setText("New MXUnit Test");
- fwMxUnit.setLayoutData(gd);
- fwMxUnit.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent e) {
- frameworkChanged(TestFrameworkType.MXUNIT);
- dialogChanged();
- }
- public void widgetDefaultSelected(SelectionEvent e) {}
- });
-
}

0 comments on commit 3e73138

Please sign in to comment.