JBoss Tools SVN: r13652 - in trunk/as/tests/org.jboss.ide.eclipse.as.ui.test: .settings and 14 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 21:07:26 -0500 (Tue, 17 Feb 2009)
New Revision: 13652
Added:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.classpath
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.project
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/build.properties
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/plugin.xml
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/server/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/server/default/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/server/default/tmp/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/server/default/tmp/jbosstoolsTemp/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AllAsUiTests.java
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/NewServerWizardTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3824 JUnit Test added
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.classpath
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.classpath (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.classpath 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.project
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.project (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.project 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as.ui.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/org.eclipse.jdt.core.prefs 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,7 @@
+#Fri Feb 13 13:01:05 PST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test Plug-in
+Bundle-SymbolicName: org.jboss.ide.eclipse.as.ui.test;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.junit,
+ org.eclipse.ui,
+ org.jboss.tools.tests;bundle-version="2.0.0",
+ org.eclipse.wst.server.core;bundle-version="1.1.3",
+ org.eclipse.equinox.common;bundle-version="3.4.0",
+ org.eclipse.jdt.launching;bundle-version="3.4.1",
+ org.eclipse.core.runtime;bundle-version="3.4.0",
+ org.eclipse.core.resources;bundle-version="3.4.2",
+ org.jboss.ide.eclipse.as.ui;bundle-version="1.0.0"
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/build.properties
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/build.properties (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/build.properties 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/plugin.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/plugin.xml (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/plugin.xml 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+</plugin>
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AllAsUiTests.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AllAsUiTests.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AllAsUiTests.java 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,16 @@
+package org.jboss.ide.eclipse.as.ui.test;
+
+import org.jboss.ide.eclipse.as.ui.wizards.test.NewServerWizardTest;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllAsUiTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(AllAsUiTests.class.getName());
+ suite.addTestSuite(NewServerWizardTest.class);
+ return suite;
+ }
+
+}
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AllAsUiTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/NewServerWizardTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/NewServerWizardTest.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/NewServerWizardTest.java 2009-02-18 02:07:26 UTC (rev 13652)
@@ -0,0 +1,128 @@
+package org.jboss.ide.eclipse.as.ui.wizards.test;
+
+import java.io.PrintWriter;
+import java.io.StringWriter;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.ILogListener;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.jface.wizard.IWizard;
+import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Tree;
+import org.eclipse.swt.widgets.TreeItem;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.wst.server.core.IRuntimeType;
+import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.eclipse.wst.server.core.internal.RuntimeWorkingCopy;
+import org.jboss.ide.eclipse.as.ui.wizards.JBossServerWizardFragment;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.SwtUtils;
+import org.jboss.tools.test.util.WorkbenchUtils;
+
+public class NewServerWizardTest extends TestCase implements ILogListener {
+
+ public static final String JBOSS_AS_4_2 = "JBoss AS 4.2";
+ public static final String JBOSS_COMMUNITY = "JBoss Community";
+ public static final String NEW_SERVER_WIZARD_ID = "org.eclipse.wst.server.ui.new.server";
+ public static final String JBOSS_AS_CORE_RUNTIME_CONFIGURATION_NAME = "org.jboss.ide.eclipse.as.core.runtime.configurationName";
+ public static final String PROPERTY_VM_TYPE_ID = "PROPERTY_VM_TYPE_ID";
+ public static final String PROPERTY_VM_ID = "PROPERTY_VM_ID";
+ public static final String JBOSS_PATH_PROP_NAME = "jbosstools.test.jboss.home.4.2";
+ public static final String JBOSS_AS_RUNTIME_ID = "org.jboss.ide.eclipse.as.runtime.42";
+
+ public NewServerWizardTest(String name) {
+ super(name);
+ Platform.addLogListener(this);
+ }
+
+ public void testJbide() throws CoreException {
+
+ String jbossPath = System.getProperty(JBOSS_PATH_PROP_NAME);
+ if(jbossPath==null) {
+ throw new IllegalArgumentException("Yo have to define " + JBOSS_PATH_PROP_NAME
+ + "system property which points to JBoss AS 4.2 home folder");
+ }
+
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null, null, JBOSS_AS_RUNTIME_ID
+ );
+ if (runtimeTypes.length > 0) {
+ IRuntimeWorkingCopy runtime = runtimeTypes[0].createRuntime(null, null);
+ runtime.setLocation(new Path(JBOSS_PATH_PROP_NAME));
+ runtime.setName("test");
+ IVMInstall defaultVM = JavaRuntime.getDefaultVMInstall();
+ ((RuntimeWorkingCopy) runtime).setAttribute(PROPERTY_VM_ID,
+ defaultVM.getId());
+ ((RuntimeWorkingCopy) runtime).setAttribute(PROPERTY_VM_TYPE_ID,
+ defaultVM.getVMInstallType().getId());
+ ((RuntimeWorkingCopy) runtime).setAttribute(
+ JBOSS_AS_CORE_RUNTIME_CONFIGURATION_NAME,
+ "default");
+ runtime.save(false, null);
+ }
+
+ IWizard newServerWizard = WorkbenchUtils.findWizardByDefId(NEW_SERVER_WIZARD_ID);
+
+ WizardDialog dialog = new WizardDialog(
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ newServerWizard);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ Composite pageControl = (Composite)newServerWizard.getStartingPage().getControl();
+
+ Tree tree = (Tree)SwtUtils.findControlByClass(pageControl, Tree.class);
+ TreeItem[] items = tree.getItems();
+ for (TreeItem treeItem : items) {
+ if(treeItem.getText().equals(JBOSS_COMMUNITY)) {
+ treeItem.clearAll(true);
+ TreeItem jBossAS42 = new TreeItem(treeItem,SWT.NONE);
+ jBossAS42.setText(JBOSS_AS_4_2);
+ tree.setSelection(jBossAS42);
+ JobUtils.delay(1000);
+ dialog.showPage(newServerWizard.getStartingPage().getNextPage());
+ JobUtils.delay(1000);
+ }
+ }
+ dialog.close();
+ newServerWizard = WorkbenchUtils.findWizardByDefId(NEW_SERVER_WIZARD_ID);
+ dialog = new WizardDialog(
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ newServerWizard);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ pageControl = (Composite)newServerWizard.getStartingPage().getControl();
+ tree = (Tree)SwtUtils.findControlByClass(pageControl, Tree.class);
+ items = tree.getItems();
+ for (TreeItem treeItem : items) {
+ if(treeItem.getText().equals(JBOSS_COMMUNITY)) {
+ treeItem.clearAll(true);
+ TreeItem jBossAS42 = new TreeItem(treeItem,SWT.NONE);
+ jBossAS42.setText(JBOSS_AS_4_2);
+ tree.setSelection(jBossAS42);
+ JobUtils.delay(1000);
+ newServerWizard.performFinish();
+ JobUtils.delay(1000);
+ }
+ }
+ dialog.close();
+
+ }
+
+ @Override
+ public void logging(IStatus status, String plugin) {
+ StringWriter out = new StringWriter();
+ out.append(status.getMessage()).append('\n');
+ status.getException().printStackTrace(new PrintWriter(out));
+ if(out.toString().contains(JBossServerWizardFragment.class.getName())) {
+ fail(out.toString());
+ }
+ }
+}
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/wizards/test/NewServerWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
17 years, 1 month
JBoss Tools SVN: r13650 - trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 18:43:34 -0500 (Tue, 17 Feb 2009)
New Revision: 13650
Modified:
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java
Log:
Increase code coverage for example
Modified: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java 2009-02-17 21:55:12 UTC (rev 13649)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java 2009-02-17 23:43:34 UTC (rev 13650)
@@ -26,17 +26,50 @@
*/
public class MessageAndCheckboxDialogTest extends TestCase {
- public void testDialogCreated() {
+ public void testDialogSingleCheckBox() {
Properties properties = new Properties();
properties.put(MessageAndCheckboxDialog.MESSAGE, "Message");
properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE, "Checkbox message");
properties.put(MessageAndCheckboxDialog.CHECKED, Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.BUTTONS, new String[]{" B1","B2"});
MessageAndCheckboxDialog dialog = new MessageAndCheckboxDialog(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
dialog.setBlockOnOpen(false);
dialog.open();
dialog.close();
+ }
+
+ public void testDialogMultiCheckBox() {
+ Properties properties = new Properties();
+ properties.put(MessageAndCheckboxDialog.MESSAGE, "Message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE, "Checkbox message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE+"_1", "Checkbox message1");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE+"_2", "Checkbox message2");
+ properties.put(MessageAndCheckboxDialog.CHECKED, Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.CHECKED + "_1", Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.CHECKED + "_2", Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.SEPARATOR + "_" + 1, "5");
+ properties.put(MessageAndCheckboxDialog.SEPARATOR + "_" + 2, "5");
+ MessageAndCheckboxDialog dialog = new MessageAndCheckboxDialog(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ dialog.close();
}
+ public void testDialogMultiCheckBoxNoSeparator() {
+ Properties properties = new Properties();
+ properties.put(MessageAndCheckboxDialog.MESSAGE, "Message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE, "Checkbox message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE+"_1", "Checkbox message1");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE+"_2", "Checkbox message2");
+ properties.put(MessageAndCheckboxDialog.CHECKED, Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.CHECKED + "_1", Boolean.TRUE);
+ properties.put(MessageAndCheckboxDialog.CHECKED + "_2", Boolean.TRUE);
+ MessageAndCheckboxDialog dialog = new MessageAndCheckboxDialog(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ dialog.close();
+ }
+
/**
* Test method for {@link org.jboss.tools.common.model.ui.dialog.MessageAndCheckboxDialog#buttonPressed(int)}.
*/
17 years, 1 month
JBoss Tools SVN: r13649 - trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 16:55:12 -0500 (Tue, 17 Feb 2009)
New Revision: 13649
Added:
trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/XModelTransferBufferTest.java
Modified:
trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/CommonModelAllTests.java
Log:
add tests for ModelTransferBuffer class
Modified: trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/CommonModelAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/CommonModelAllTests.java 2009-02-17 21:54:36 UTC (rev 13648)
+++ trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/CommonModelAllTests.java 2009-02-17 21:55:12 UTC (rev 13649)
@@ -29,6 +29,7 @@
suite.addTestSuite(ClassPathTest.class);
suite.addTestSuite(AntParserTest.class);
suite.addTestSuite(DeveloperExceptionTest.class);
+ suite.addTestSuite(XModelTransferBufferTest.class);
return suite;
}
}
Added: trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/XModelTransferBufferTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/XModelTransferBufferTest.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/XModelTransferBufferTest.java 2009-02-17 21:55:12 UTC (rev 13649)
@@ -0,0 +1,41 @@
+/**
+ *
+ */
+package org.jboss.tools.common.model.test;
+
+import org.jboss.tools.common.model.XModelTransferBuffer;
+
+import junit.framework.TestCase;
+
+/**
+ * @author eskimo
+ *
+ */
+public class XModelTransferBufferTest extends TestCase {
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.XModelTransferBuffer#getInstance()}.
+ */
+ public void testGetInstance() {
+ assertNotNull(XModelTransferBuffer.getInstance());
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.XModelTransferBuffer#enable()}.
+ */
+ public void testEnable() {
+ XModelTransferBuffer.getInstance().enable();
+ assertTrue(XModelTransferBuffer.getInstance().isEnabled());
+ assertNotNull(XModelTransferBuffer.getInstance().getBuffer());
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.XModelTransferBuffer#disable()}.
+ */
+ public void testDisable() {
+ XModelTransferBuffer.getInstance().disable();
+ assertFalse(XModelTransferBuffer.getInstance().isEnabled());
+ assertNull(XModelTransferBuffer.getInstance().getBuffer());
+ }
+
+}
Property changes on: trunk/common/tests/org.jboss.tools.common.model.test/src/org/jboss/tools/common/model/test/XModelTransferBufferTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
17 years, 1 month
JBoss Tools SVN: r13648 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 16:54:36 -0500 (Tue, 17 Feb 2009)
New Revision: 13648
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/ELVariablesPreferencePage.java
Log:
add ID contant for PreferencePage implementation class
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/ELVariablesPreferencePage.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/ELVariablesPreferencePage.java 2009-02-17 21:46:55 UTC (rev 13647)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/ELVariablesPreferencePage.java 2009-02-17 21:54:36 UTC (rev 13648)
@@ -33,6 +33,7 @@
*/
public class ELVariablesPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
+ public static final String ID = "org.jboss.tools.common.xstudio.elvariables";
/** The el. */
private GlobalElVariablesComposite el = new GlobalElVariablesComposite();
17 years, 1 month
JBoss Tools SVN: r13647 - trunk/vpe/tests/org.jboss.tools.vpe.test/src/org/jboss/tools/vpe/editor/preferences.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 16:46:55 -0500 (Tue, 17 Feb 2009)
New Revision: 13647
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.test/src/org/jboss/tools/vpe/editor/preferences/VpeEditorPreferencesPageTest.java
Log:
enable test for EL preferences
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/src/org/jboss/tools/vpe/editor/preferences/VpeEditorPreferencesPageTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/src/org/jboss/tools/vpe/editor/preferences/VpeEditorPreferencesPageTest.java 2009-02-17 21:40:53 UTC (rev 13646)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/src/org/jboss/tools/vpe/editor/preferences/VpeEditorPreferencesPageTest.java 2009-02-17 21:46:55 UTC (rev 13647)
@@ -31,4 +31,20 @@
prefDialog.close();
}
}
+
+ public void testVpeEditorELPreferencesPageShow() {
+ PreferenceDialog prefDialog =
+ WorkbenchUtils.createPreferenceDialog(
+ ELVariablesPreferencePage.ID);
+
+ try {
+ prefDialog.setBlockOnOpen(false);
+ prefDialog.open();
+
+ Object selectedPage = prefDialog.getSelectedPage();
+ assertTrue("Selected page is not an instance of org.jboss.tools.vpe.editor.preferences.ELVariablesPreferencePage", selectedPage instanceof ELVariablesPreferencePage);
+ } finally {
+ prefDialog.close();
+ }
+ }
}
17 years, 1 month
JBoss Tools SVN: r13646 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 16:40:53 -0500 (Tue, 17 Feb 2009)
New Revision: 13646
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
Log:
enable back seam core tests
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2009-02-17 21:39:32 UTC (rev 13645)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2009-02-17 21:40:53 UTC (rev 13646)
@@ -29,9 +29,9 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("All tests for " + PLUGIN_ID);
-// suite.addTestSuite(ScannerTest.class);
-// suite.addTestSuite(SerializationTest.class);
-// suite.addTestSuite(SeamBigProjectTest.class);
+ suite.addTestSuite(ScannerTest.class);
+ suite.addTestSuite(SerializationTest.class);
+ suite.addTestSuite(SeamBigProjectTest.class);
suite.addTestSuite(SeamEARTest.class);
suite.addTestSuite(SeamRuntimeListConverterTest.class);
suite.addTestSuite(SeamRuntimeManagerTest.class);
17 years, 1 month
JBoss Tools SVN: r13645 - in trunk: common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-17 16:39:32 -0500 (Tue, 17 Feb 2009)
New Revision: 13645
Added:
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/ErrorDialogTest.java
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/SwtUtils.java
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/dialog/MessageAndCheckboxDialog.java
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
Log:
enable tests for common.model.ui.dialog package
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/dialog/MessageAndCheckboxDialog.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/dialog/MessageAndCheckboxDialog.java 2009-02-17 20:06:36 UTC (rev 13644)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/dialog/MessageAndCheckboxDialog.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -126,9 +126,9 @@
}
protected void buttonPressed(int buttonId) {
- properties.put(CHECKED, new Boolean(button.getSelection()));
+ properties.put(CHECKED, Boolean.valueOf(button.getSelection()));
for (int i = 0; i < buttons.length; i++) {
- properties.put(CHECKED + "_" + (i + 1), new Boolean(buttons[i].getSelection()));
+ properties.put(CHECKED + "_" + (i + 1), Boolean.valueOf(buttons[i].getSelection()));
}
super.buttonPressed(buttonId);
}
Added: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/ErrorDialogTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/ErrorDialogTest.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/ErrorDialogTest.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -0,0 +1,115 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.common.model.ui.dialog.test;
+
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.jboss.tools.common.model.ui.dialog.ErrorDialog;
+import org.jboss.tools.test.util.JobUtils;
+
+import junit.framework.TestCase;
+
+/**
+ * @author eskimo
+ *
+ */
+public class ErrorDialogTest extends TestCase {
+
+ /**
+ * @param name
+ */
+ public ErrorDialogTest(String name) {
+ super(name);
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.ErrorDialog#buttonPressed(int)}.
+ */
+ public void testButtonPressed() {
+ ErrorDialogTestWrapper errDialog = new ErrorDialogTestWrapper(Display.getCurrent().getActiveShell(),"Title1",new Exception("Exception Message"));
+
+ errDialog.setBlockOnOpen(false);
+ errDialog.open();
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.close();
+ }
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.ErrorDialog#cancelPressed()}.
+ */
+ public void testCancelPressed() {
+ ErrorDialogTestWrapper errDialog = new ErrorDialogTestWrapper(Display.getCurrent().getActiveShell(),"Title1",new Exception("Exception Message"));
+
+ errDialog.setBlockOnOpen(false);
+ errDialog.open();
+ errDialog.buttonPressed(IDialogConstants.CANCEL_ID);
+ assertEquals(Window.CANCEL, errDialog.getReturnCode());
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.ErrorDialog#okPressed()}.
+ */
+ public void testOkPressed() {
+ ErrorDialogTestWrapper errDialog = new ErrorDialogTestWrapper(Display.getCurrent().getActiveShell(),"Title1",new Exception("Exception Message"));
+
+ errDialog.setBlockOnOpen(false);
+ errDialog.open();
+ errDialog.buttonPressed(IDialogConstants.OK_ID);
+ assertEquals(Window.OK, errDialog.getReturnCode());
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.ErrorDialog#ErrorDialog(org.eclipse.swt.widgets.Shell, java.lang.String, java.lang.String, java.lang.Throwable)}.
+ */
+ public void testErrorDialogShellStringStringThrowable() {
+ ErrorDialogTestWrapper errDialog = new ErrorDialogTestWrapper(Display.getCurrent().getActiveShell(),"Title1","Message",new Exception("Exception Message"));
+
+ errDialog.setBlockOnOpen(false);
+ errDialog.open();
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.close();
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.ErrorDialog#ErrorDialog(org.eclipse.swt.widgets.Shell, java.lang.String, java.lang.String, java.lang.Throwable)}.
+ */
+ public void testErrorDialogShellStringThrowable() {
+ ErrorDialogTestWrapper errDialog = new ErrorDialogTestWrapper(Display.getCurrent().getActiveShell(),"Title1",new Exception("Exception Message"));
+
+ errDialog.setBlockOnOpen(false);
+ errDialog.open();
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.buttonPressed(IDialogConstants.DETAILS_ID);
+ errDialog.close();
+ }
+ public static class ErrorDialogTestWrapper extends ErrorDialog {
+
+ public ErrorDialogTestWrapper(Shell shell, String title,
+ String message, Throwable exception) {
+ super(shell, title, message, exception);
+ }
+
+ public ErrorDialogTestWrapper(Shell shell, String title,
+ Throwable exception) {
+ super(shell, title, exception);
+ }
+
+ public void buttonPressed(int id) {
+ // TODO Auto-generated method stub
+ super.buttonPressed(id);
+ }
+
+
+ }
+}
Property changes on: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/ErrorDialogTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.common.model.ui.dialog.test;
+
+import java.util.Properties;
+
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.jboss.tools.common.model.ui.dialog.MessageAndCheckboxDialog;
+
+import junit.framework.TestCase;
+
+/**
+ * @author eskimo
+ *
+ */
+public class MessageAndCheckboxDialogTest extends TestCase {
+
+ public void testDialogCreated() {
+ Properties properties = new Properties();
+ properties.put(MessageAndCheckboxDialog.MESSAGE, "Message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE, "Checkbox message");
+ properties.put(MessageAndCheckboxDialog.CHECKED, Boolean.TRUE);
+ MessageAndCheckboxDialog dialog = new MessageAndCheckboxDialog(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ dialog.close();
+ }
+
+ /**
+ * Test method for {@link org.jboss.tools.common.model.ui.dialog.MessageAndCheckboxDialog#buttonPressed(int)}.
+ */
+ public void testButtonPressed() {
+ Properties properties = new Properties();
+ properties.put(MessageAndCheckboxDialog.MESSAGE, "Message");
+ properties.put(MessageAndCheckboxDialog.CHECKBOX_MESSAGE, "Checkbox message");
+ properties.put(MessageAndCheckboxDialog.CHECKED, Boolean.TRUE);
+ MessageAndCheckboxDialogWrapperTest dialog = new MessageAndCheckboxDialogWrapperTest(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ dialog.buttonPressed(MessageAndCheckboxDialog.OK);
+ assertEquals(dialog.getReturnCode(), Window.OK);
+
+ dialog = new MessageAndCheckboxDialogWrapperTest(Display.getCurrent().getActiveShell(),"title",MessageDialog.ERROR,properties);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ dialog.buttonPressed(MessageAndCheckboxDialog.CANCEL);
+ assertEquals(dialog.getReturnCode(), Window.CANCEL);
+ }
+
+
+ public static class MessageAndCheckboxDialogWrapperTest extends MessageAndCheckboxDialog {
+
+ public MessageAndCheckboxDialogWrapperTest(Shell parentShell,
+ String dialogTitle, int dialogImageType, Properties p) {
+ super(parentShell, dialogTitle, dialogImageType, p);
+ }
+ @Override
+ public void buttonPressed(int buttonId) {
+ super.buttonPressed(buttonId);
+ }
+
+ }
+}
Property changes on: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/dialog/test/MessageAndCheckboxDialogTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-02-17 20:06:36 UTC (rev 13644)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -11,6 +11,9 @@
package org.jboss.tools.common.model.ui.test;
import org.jboss.tools.common.core.jdt.test.FavoritesClassControllerTest;
+import org.jboss.tools.common.model.ui.dialog.MessageAndCheckboxDialog;
+import org.jboss.tools.common.model.ui.dialog.test.ErrorDialogTest;
+import org.jboss.tools.common.model.ui.dialog.test.MessageAndCheckboxDialogTest;
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -28,6 +31,8 @@
suite.addTestSuite(ModelUiPreferencesPageTest.class);
suite.addTestSuite(ObjectDecoratorTest.class);
suite.addTestSuite(FavoritesClassControllerTest.class);
+ suite.addTestSuite(ErrorDialogTest.class);
+ suite.addTestSuite(MessageAndCheckboxDialogTest.class);
return suite;
}
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2009-02-17 20:06:36 UTC (rev 13644)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -29,9 +29,9 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("All tests for " + PLUGIN_ID);
- suite.addTestSuite(ScannerTest.class);
- suite.addTestSuite(SerializationTest.class);
- suite.addTestSuite(SeamBigProjectTest.class);
+// suite.addTestSuite(ScannerTest.class);
+// suite.addTestSuite(SerializationTest.class);
+// suite.addTestSuite(SeamBigProjectTest.class);
suite.addTestSuite(SeamEARTest.class);
suite.addTestSuite(SeamRuntimeListConverterTest.class);
suite.addTestSuite(SeamRuntimeManagerTest.class);
Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/SwtUtils.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/SwtUtils.java (rev 0)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/SwtUtils.java 2009-02-17 21:39:32 UTC (rev 13645)
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.test.util;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+
+/**
+ * @author eskimo
+ *
+ */
+public class SwtUtils {
+ public static Control findControlByClass(Composite comp, Class claz) {
+ for (Control child : comp.getChildren()) {
+ if(child.getClass()==claz) {
+ return child;
+ } else if(child instanceof Composite){
+ Control control = findControlByClass((Composite)child, claz);
+ if(control!=null) return control;
+ }
+ }
+ return null;
+ }
+}
Property changes on: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/SwtUtils.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
17 years, 1 month
JBoss Tools SVN: r13644 - trunk/documentation/jboss-tools-docs/index/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-02-17 15:06:36 -0500 (Tue, 17 Feb 2009)
New Revision: 13644
Modified:
trunk/documentation/jboss-tools-docs/index/en/master.xml
Log:
double jbpm guide build is removed from nightly builds, the index page is corrected
Modified: trunk/documentation/jboss-tools-docs/index/en/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en/master.xml 2009-02-17 18:29:56 UTC (rev 13643)
+++ trunk/documentation/jboss-tools-docs/index/en/master.xml 2009-02-17 20:06:36 UTC (rev 13644)
@@ -172,15 +172,6 @@
</indexentry>
<indexentry>
- <primaryie>jBPM Reference Guide <ulink
- url="en/jboss_jbpm_ref_guide/html/index.html">(html)</ulink>
- <ulink url="en/jboss_jbpm_ref_guide/html_single/index.html">(html single)</ulink>
- <ulink url="en/jboss_jbpm_ref_guide/pdf/JBPM_Reference_Guide.pdf"
- >(pdf)</ulink>
- </primaryie>
- </indexentry>
-
- <indexentry>
<primaryie>JMX Reference Guide <ulink
url="en/jmx_ref_guide/html/index.html">(html)</ulink>
<ulink url="en/jmx_ref_guide/html_single/index.html">(html single)</ulink>
17 years, 1 month
JBoss Tools SVN: r13643 - trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-02-17 13:29:56 -0500 (Tue, 17 Feb 2009)
New Revision: 13643
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3500
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-17 18:29:19 UTC (rev 13642)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-17 18:29:56 UTC (rev 13643)
@@ -123,7 +123,7 @@
boolean canFinish = wizard.canFinish();
- System.out.println("Message - "+dialog.getCurrentPage().getErrorMessage());
+ //System.out.println("Message - "+dialog.getCurrentPage().getErrorMessage());
assertTrue("Finish button is disabled.", canFinish);
17 years, 1 month