1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

NEW - bug 105466: managedBuilder junit test plugins cause a mgd project creation UI error

https://bugs.eclipse.org/bugs/show_bug.cgi?id=105466

Changed the contents of the test page so that it doesn't look like an error, and indicates that it's a test page.
This commit is contained in:
Chris Recoskie 2007-06-08 14:46:39 +00:00
parent 70485d4e01
commit 6653aa0f0d

View file

@ -53,7 +53,7 @@ public class AlwaysPresentWizardPage extends MBSCustomPage
Text pageText = new Text(composite, SWT.CENTER); Text pageText = new Text(composite, SWT.CENTER);
pageText.setBounds(composite.getBounds()); pageText.setBounds(composite.getBounds());
pageText.setText("always present"); pageText.setText("This page is a test page provided by the org.eclipse.cdt.managedbuilder.ui.tests plugin.");
pageText.setVisible(true); pageText.setVisible(true);
} }
@ -71,12 +71,12 @@ public class AlwaysPresentWizardPage extends MBSCustomPage
public String getDescription() public String getDescription()
{ {
return new String("My description"); return new String("This page is for testing, please ignore it.");
} }
public String getErrorMessage() public String getErrorMessage()
{ {
return new String("My error msg"); return null;
} }
public Image getImage() public Image getImage()
@ -92,7 +92,7 @@ public class AlwaysPresentWizardPage extends MBSCustomPage
public String getTitle() public String getTitle()
{ {
return new String("My Title"); return new String("Test Page");
} }
public void performHelp() public void performHelp()