From 6653aa0f0d37debd7c1de5ebe191fd6dc2a651d9 Mon Sep 17 00:00:00 2001 From: Chris Recoskie Date: Fri, 8 Jun 2007 14:46:39 +0000 Subject: [PATCH] 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. --- .../ui/tests/wizardPages/AlwaysPresentWizardPage.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/wizardPages/AlwaysPresentWizardPage.java b/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/wizardPages/AlwaysPresentWizardPage.java index 6f473b6f608..ab11873cca1 100644 --- a/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/wizardPages/AlwaysPresentWizardPage.java +++ b/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/wizardPages/AlwaysPresentWizardPage.java @@ -53,7 +53,7 @@ public class AlwaysPresentWizardPage extends MBSCustomPage Text pageText = new Text(composite, SWT.CENTER); 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); } @@ -71,12 +71,12 @@ public class AlwaysPresentWizardPage extends MBSCustomPage public String getDescription() { - return new String("My description"); + return new String("This page is for testing, please ignore it."); } public String getErrorMessage() { - return new String("My error msg"); + return null; } public Image getImage() @@ -92,7 +92,7 @@ public class AlwaysPresentWizardPage extends MBSCustomPage public String getTitle() { - return new String("My Title"); + return new String("Test Page"); } public void performHelp()