JBoss Tools SVN: r44118 - trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-09-28 12:44:55 -0400 (Fri, 28 Sep 2012)
New Revision: 44118
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java
Log:
https://issues.jboss.org/browse/JBIDE-12595 Disabling JAX-RS validator doesn't affect resources validation
https://issues.jboss.org/browse/JBIDE-12741 CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java 2012-09-28 16:44:44 UTC (rev 44117)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java 2012-09-28 16:44:55 UTC (rev 44118)
@@ -46,12 +46,12 @@
public void testDisabledValidator() throws Exception {
IPreferenceStore preferenceStore = CDICorePlugin.getDefault().getPreferenceStore();
try {
- preferenceStore.setValue(SeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, false);
+ preferenceStore.setValue(SeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, SeverityPreferences.DISABLE);
((IPersistentPreferenceStore)preferenceStore).save();
-
+
assertNull("CDICoreValidator is still enabled.", getCDIValidator());
} finally {
- preferenceStore.setValue(SeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, true);
+ preferenceStore.setValue(SeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, SeverityPreferences.ENABLE);
((IPersistentPreferenceStore)preferenceStore).save();
}
assertNotNull("CDICoreValidator is disabled.", getCDIValidator());
12 years, 3 months
JBoss Tools SVN: r44117 - trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-09-28 12:44:44 -0400 (Fri, 28 Sep 2012)
New Revision: 44117
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
Log:
https://issues.jboss.org/browse/JBIDE-12595 Disabling JAX-RS validator doesn't affect resources validation
https://issues.jboss.org/browse/JBIDE-12741 CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-09-28 16:34:36 UTC (rev 44116)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-09-28 16:44:44 UTC (rev 44117)
@@ -132,7 +132,7 @@
* @throws ValidationException
*/
public void testELValidationEnablement() throws CoreException, ValidationException {
- WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, false);
+ WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, SeverityPreferences.DISABLE);
try {
IFile file = project.getFile("WebContent/pages/el.jsp");
@@ -143,13 +143,13 @@
int number = getMarkersNumberByGroupName(IValidator.KB_PROBLEM_MARKER_TYPE, file, IValidator.MARKED_RESOURCE_MESSAGE_GROUP);
assertEquals("Problem marker was found.", 0, number);
- WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, true);
+ WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, SeverityPreferences.ENABLE);
validateFile("WebContent/pages/el.jsp", 0);
number = getMarkersNumberByGroupName(IValidator.KB_PROBLEM_MARKER_TYPE, file, IValidator.MARKED_RESOURCE_MESSAGE_GROUP);
assertEquals("Problem marker was not found.", 1, number);
} finally {
- WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, true);
+ WebKbPlugin.getDefault().getPreferenceStore().setValue(ELSeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, SeverityPreferences.ENABLE);
}
}
12 years, 3 months
JBoss Tools SVN: r44116 - trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-09-28 12:34:36 -0400 (Fri, 28 Sep 2012)
New Revision: 44116
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
Log:
https://issues.jboss.org/browse/JBIDE-12595 Disabling JAX-RS validator doesn't affect resources validation
https://issues.jboss.org/browse/JBIDE-12741 CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 16:09:27 UTC (rev 44115)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 16:34:36 UTC (rev 44116)
@@ -109,15 +109,15 @@
}
String value = p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return ENABLE.equals(value);
+ return ENABLE.equals(value) || p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
}
p = getInstancePreferences();
value = p == null ? null : p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return ENABLE.equals(value);
+ return ENABLE.equals(value) || p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
}
p = getDefaultPreferences();
- return ENABLE.equals(value);
+ return ENABLE.equals(p.get(ENABLE_BLOCK_PREFERENCE_NAME, null)) || p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
}
public String getBuilderOrderPreference(IProject project) {
12 years, 3 months
JBoss Tools SVN: r44115 - trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-09-28 12:09:27 -0400 (Fri, 28 Sep 2012)
New Revision: 44115
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
Log:
https://issues.jboss.org/browse/JBIDE-12595 Disabling JAX-RS validator doesn't affect resources validation
https://issues.jboss.org/browse/JBIDE-12741 CDI (and other JBT common validators) is disabled for workspace if you disable it for project
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 13:36:09 UTC (rev 44114)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/preferences/SeverityPreferences.java 2012-09-28 16:09:27 UTC (rev 44115)
@@ -109,15 +109,15 @@
}
String value = p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
p = getInstancePreferences();
value = p == null ? null : p.get(ENABLE_BLOCK_PREFERENCE_NAME, null);
if(value!=null) {
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
p = getDefaultPreferences();
- return p.getBoolean(ENABLE_BLOCK_PREFERENCE_NAME, false);
+ return ENABLE.equals(value);
}
public String getBuilderOrderPreference(IProject project) {
12 years, 3 months
JBoss Tools SVN: r44114 - in trunk/documentation/whatsnew/vpe: images and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2012-09-28 09:36:09 -0400 (Fri, 28 Sep 2012)
New Revision: 44114
Added:
trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/
trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listAttrs.gif
trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listText.gif
trunk/documentation/whatsnew/vpe/vpe-news-4.0.0.Alpha2.html
Log:
N&N in VPE for Alpha2
Added: trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listAttrs.gif
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listAttrs.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listText.gif
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/vpe/images/4.0.0.Alpha2/listText.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/vpe/vpe-news-4.0.0.Alpha2.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-4.0.0.Alpha2.html (rev 0)
+++ trunk/documentation/whatsnew/vpe/vpe-news-4.0.0.Alpha2.html 2012-09-28 13:36:09 UTC (rev 44114)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>Visual Page Editor/BrowserSim 4.0.0.Alpha2 What's New</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+<body>
+<h1 style="text-align:left">Visual Page Editor/BrowserSim 4.0.0.Alpha2 What's New</h1>
+
+<p align="right">
+<a href="../index.html">< Main Index</a>
+<!--a href="../hibernate/hibernate-news-4.0.0.Alpha2.html">Hibernate Tools ></a-->
+</p>
+
+<table border="0" cellpadding="10" cellspacing="0">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Editor</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b><p>
+ Attribute names and text nodes in selection bar
+ <p></b>
+ </td>
+ <td valign="top">
+ <p>VPE selection bar displays attribute names (Screenshot 1) and text nodes (Screenshot 2) for selected node</p>
+ <p><img src="images/4.0.0.Alpha2/listAttrs.gif" alt="Attributes names in selection bar"/></p>
+ <p><img src="images/4.0.0.Alpha2/listText.gif" alt="Text nodes in selection bar"/></p>
+
+ <p><small>
+ <a href="https://issues.jboss.org/browse/JBIDE-7692">Related Jira</a>
+ </small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+</table>
+</body>
+</html>
12 years, 3 months
JBoss Tools SVN: r44113 - in trunk/as: tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-09-28 05:24:17 -0400 (Fri, 28 Sep 2012)
New Revision: 44113
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/MockPublishMethod4.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java
trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/SingleDeployableFolderTest.java
Log:
unit test cleanup dear god hope it works
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-09-28 08:38:43 UTC (rev 44112)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/publishers/AbstractServerToolsPublisher.java 2012-09-28 09:24:17 UTC (rev 44113)
@@ -113,7 +113,8 @@
}
/**
- * Gets the actual deploy path for this module
+ * Gets the actual deploy path for this module, including all
+ * sub-module folders.
*
* @param moduleTree
* @param server
@@ -123,6 +124,14 @@
return server.getDeploymentLocation(moduleTree, true);
}
+ /**
+ * Gets the actual temp deploy root folder. Do Not deep-dive
+ * into sub-modules
+ *
+ * @param moduleTree
+ * @param server
+ * @return
+ */
protected IPath getTempDeployPath(IModule[] moduleTree, IDeployableServer server) {
return server.getTempDeploymentLocation(moduleTree, false);
}
@@ -402,9 +411,8 @@
monitor.beginTask("Copying Child Module: " + moduleTree[moduleTree.length-1].getName(), 100); //$NON-NLS-1$
try {
IPath destinationPath = getDeployPath(moduleTree, server);
- IPath tempDeployPath = getTempDeployPath(moduleTree, server);
+ IPath tempDeployFolder = getTempDeployPath(moduleTree, server);
IPath destinationFolder = destinationPath.removeLastSegments(1);
- IPath tempDeployFolder = tempDeployPath.removeLastSegments(1);
IPath safeDest = getRootPath(destinationFolder).append(destinationFolder);
IPath safeTempDest = getRootPath(tempDeployFolder).append(tempDeployFolder);
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/MockPublishMethod4.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/MockPublishMethod4.java 2012-09-28 08:38:43 UTC (rev 44112)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/internal/MockPublishMethod4.java 2012-09-28 09:24:17 UTC (rev 44113)
@@ -121,7 +121,7 @@
throw error;
}
if( tempRoot != null && !(new Path(expectedTempRoot).isPrefixOf(tempRoot))) {
- String e = "Expected " + new Path(expectedTempRoot) + " but got: " + root.toString();
+ String e = "Expected " + new Path(expectedTempRoot) + " but got: " + tempRoot.toString();
System.out.println(e);
error = new RuntimeException("Unacceptable use of callback handler: " + e);
throw error;
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java 2012-09-28 08:38:43 UTC (rev 44112)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/AbstractPublishingTest.java 2012-09-28 09:24:17 UTC (rev 44113)
@@ -168,7 +168,7 @@
if( param_deployLoc.equals(ServerParameterUtils.DEPLOY_CUSTOM_NULL) ||
param_deployLoc.equals(ServerParameterUtils.DEPLOY_CUSTOM_ABS) ||
param_deployLoc.equals(ServerParameterUtils.DEPLOY_CUSTOM_REL)) {
- ds.setDeployLocationType(IDeployableServer.DEPLOY_SERVER);
+ ds.setDeployLocationType(IDeployableServer.DEPLOY_CUSTOM);
}
if( param_deployLoc.equals(ServerParameterUtils.DEPLOY_CUSTOM_ABS)) {
String f = getCustomAbsoluteFolder();
@@ -253,6 +253,7 @@
if( MockPublishMethod4.getError() != null ) {
Throwable t = MockPublishMethod4.getError();
System.out.println(" " + t.getMessage());
+ t.printStackTrace();
fail("Error when publishing: " + t.getMessage());
}
}
@@ -260,7 +261,8 @@
IPath[] changed2 = MockPublishMethod4.getChanged();
IPath[] removed2 = MockPublishMethod4.getRemoved();
IPath[] temp2 = MockPublishMethod4.getTempPaths();
- System.out.println(" " + changed2.length + ", " + removed2.length + ", " + temp2.length);
+ String t = " " + changed2.length + ", " + removed2.length + ", " + temp2.length;
+// System.out.println(t);
assertEquals(changed2.length, changed);
assertEquals(removed2.length, removed);
assertEquals(temp2.length, temp);
Modified: trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/SingleDeployableFolderTest.java
===================================================================
--- trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/SingleDeployableFolderTest.java 2012-09-28 08:38:43 UTC (rev 44112)
+++ trunk/as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/parametized/server/publishing/SingleDeployableFolderTest.java 2012-09-28 09:24:17 UTC (rev 44113)
@@ -147,7 +147,7 @@
IPath[] changed = MockPublishMethod4.getChanged();
IPath[] removed = MockPublishMethod4.getRemoved();
IPath[] temp = MockPublishMethod4.getTempPaths();
- System.out.println(" " + changed.length + ", " + removed.length + ", " + temp.length);
+ //System.out.println(" " + changed.length + ", " + removed.length + ", " + temp.length);
if( !isZipped() ) {
boolean foundRemoved = false;
for( int i = 0; i < removed.length; i++ ) {
12 years, 3 months
JBoss Tools SVN: r44112 - in trunk/struts/tests/org.jboss.tools.struts.ui.bot.test: src/org/jboss/tools/struts/ui/bot/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-09-28 04:38:43 -0400 (Fri, 28 Sep 2012)
New Revision: 44112
Added:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml
Log:
added Jenkins test suite for struts
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml 2012-09-28 04:35:59 UTC (rev 44111)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/pom.xml 2012-09-28 08:38:43 UTC (rev 44112)
@@ -15,6 +15,7 @@
<properties>
<additionalSystemProperties></additionalSystemProperties>
<systemProperties>${additionalSystemProperties} -Dswtbot.test.properties.file=${project.basedir}/properties/swtbot.properties</systemProperties>
+ <suiteClass>org.jboss.tools.struts.ui.bot.test.StrutsAllBotTests</suiteClass>
</properties>
<profiles>
<profile>
@@ -23,6 +24,12 @@
<additionalSystemProperties>-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y</additionalSystemProperties>
</properties>
</profile>
+ <profile>
+ <id>jenkins</id>
+ <properties>
+ <suiteClass>org.jboss.tools.struts.ui.bot.test.JenkinsTestSuite</suiteClass>
+ </properties>
+ </profile>
</profiles>
<build>
<plugins>
@@ -56,7 +63,7 @@
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<testSuite>org.jboss.tools.struts.ui.bot.test</testSuite>
- <testClass>org.jboss.tools.struts.ui.bot.test.StrutsAllBotTests</testClass>
+ <testClass>${suiteClass}</testClass>
<useUIThread>false</useUIThread>
<skip>${swtbot.test.skip}</skip>
<dependencies combine.children="append">
Added: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/JenkinsTestSuite.java 2012-09-28 08:38:43 UTC (rev 44112)
@@ -0,0 +1,21 @@
+package org.jboss.tools.struts.ui.bot.test;
+
+import org.jboss.tools.struts.ui.bot.test.smoke.CreateNewStrutsProjectTest;
+import org.jboss.tools.struts.ui.bot.test.smoke.RunStrutsProjectOnServer;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Suite of tests executed on jenkins slave *
+ * @author jjankovi
+ *
+ */
+(a)RunWith(RequirementAwareSuite.class)
+@SuiteClasses({
+ CreateNewStrutsProjectTest.class,
+ RunStrutsProjectOnServer.class,
+ })
+public class JenkinsTestSuite {
+
+}
12 years, 3 months
JBoss Tools SVN: r44111 - trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-09-28 00:35:59 -0400 (Fri, 28 Sep 2012)
New Revision: 44111
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java
Log:
fix for trunk compilation errors
Modified: trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java 2012-09-28 03:01:00 UTC (rev 44110)
+++ trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java 2012-09-28 04:35:59 UTC (rev 44111)
@@ -26,7 +26,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
-import org.jboss.tools.openshift.express.internal.ui.wizard.appimport.OpenShiftMavenProfile;
+import org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.OpenShiftMavenProfile;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
12 years, 3 months
JBoss Tools SVN: r44110 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: ldimaggio
Date: 2012-09-27 23:01:00 -0400 (Thu, 27 Sep 2012)
New Revision: 44110
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
Updated ExampleTest.java to deal with JBQA-7081 - Need to add this to deal with the extra UI window (un-named) that is opened for the SOA/ESB tests during the startup of an SOA-P server in eclipse/JBDS.
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-09-28 00:42:04 UTC (rev 44109)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-09-28 03:01:00 UTC (rev 44110)
@@ -80,6 +80,21 @@
}
private SWTBot existsExample() {
+
+ /* ldimaggi - Sept 27, 2012 - JBQA-7081 - Need to add this to deal with the
+ * extra UI window (un-named) that is opened for the SOA/ESB tests during the
+ * startup of an SOA-P server in eclipse/JBDS.
+ */
+// SWTBotShell [] theShells = bot.shells();
+// for (SWTBotShell s : theShells) {
+// System.out.println ("DEBUG! " + s.getText());
+// }
+ if ((SWTJBTExt.isRunningOnMacOs()) && (!bot.shell("Java - Eclipse Platform").isActive() )){
+ bot.sleep(30000l);
+ bot.shell("Java - Eclipse Platform").activate();
+ bot.shell("Java - Eclipse Platform").setFocus();
+ }
+
SWTBot wiz = open.newObject(JBossToolsProjectExamples.LABEL);
// wait for progress shell (downloading & parsing example xml)
bot.waitWhile(shellIsActive("Progress Information"), Timing.time100S());
12 years, 3 months
JBoss Tools SVN: r44109 - trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2012-09-27 20:42:04 -0400 (Thu, 27 Sep 2012)
New Revision: 44109
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java
Log:
Configure Problem Severity should open project settings if they are enabled for the project https://issues.jboss.org/browse/JBIDE-12538
Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java 2012-09-28 00:35:24 UTC (rev 44108)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/PreferenceInfoManager.java 2012-09-28 00:42:04 UTC (rev 44109)
@@ -35,6 +35,9 @@
* returns IPreferenceInfo for problemType
*/
public static IPreferenceInfo getPreferenceInfo(String problemType){
+ if(problemType == null){
+ problemType = ValidationErrorManager.DEFAULT_VALIDATION_MARKER;
+ }
IPreferenceInfo info = infos.get(problemType);
if(info == null){
ValidationContext.loadValidatorByProblemType(problemType);
12 years, 3 months