JBoss Tools SVN: r43289 - trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-08-29 06:08:29 -0400 (Wed, 29 Aug 2012)
New Revision: 43289
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/SeamConfigValidationTest.java
Log:
added known issue message
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/SeamConfigValidationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/SeamConfigValidationTest.java 2012-08-29 10:06:13 UTC (rev 43288)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/SeamConfigValidationTest.java 2012-08-29 10:08:29 UTC (rev 43289)
@@ -105,8 +105,12 @@
}
private static void assertExpectedCount(int realCount, int expectedCount) {
- assertTrue("Expected count: " + expectedCount + " real count: " + realCount,
- realCount == expectedCount);
+ String knowsIssue = "";
+ if (realCount == 0 && expectedCount == 4) {
+ knowsIssue = ". Known issue JBIDE-12335";
+ }
+ assertTrue("Expected count: " + expectedCount + " real count: " + realCount
+ + knowsIssue, realCount == expectedCount);
}
private IMarker getMarkerByLocation(IMarker[] markers, int location) {
12 years, 4 months
JBoss Tools SVN: r43288 - trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-08-29 06:06:13 -0400 (Wed, 29 Aug 2012)
New Revision: 43288
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
Log:
close Warning message when shown
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2012-08-29 09:41:16 UTC (rev 43287)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2012-08-29 10:06:13 UTC (rev 43288)
@@ -341,6 +341,7 @@
L.info(browser.getText());
Assert.assertTrue(browser.getText().contains("Input name:"));
} catch (WidgetNotFoundException wnfe) {
+ bot.shell("Warning").bot().button(IDELabel.Button.CLOSE).click();
fail("Warning dialog shows when deploying app - known issue JBIDE-11306");
}
}
12 years, 4 months
JBoss Tools SVN: r43287 - in trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test: tutorial and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-08-29 05:41:16 -0400 (Wed, 29 Aug 2012)
New Revision: 43287
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/RunStrutsProjectOnServer.java
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
Log:
added known issue messages
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/RunStrutsProjectOnServer.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/RunStrutsProjectOnServer.java 2012-08-29 09:01:54 UTC (rev 43286)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/smoke/RunStrutsProjectOnServer.java 2012-08-29 09:41:16 UTC (rev 43287)
@@ -48,7 +48,8 @@
swtJbtExt.stopApplicationServer(0);
swtJbtExt.removeProjectFromServers(StrutsAllBotTests.STRUTS_PROJECT_NAME);
SWTJBTExt.deleteApplicationServer(bot, 0);
- assertTrue("Displayed HTML page has wrong content",
+ assertTrue("Displayed HTML page has wrong content. Application was not" +
+ " deployed by struts tools - known issue JBIDE-11306",
(browserText != null)
&& (browserText.indexOf("<TITLE>KickStart: Input name</TITLE>") > -1));
}
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2012-08-29 09:01:54 UTC (rev 43286)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/tutorial/TutorialTest.java 2012-08-29 09:41:16 UTC (rev 43287)
@@ -31,6 +31,7 @@
import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefContextMenu;
import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
import org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher;
import org.eclipse.swtbot.swt.finder.matchers.WidgetOfType;
@@ -332,12 +333,16 @@
gui.save();
util.waitForNonIgnoredJobs();
new SWTBotGefContextMenu(gui.getControl(), "Run on Server").click();
- SWTBotBrowserExt browser = new SWTBotExt().browserExt();
- bot.sleep(7500);
- browser.refresh();
- bot.sleep(5000);
- L.info(browser.getText());
- Assert.assertTrue(browser.getText().contains("Input name:"));
+ try {
+ SWTBotBrowserExt browser = new SWTBotExt().browserExt();
+ bot.sleep(7500);
+ browser.refresh();
+ bot.sleep(5000);
+ L.info(browser.getText());
+ Assert.assertTrue(browser.getText().contains("Input name:"));
+ } catch (WidgetNotFoundException wnfe) {
+ fail("Warning dialog shows when deploying app - known issue JBIDE-11306");
+ }
}
private void validators() {
12 years, 4 months
JBoss Tools SVN: r43286 - in workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin: jsp-samples and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2012-08-29 05:01:54 -0400 (Wed, 29 Aug 2012)
New Revision: 43286
Added:
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/WEB-INF/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/WEB-INF/lib/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/variableSupport.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/src/
Log:
https://issues.jboss.org/browse/JBIDE-12502 - Create a prototype of a VPE templating system without using JavaXPCOM
- JSP samples created by Ilya Buziuk
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jsp-samples</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="jsp-samples">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="jsp-samples"/>
+ <property name="java-output-path" value="/jsp-samples/build/classes"/>
+ </wb-module>
+</project-modules>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <fixed facet="java"/>
+ <installed facet="java" version="1.7"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,23 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
+<html>
+<head>
+<title>How to Use Choose,Otherwise and When</title>
+</head>
+
+<body bgcolor="#FFFFCC">
+ <form method="get">
+ Enter a number from one onwards:
+ <input type="text" name="number" /><br>
+ <input type="submit" value="Submit" />
+ </form>
+
+ <c:if test="true">
+ So, you want only
+ <c:out value="${param.number}" />
+ <c:choose>
+ <c:when test="true">orange</c:when>
+ <c:otherwise>banana</c:otherwise>
+ </c:choose>
+ </c:if>
+</body>
+</html>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,18 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
+<html>
+<head>
+<title>How to Use Choose,Otherwise and When</title>
+</head>
+
+<body bgcolor="#FFFFCC">
+ <%-- <form method="get">Enter a number from one onwards :
+<input type="text" name="number" /><br>
+<input type="submit" value="Submit" />
+</form>
+
+<c:if test="false">So, you want only
+<c:out value="1"/> --%>
+ <c:set var="asdasd" value="2"></c:set>
+ <%-- </c:if> --%>
+</body>
+</html>
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,28 @@
+<jsp:root
+ version="2.0"
+ xmlns:jspu="http://java.sun.com/JSP/Page"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:t="urn:jsptagdir:/WEB-INF/tags"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ >
+
+<jsp:directive.page contentType="text/html; charset=UTF-8" />
+<html>
+ <head><title>Simple jspx page</title></head>
+ <body>
+ <t:HelloTag start="1" end="10" cycleVar="i">
+ <jspu:body>
+ It's Body. Variable "i" is
+ <c:choose>
+ <c:when test="${i mod 2 eq 0}">
+ Even
+ </c:when>
+ <c:otherwise>
+ Odd
+ </c:otherwise>
+ </c:choose>
+ </jspu:body>
+ </t:HelloTag>
+ </body>
+</html>
+</jsp:root>
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,7 @@
+<!-- <repeatBody howMany = "5" times = "6" test ="7">
+</repeatBody> -->
+
+<myTag></myTag>
+<helloTag></helloTag>
+<life attr1="Ilya" attr2="Buziuk"></life>
+<!-- <bodyRepeater howMany="5"><helloTag><helloTag></bodyRepeater> -->
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/variableSupport.jsp
===================================================================
12 years, 4 months
JBoss Tools SVN: r43285 - trunk/build/jacoco.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-08-29 04:36:11 -0400 (Wed, 29 Aug 2012)
New Revision: 43285
Modified:
trunk/build/jacoco/jacoco-reports.xml
Log:
JBIDE-10537: Fix jacoco-reports.xml to ignore resources as class files
Modified: trunk/build/jacoco/jacoco-reports.xml
===================================================================
--- trunk/build/jacoco/jacoco-reports.xml 2012-08-29 08:11:28 UTC (rev 43284)
+++ trunk/build/jacoco/jacoco-reports.xml 2012-08-29 08:36:11 UTC (rev 43285)
@@ -18,15 +18,15 @@
<structure name="JaCoCo-Multi Project">
<group name="JaCoCo-Multi">
<classfiles>
- <dirset dir="${user.dir}/plugins" >
- <include name="*/target/classes"/>
- </dirset>
- <dirset dir="${user.dir}/tests" >
- <include name="*/target/classes"/>
- </dirset>
+ <fileset dir="${user.dir}/plugins">
+ <include name="*/target/classes/**/*.class"/>
+ </fileset>
+ <fileset dir="${user.dir}/tests" >
+ <include name="*/target/classes/**/*.class"/>
+ </fileset>
</classfiles>
<sourcefiles encoding="UTF-8">
- <dirset dir="${user.dir}/plugins" >
+ <dirset dir="${user.dir}/plugins" >
<include name="*/src*"/>
</dirset>
<dirset dir="${user.dir}/tests" >
12 years, 4 months
JBoss Tools SVN: r43284 - in trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test: src/org/jboss/tools/jbpm/ui/bot/test/suite and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: apodhrad
Date: 2012-08-29 04:11:28 -0400 (Wed, 29 Aug 2012)
New Revision: 43284
Removed:
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/BPMNAllTest.java
Modified:
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/JBPMAllTest.java
Log:
BPMN2 Conversion test added to JBPMAllTests
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-08-29 07:54:35 UTC (rev 43283)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-08-29 08:11:28 UTC (rev 43284)
@@ -35,6 +35,11 @@
</dependency>
<dependency>
<type>p2-installable-unit</type>
+ <artifactId>org.jboss.tools.jbpm.convert.feature.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ <dependency>
+ <type>p2-installable-unit</type>
<artifactId>org.jboss.ide.eclipse.as.feature.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
Deleted: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/BPMNAllTest.java
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/BPMNAllTest.java 2012-08-29 07:54:35 UTC (rev 43283)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/BPMNAllTest.java 2012-08-29 08:11:28 UTC (rev 43284)
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007-2009 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jbpm.ui.bot.test.suite;
-
-import junit.framework.TestSuite;
-
-import org.jboss.tools.jbpm.ui.bot.test.BPMNConvertCase;
-import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite.SuiteClasses;
-
-@SuiteClasses({ BPMNConvertCase.class })
-(a)RunWith(RequirementAwareSuite.class)
-public class BPMNAllTest extends TestSuite {
-
- @BeforeClass
- public static void setUpSuite() {
- JBPMTest.prepare();
- }
-
- @AfterClass
- public static void tearDownSuite() {
- JBPMTest.clean();
- }
-}
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/JBPMAllTest.java
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/JBPMAllTest.java 2012-08-29 07:54:35 UTC (rev 43283)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/suite/JBPMAllTest.java 2012-08-29 08:11:28 UTC (rev 43284)
@@ -12,6 +12,7 @@
import junit.framework.TestSuite;
+import org.jboss.tools.jbpm.ui.bot.test.BPMNConvertCase;
import org.jboss.tools.jbpm.ui.bot.test.GPDPaletteTest;
import org.jboss.tools.jbpm.ui.bot.test.GPDTest;
import org.jboss.tools.jbpm.ui.bot.test.JBPMDeployTest;
@@ -23,8 +24,8 @@
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
-@SuiteClasses({ JBPMProjectTest.class, JBPMViewsTest.class, GPDTest.class, GPDPaletteTest.class, JBPMDeployTest.class })
-//@SuiteClasses({ BPMNConvertCase.class })
+@SuiteClasses({ JBPMProjectTest.class, JBPMViewsTest.class, GPDTest.class, GPDPaletteTest.class,
+ JBPMDeployTest.class, BPMNConvertCase.class })
@RunWith(RequirementAwareSuite.class)
public class JBPMAllTest extends TestSuite {
12 years, 4 months
JBoss Tools SVN: r43283 - in trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test: resources/properties and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: apodhrad
Date: 2012-08-29 03:54:35 -0400 (Wed, 29 Aug 2012)
New Revision: 43283
Added:
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/swtbot.properties
Modified:
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/resources/properties/install-jbpm3.xml
trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/JBPMDeployTest.java
Log:
jBPM changed to version 3.2.9 since it is easy to install into AS 5.1.0
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-08-29 07:52:14 UTC (rev 43282)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/pom.xml 2012-08-29 07:54:35 UTC (rev 43283)
@@ -33,6 +33,11 @@
<artifactId>org.jboss.tools.jbpm3.feature.feature.group</artifactId>
<version>0.0.0</version>
</dependency>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.jboss.ide.eclipse.as.feature.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
</dependencies>
</configuration>
</plugin>
@@ -41,15 +46,27 @@
<artifactId>maven-download-plugin</artifactId>
<executions>
<execution>
+ <id>install-as-5.1.0</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-5.1.0.GA.zip</url>
+ <md5>78322c75ca0c13002a04418b4a8bc920</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
<id>download-jbpm</id>
<phase>pre-integration-test</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
- <url>http://sourceforge.net/projects/jbpm/files/jBPM%203/jbpm-jpdl-3.3.1.GA/jb...</url>
+ <url>https://repository.jboss.org/nexus/content/groups/public/org/jbpm/jbpm3/j...</url>
<unpack>false</unpack>
- <md5>22ac4a30fdf191b715b41fd151125c23</md5>
+ <md5>e2d8624bd181235a34b5f97fb088c589</md5>
</configuration>
</execution>
</executions>
@@ -66,11 +83,11 @@
</goals>
<configuration>
<tasks>
- <java jar="${requirementsDirectory}/jbpm-installer-3.3.1.GA.jar"
+ <java
+ jar="${requirementsDirectory}/jbpm-distribution-3.2.9-installer.jar"
dir="${requirementsDirectory}" fork="true">
<arg value="../../resources/properties/install-jbpm3.xml" />
</java>
- <echo file="swtbot.properties" append="false">JBPM=3.3.1,${requirementsDirectory}/jbpm-3.3.1.GA</echo>
</tasks>
</configuration>
</execution>
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/resources/properties/install-jbpm3.xml
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/resources/properties/install-jbpm3.xml 2012-08-29 07:52:14 UTC (rev 43282)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/resources/properties/install-jbpm3.xml 2012-08-29 07:54:35 UTC (rev 43283)
@@ -1,27 +1,33 @@
<AutomatedInstallation langpack="eng">
- <com.izforge.izpack.panels.HelloPanel/>
- <com.izforge.izpack.panels.TargetPanel>
- <installpath>./jbpm-3.3.1.GA</installpath>
+ <com.izforge.izpack.panels.HelloPanel id="UNKNOWN (com.izforge.izpack.panels.HelloPanel)"/>
+ <com.izforge.izpack.panels.TargetPanel id="UNKNOWN (com.izforge.izpack.panels.TargetPanel)">
+ <installpath>./jbpm-3.2.9</installpath>
</com.izforge.izpack.panels.TargetPanel>
- <com.izforge.izpack.panels.TreePacksPanel>
+ <com.izforge.izpack.panels.TreePacksPanel id="UNKNOWN (com.izforge.izpack.panels.TreePacksPanel)">
<pack name="jBPM3 Standalone" index="0" selected="true"/>
- <pack name="jBPM3 JBoss Integration" index="1" selected="false"/>
- <pack name="JSF-Console" index="2" selected="false"/>
- <pack name="GWT-Console" index="3" selected="false"/>
- <pack name="Optional Components" index="4" selected="false"/>
- <pack name="Download JBoss-5.0.0" index="5" selected="false"/>
- <pack name="Download Eclipse-3.4.0" index="6" selected="false"/>
+ <pack name="jBPM3 JBoss Integration" index="1" selected="true"/>
+ <pack name="JSF-Console" index="2" selected="true"/>
+ <pack name="Optional Components" index="3" selected="false"/>
+ <pack name="Download JBoss-5.0.1" index="4" selected="false"/>
+ <pack name="Download Eclipse-3.4.2" index="5" selected="false"/>
</com.izforge.izpack.panels.TreePacksPanel>
- <com.izforge.izpack.panels.UserInputPanel>
- <userInput/>
+ <com.izforge.izpack.panels.UserInputPanel id="UNKNOWN (com.izforge.izpack.panels.UserInputPanel)">
+ <userInput>
+ <entry key="jbossTargetServer" value="default"/>
+ <entry key="jbossSelection" value="jboss510"/>
+ </userInput>
</com.izforge.izpack.panels.UserInputPanel>
- <com.izforge.izpack.panels.UserInputPanel>
- <userInput/>
+ <com.izforge.izpack.panels.UserInputPanel id="UNKNOWN (com.izforge.izpack.panels.UserInputPanel)">
+ <userInput>
+ <entry key="jbossInstallPath" value="./jboss-5.1.0.GA"/>
+ </userInput>
</com.izforge.izpack.panels.UserInputPanel>
- <com.izforge.izpack.panels.UserInputPanel>
- <userInput/>
+ <com.izforge.izpack.panels.UserInputPanel id="UNKNOWN (com.izforge.izpack.panels.UserInputPanel)">
+ <userInput>
+ <entry key="dbSelection" value="hsqldb"/>
+ </userInput>
</com.izforge.izpack.panels.UserInputPanel>
- <com.izforge.izpack.panels.SummaryPanel/>
- <com.izforge.izpack.panels.InstallPanel/>
- <com.izforge.izpack.panels.FinishPanel/>
+ <com.izforge.izpack.panels.SummaryPanel id="UNKNOWN (com.izforge.izpack.panels.SummaryPanel)"/>
+ <com.izforge.izpack.panels.InstallPanel id="UNKNOWN (com.izforge.izpack.panels.InstallPanel)"/>
+ <com.izforge.izpack.panels.FinishPanel id="UNKNOWN (com.izforge.izpack.panels.FinishPanel)"/>
</AutomatedInstallation>
Modified: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/JBPMDeployTest.java
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/JBPMDeployTest.java 2012-08-29 07:52:14 UTC (rev 43282)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/src/org/jboss/tools/jbpm/ui/bot/test/JBPMDeployTest.java 2012-08-29 07:54:35 UTC (rev 43283)
@@ -26,7 +26,7 @@
import org.jboss.tools.ui.bot.ext.widgets.SWTBotMultiPageEditor;
import org.junit.Test;
-@Require( clearProjects=false, jbpm=@JBPM(), server=(a)Server(type=ServerType.SOA,state=ServerState.Present))
+@Require( clearProjects=false, jbpm=@JBPM(), server=(a)Server(type=ServerType.ALL,state=ServerState.Running))
public class JBPMDeployTest extends JBPMTest {
@Test
@@ -52,9 +52,6 @@
gefBot.textWithLabel("Username:").setText("admin");
gefBot.textWithLabel("Password:").setText("admin");
- String serverName = TestConfigurator.currentConfig.getServer().type+"-"+TestConfigurator.currentConfig.getServer().version;
- servers.startServer(serverName);
-
item.setFocus();
bot.menu("jBPM").menu("Ping Server").click();
Added: trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/swtbot.properties
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/swtbot.properties (rev 0)
+++ trunk/jbpm/tests/org.jboss.tools.jbpm.ui.bot.test/swtbot.properties 2012-08-29 07:54:35 UTC (rev 43283)
@@ -0,0 +1,8 @@
+# SWTBotTest properties
+# all properties are optional, all defined paths should exist
+# <java version>,<jre/jdk home>
+#JAVA=
+#EAP|JBOSS_AS|EPP|SOA,<server version>,<jre version to run with>|default,<server home>
+# note : when server is type of SOA, version is version of SOA (not the bundled EAP)
+SERVER=AS,5.1,default,./target/requirements/jboss-5.1.0.GA
+JBPM=3.2.9,./target/requirements/jbpm-3.2.9
\ No newline at end of file
12 years, 4 months
JBoss Tools SVN: r43282 - trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-08-29 03:52:14 -0400 (Wed, 29 Aug 2012)
New Revision: 43282
Modified:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java
Log:
hudson job debug
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java 2012-08-29 07:40:07 UTC (rev 43281)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java 2012-08-29 07:52:14 UTC (rev 43282)
@@ -24,15 +24,15 @@
// VariousProjectsArchiving.class,
// ArchiveViewReSwitchingTest.class,
// FolderTest.class,
- FilesetTest.class, // failing on win
- UserLibrariesFilesetTest.class, // failing on win
- BuildingArchiveNode.class, // failing on win
+// FilesetTest.class, // failing on win
+// UserLibrariesFilesetTest.class, // failing on win
+// BuildingArchiveNode.class, // failing on win
// BuildingProjectTest.class,
// BuildingArchiveTest.class,
// CreatingArchiveTest.class,
DeletingArchiveTest.class, // failing on win
// ModifyingArchiveTest.class,
- DeployingArchiveTest.class, // failing on win
+// DeployingArchiveTest.class, // failing on win
})
public class ArchivesAllBotTests {
12 years, 4 months
JBoss Tools SVN: r43281 - in trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test: context and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-08-29 03:40:07 -0400 (Wed, 29 Aug 2012)
New Revision: 43281
Modified:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesTestBase.java
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/UserLibrariesFilesetTest.java
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/context/ArchiveContextMenu.java
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/dialog/ArchiveCreationDialogBase.java
Log:
added known issue messages + comment tests not failing on win 7
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java 2012-08-29 01:44:52 UTC (rev 43280)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesAllBotTests.java 2012-08-29 07:40:07 UTC (rev 43281)
@@ -20,19 +20,19 @@
*/
@RunWith(RequirementAwareSuite.class)
@SuiteClasses({
- ViewIsPresentTest.class,
- VariousProjectsArchiving.class,
- ArchiveViewReSwitchingTest.class,
- FolderTest.class,
- FilesetTest.class,
- UserLibrariesFilesetTest.class,
- BuildingArchiveNode.class,
- BuildingProjectTest.class,
- BuildingArchiveTest.class,
- CreatingArchiveTest.class,
- DeletingArchiveTest.class,
- ModifyingArchiveTest.class,
- DeployingArchiveTest.class,
+// ViewIsPresentTest.class,
+// VariousProjectsArchiving.class,
+// ArchiveViewReSwitchingTest.class,
+// FolderTest.class,
+ FilesetTest.class, // failing on win
+ UserLibrariesFilesetTest.class, // failing on win
+ BuildingArchiveNode.class, // failing on win
+// BuildingProjectTest.class,
+// BuildingArchiveTest.class,
+// CreatingArchiveTest.class,
+ DeletingArchiveTest.class, // failing on win
+// ModifyingArchiveTest.class,
+ DeployingArchiveTest.class, // failing on win
})
public class ArchivesAllBotTests {
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesTestBase.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesTestBase.java 2012-08-29 01:44:52 UTC (rev 43280)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/ArchivesTestBase.java 2012-08-29 07:40:07 UTC (rev 43281)
@@ -54,7 +54,7 @@
" does not exist in Project Archives View", view.itemExists(path));
}
- protected void assertItemExistsInExplorer(ProjectArchivesExplorer explorer, String... path) {
+ protected void assertItemExistsInExplorer(ProjectArchivesExplorer explorer, String... path) {
assertTrue("Item " + path[path.length-1] +
" does not exist in Project Archives explorer", explorer.itemExists(path));
}
@@ -81,7 +81,11 @@
break;
}
}
- assertTrue(archive + " was not deployed", found);
+ String knownIssue = "";
+ if (archive.contains("pr3b.jar")) {
+ knownIssue = " - known issue JBIDE-12495";
+ }
+ assertTrue(archive + " was not deployed" + knownIssue, found);
}
protected void removeArchiveFromServer(String archive) {
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/UserLibrariesFilesetTest.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/UserLibrariesFilesetTest.java 2012-08-29 01:44:52 UTC (rev 43280)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/UserLibrariesFilesetTest.java 2012-08-29 07:40:07 UTC (rev 43281)
@@ -60,7 +60,7 @@
assertItemExistsInView(view, projectName, ARCHIVE_PATH, USER_LIBRARY_1);
}
- @Test // not implemented in tools yet
+ @Test // failing cause of JBIDE-12155
public void testCreatingUserLibraryFileSetInExplorer() {
/* prepare view for testing */
ProjectArchivesExplorer explorer = explorerForProject(projectName);
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/context/ArchiveContextMenu.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/context/ArchiveContextMenu.java 2012-08-29 01:44:52 UTC (rev 43280)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/context/ArchiveContextMenu.java 2012-08-29 07:40:07 UTC (rev 43281)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.archives.ui.bot.test.context;
+import static org.junit.Assert.fail;
+
import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
import org.eclipse.swtbot.swt.finder.keyboard.Keystrokes;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
@@ -79,10 +81,16 @@
public UserLibrariesFilesetDialog createUserLibraryFileset(SWTBotTree tree,
SWTBotTreeItem item) {
ContextMenuHelper.prepareTreeItemForContextMenu(tree, item);
- SWTBotMenu menu = new SWTBotMenu(ContextMenuHelper.
+ try {
+ SWTBotMenu menu = new SWTBotMenu(ContextMenuHelper.
getContextMenu(tree, "New User Library Fileset", false));
- menu.click();
- return new UserLibrariesFilesetDialog();
+ menu.click();
+ return new UserLibrariesFilesetDialog();
+ } catch (WidgetNotFoundException wnfe) {
+ fail("'New User Library Fileset' is not included in context menu of " +
+ "Project Archives explorer - known issue - JBIDE-12155");
+ return null;
+ }
}
public EditArchiveDialog editArchive(SWTBotTree tree,
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/dialog/ArchiveCreationDialogBase.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/dialog/ArchiveCreationDialogBase.java 2012-08-29 01:44:52 UTC (rev 43280)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/dialog/ArchiveCreationDialogBase.java 2012-08-29 07:40:07 UTC (rev 43281)
@@ -13,6 +13,7 @@
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
/**
@@ -70,6 +71,7 @@
public void finish() {
bot.button(IDELabel.Button.FINISH).click();
SWTBotFactory.getUtil().waitForNonIgnoredJobs();
+ bot.sleep(Timing.time1S());
}
public abstract String getDialogTitle();
12 years, 4 months
JBoss Tools SVN: r43280 - in trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common: xml and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-08-28 21:44:52 -0400 (Tue, 28 Aug 2012)
New Revision: 43280
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/TypeResolutionCache.java
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLMemento.java
Log:
code cleanup
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/TypeResolutionCache.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/TypeResolutionCache.java 2012-08-29 01:16:29 UTC (rev 43279)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/TypeResolutionCache.java 2012-08-29 01:44:52 UTC (rev 43280)
@@ -166,7 +166,7 @@
primitive.add("java.lang.RuntimeException"); //$NON-NLS-1$
primitive.add("java.lang.Override"); //$NON-NLS-1$
}
- static String NULL = ";;;"; //$NON-NLS-1$
+ static final String NULL = ";;;"; //$NON-NLS-1$
Map<String,Resolved> resolved = new Hashtable<String, Resolved>();
private TypeResolutionCache() {}
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLMemento.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLMemento.java 2012-08-29 01:16:29 UTC (rev 43279)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/xml/XMLMemento.java 2012-08-29 01:44:52 UTC (rev 43280)
@@ -235,7 +235,7 @@
return null;
String strValue = attr.getValue();
try {
- return new Integer(strValue);
+ return Integer.valueOf(strValue);
} catch (NumberFormatException e) {
return null;
}
@@ -371,16 +371,14 @@
if (attr == null)
return null;
String strValue = attr.getValue();
- if ("true".equalsIgnoreCase(strValue)) //$NON-NLS-1$
- return new Boolean(true);
- return new Boolean(false);
+ return Boolean.valueOf(strValue); //$NON-NLS-1$
}
/*
* @see IMemento#putBoolean(String, boolean)
*/
public void putBoolean(String key, boolean value) {
- element.setAttribute(key, new Boolean(value).toString());
+ element.setAttribute(key, Boolean.toString(value).toString());
}
/**
12 years, 4 months