JBoss Tools SVN: r42217 - in trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects: messageLogger and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-26 09:33:45 -0400 (Tue, 26 Jun 2012)
New Revision: 42217
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/lib/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/build/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java
Log:
test project for new seam3 bot test added
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1.1 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </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: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>messageLogger</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.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.cdi.core.cdibuilder</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>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ <nature>org.jboss.tools.cdi.core.cdinature</nature>
+ </natures>
+</projectDescription>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope 2012-06-26 13:33:45 UTC (rev 42217)
@@ -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: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="messageLogger">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="messageLogger"/>
+ <property name="java-output-path" value="/messageLogger/build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.1 Runtime "/>
+ <fixed facet="java"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<beans xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd"/>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
+ <display-name>messageLogger</display-name>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+<!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"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<h:head></h:head>
+<body>
+ <h:outputText value="#{bean.helloWorld}" />
+</body>
+</html>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,19 @@
+package cdi.test;
+
+import javax.enterprise.context.RequestScoped;
+import javax.inject.Inject;
+import javax.inject.Named;
+
+import org.jboss.solder.logging.Category;
+
+@Named
+@RequestScoped
+public class Bean {
+
+ @Inject @Category("trains") TrainSpotterLog log;
+
+ public String getHelloWorld() {
+ log.dieselTrainsSpotted(1);
+ return "HelloWorld";
+ }
+}
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java 2012-06-26 13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+package cdi.test;
+
+import org.jboss.solder.logging.MessageLogger;
+import org.jboss.solder.logging.internal.LogMessage;
+import org.jboss.solder.messages.Message;
+
+@MessageLogger
+public interface TrainSpotterLog {
+ @LogMessage @Message("Spotted %s diesel trains")
+ void dieselTrainsSpotted(int number);
+}
12 years, 6 months
JBoss Tools SVN: r42216 - in trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test: launcher and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: apodhrad
Date: 2012-06-26 09:06:09 -0400 (Tue, 26 Jun 2012)
New Revision: 42216
Added:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/launcher/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/launcher/BpelAllTests.launch
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/BPELTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java
Log:
Bpel bot tests: some small corrections, especially referred to server definition in test classes
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/launcher/BpelAllTests.launch
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/launcher/BpelAllTests.launch (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/launcher/BpelAllTests.launch 2012-06-26 13:06:09 UTC (rev 42216)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":2"/>
+</mapAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.jboss.tools.bpel.ui.bot.test.suite.BPELAllTest"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.bpel.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dswtbot.test.properties.file=org.jboss.tools.bpel.ui.bot.test.properties -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=384m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssignActivityTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -1,36 +1,28 @@
package org.jboss.tools.bpel.ui.bot.test;
import org.eclipse.core.resources.IProject;
-
import org.eclipse.swtbot.eclipse.gef.finder.SWTGefBot;
import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
-
import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
-
import org.jboss.tools.bpel.ui.bot.ext.widgets.BotBpelEditor;
import org.jboss.tools.bpel.ui.bot.test.util.ResourceHelper;
-import org.jboss.tools.bpel.util.SendSoapMessage;
-
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
-import org.jboss.tools.ui.bot.ext.types.ViewType;
import org.jboss.tools.ui.bot.ext.view.PackageExplorer;
import org.jboss.tools.ui.bot.ext.view.ServersView;
-
import org.junit.After;
-import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version = "5.1"), perspective="BPEL")
+@Require(clearProjects = true, server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective="BPEL")
public class AssignActivityTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/AssociateRuntimeTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -16,7 +16,7 @@
import org.junit.Test;
-@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Present, version = "5.1"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Present), perspective="BPEL")
public class AssociateRuntimeTest extends BPELTest {
@Test
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/BPELTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/BPELTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/BPELTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -19,6 +19,7 @@
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.ext.view.PackageExplorer;
import org.jboss.tools.ui.bot.ext.view.ProjectExplorer;
+import org.junit.Assert;
import org.osgi.framework.Version;
public class BPELTest extends SWTTestExt {
@@ -275,7 +276,10 @@
}
public static boolean isProjectDeployed(String projectName) {
+ bot.sleep(TIME_5S);
+
assertFalse(console.getConsoleText().contains("DEPLOYMENTS IN ERROR:"));
+ assertFalse(console.getConsoleText().contains("deploy failed"));
// This is due to JBIDE-11928
return true;
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/FaultModelingTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -24,7 +24,7 @@
*
* @author mbaluch
*/
-@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state = ServerState.Disabled), perspective = "BPEL")
+@Require(clearProjects = true, server = @Server(type = ServerType.ALL, state = ServerState.Disabled), perspective = "BPEL")
public class FaultModelingTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -20,7 +20,7 @@
* @author psrna, apodhrad
*
*/
-@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version = "5.1"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective="BPEL")
public class OdeDeployTest extends BPELTest {
final static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/SimpleModelingTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -20,7 +20,7 @@
import org.junit.Before;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state = ServerState.Present, version = "5.1"))
+@Require(clearProjects = true, server = @Server(type = ServerType.ALL, state = ServerState.Present))
public class SimpleModelingTest extends BPELTest {
static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -36,7 +36,7 @@
* @author psrna
*
*/
-@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version = "5.1"), perspective="BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective="BPEL")
public class ToolingCompatibilityTest extends BPELTest{
final static String BUNDLE = "org.jboss.tools.bpel.ui.bot.test";
@@ -63,22 +63,9 @@
@Test
- public void deployProjectTest(){
-
- String serverName = ToolingCompatibilityTest.configuredState.getServer().name;
+ public void deployProjectTest() {
// Publish the process
projExplorer.runOnServer("eclipse_tooling_proj");
-
- Assert.assertFalse(console.getConsoleText().contains("DEPLOYMENTS IN ERROR:"));
- Assert.assertFalse(console.getConsoleText().contains("deploy failed"));
-
- bot.viewByTitle("Servers").show();
- bot.viewByTitle("Servers").setFocus();
-
- SWTBotTree tree = bot.viewByTitle("Servers").bot().tree();
- SWTBotTreeItem server = tree.getTreeItem(serverName + " [Started, Synchronized]").select();
- server.expand();
- bot.sleep(TIME_5S);
assertTrue(isProjectDeployed("eclipse_tooling_proj"));
}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/WizardTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -13,7 +13,7 @@
import org.junit.Assert;
import org.junit.Test;
-@Require(clearProjects = true, server = @Server(type = ServerType.JbossAS, state = ServerState.Present), perspective="BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Present), perspective="BPEL")
public class WizardTest extends BPELTest {
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -5,14 +5,13 @@
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-import org.junit.Test;
/**
*
* @author apodhrad
*
*/
-@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version = "5.1"), perspective = "BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
public class HelloWorldExampleTest extends BPELExampleTest {
private static final String PROJECT_NAME = "HelloWorld";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -10,7 +10,7 @@
* @author apodhrad
*
*/
-@Require(server = @Server(type = ServerType.JbossAS, state = ServerState.Running, version = "5.1"), perspective = "BPEL")
+@Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
public class HelloWorldOdeExampleTest extends BPELExampleTest {
private static final String PROJECT_NAME = "Hello_World_Header_Ode";
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java 2012-06-26 12:32:25 UTC (rev 42215)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java 2012-06-26 13:06:09 UTC (rev 42216)
@@ -19,7 +19,8 @@
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
-(a)SuiteClasses({OdeDeployTest.class,
+@SuiteClasses({
+ OdeDeployTest.class,
WizardTest.class,
ActivityModelingTest.class,
AssignActivityTest.class,
@@ -28,7 +29,8 @@
ToolingCompatibilityTest.class,
AssociateRuntimeTest.class,
HelloWorldExampleTest.class,
- HelloWorldOdeExampleTest.class})
+ HelloWorldOdeExampleTest.class
+ })
@RunWith(RequirementAwareSuite.class)
public class BPELAllTest extends TestSuite {
12 years, 6 months
JBoss Tools SVN: r42215 - trunk/seam/tests/org.jboss.tools.seam.core.test.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-26 08:32:25 -0400 (Tue, 26 Jun 2012)
New Revision: 42215
Removed:
trunk/seam/tests/org.jboss.tools.seam.core.test/requirements.properties
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/pom.xml
Log:
JBIDE-11714: WIP on Seam w/ EAP
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/pom.xml 2012-06-26 11:30:45 UTC (rev 42214)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/pom.xml 2012-06-26 12:32:25 UTC (rev 42215)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirement.build.root}/requirements/target/jboss-eap-4.3/seam -Djbosstools.test.seam.2fp.eap.home=${requirement.build.root}/requirements/target/jboss-eap-4.3/seamfp -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/requirements/target/jboss-seam-2.0.1.GA -Djbosstools.test.seam.2.1.0.GA.home=${requirement.build.root}/requirements/target/jboss-seam-2.1.1.GA</systemProperties>
+ <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirementsDirectory}/jboss-eap-4.3/seam -Djbosstools.test.seam.2fp.eap.home=${requirementsDirectory}/jboss-eap-4.3/seamfp -Djbosstools.test.seam.2.0.1.GA.home=${requirementsDirectory}/jboss-seam-2.0.1.GA -Djbosstools.test.seam.2.1.0.GA.home=${requirementsDirectory}/jboss-seam-2.1.1.GA</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.core</emma.instrument.bundles>
</properties>
@@ -20,6 +20,85 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-fp</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>38fe2a2a55edc5239ba680eff3b29533</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-fp-patch</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/jbds-seamfp-patch.zip</url>
+ <md5>c3af3b56add0acccb72db88de477f3c7</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.0.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.0.1.GA.zip</url>
+ <unpack>true</unpack>
+ <md5>0a1accf94fd37e40ab1091ee593b8b75</md5>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.1.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.1.1.GA.zip</url>
+ <unpack>true</unpack>
+ <md5>e0c30e4f129a699ff4106eb84cc1220e</md5>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seam.core.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/requirements.properties 2012-06-26 11:30:45 UTC (rev 42214)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/requirements.properties 2012-06-26 12:32:25 UTC (rev 42215)
@@ -1 +0,0 @@
-requirements=jbeap,eapseamgen,seamfp,seam-2.0.1.GA,seam-2.1.1.GA
\ No newline at end of file
12 years, 6 months
JBoss Tools SVN: r42214 - trunk/seam/tests/org.jboss.tools.seam.ui.test.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-26 07:30:45 -0400 (Tue, 26 Jun 2012)
New Revision: 42214
Removed:
trunk/seam/tests/org.jboss.tools.seam.ui.test/requirements.properties
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/pom.xml
Log:
JBIDE-11714: WIP on Seam w/ EAP
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/pom.xml 2012-06-26 11:15:55 UTC (rev 42213)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/pom.xml 2012-06-26 11:30:45 UTC (rev 42214)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.jboss.home.4.2=${requirement.build.root}/jboss-4.2.3.GA -Djbosstools.test.seam.1.2.1.eap.home=${requirement.build.root}/jboss-eap-4.3/seam -Djbosstools.test.seam.2fp.eap.home=${requirement.build.root}/jboss-eap-4.3/seamfp -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.0.1.GA -Djbosstools.test.seam.2.1.0.GA.home=${requirement.build.root}/jboss-seam-2.1.1.GA</systemProperties>
+ <systemProperties>-Djbosstools.test.jboss.home.4.2=${requirementsDirectory}}/jboss-4.2.3.GA -Djbosstools.test.seam.1.2.1.eap.home=${requirementsDirectory}/jboss-eap-4.3/seam -Djbosstools.test.seam.2fp.eap.home=${requirementsDirectory}/jboss-eap-4.3/seamfp -Djbosstools.test.seam.2.0.1.GA.home=${requirementsDirectory}/jboss-seam-2.0.1.GA -Djbosstools.test.seam.2.1.0.GA.home=${requirementsDirectory}/jboss-seam-2.1.1.GA</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.core,org.jboss.tools.seam.ui</emma.instrument.bundles>
</properties>
@@ -20,6 +20,108 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-as</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>4.2.3.GA</version>
+ <type>zip</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-fp</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>38fe2a2a55edc5239ba680eff3b29533</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-fp-patch</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/jbds-seamfp-patch.zip</url>
+ <md5>c3af3b56add0acccb72db88de477f3c7</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.0.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.0.1.GA.zip</url>
+ <unpack>true</unpack>
+ <md5>0a1accf94fd37e40ab1091ee593b8b75</md5>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-2.1.1</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://repository.jboss.org/sourceforge/jboss-seam-2.1.1.GA.zip</url>
+ <unpack>true</unpack>
+ <md5>e0c30e4f129a699ff4106eb84cc1220e</md5>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seam.ui.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/requirements.properties 2012-06-26 11:15:55 UTC (rev 42213)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/requirements.properties 2012-06-26 11:30:45 UTC (rev 42214)
@@ -1 +0,0 @@
-requirements=jbossas-4.2.3.GA,jbeap,eapseamgen,seamfp,seam-2.0.1.GA,seam-2.1.1.GA
\ No newline at end of file
12 years, 6 months
JBoss Tools SVN: r42213 - in trunk/seam/tests: org.jboss.tools.seam121EAP.ui.test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-26 07:15:55 -0400 (Tue, 26 Jun 2012)
New Revision: 42213
Removed:
trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/requirements.properties
trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/requirements.properties
Modified:
trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/pom.xml
trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/pom.xml
trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml
Log:
JBIDE-11714: WIP on Seam w/ EAP
Modified: trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/pom.xml 2012-06-26 10:28:07 UTC (rev 42212)
+++ trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/pom.xml 2012-06-26 11:15:55 UTC (rev 42213)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirement.build.root}/jboss-eap-4.3/seam</systemProperties>
+ <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirementsDirectory}/jboss-eap-4.3/seam</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.core</emma.instrument.bundles>
</properties>
@@ -20,6 +20,37 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/requirements.properties 2012-06-26 10:28:07 UTC (rev 42212)
+++ trunk/seam/tests/org.jboss.tools.seam121EAP.core.test/requirements.properties 2012-06-26 11:15:55 UTC (rev 42213)
@@ -1 +0,0 @@
-requirements=jbeap,eapseamgen
\ No newline at end of file
Modified: trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/pom.xml 2012-06-26 10:28:07 UTC (rev 42212)
+++ trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/pom.xml 2012-06-26 11:15:55 UTC (rev 42213)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirement.build.root}/jboss-eap-4.3/seam</systemProperties>
+ <systemProperties>-Djbosstools.test.seam.1.2.1.eap.home=${requirementsDirectory}/jboss-eap-4.3/seam</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.ui,org.jboss.tools.seam.core</emma.instrument.bundles>
</properties>
@@ -20,6 +20,37 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/requirements.properties 2012-06-26 10:28:07 UTC (rev 42212)
+++ trunk/seam/tests/org.jboss.tools.seam121EAP.ui.test/requirements.properties 2012-06-26 11:15:55 UTC (rev 42213)
@@ -1 +0,0 @@
-requirements=jbeap,eapseamgen
\ No newline at end of file
Modified: trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml 2012-06-26 10:28:07 UTC (rev 42212)
+++ trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml 2012-06-26 11:15:55 UTC (rev 42213)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-eap-4.3/seamfp</systemProperties>
+ <systemProperties>-Djbosstools.test.seam.2.0.1.GA.home=${requirementsDirectory}/jboss-eap-4.3/seamfp</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.ui,org.jboss.tools.seam.core</emma.instrument.bundles>
</properties>
12 years, 6 months
JBoss Tools SVN: r42212 - in trunk/seam/tests: org.jboss.tools.seamfp.ui.test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-26 06:28:07 -0400 (Tue, 26 Jun 2012)
New Revision: 42212
Removed:
trunk/seam/tests/org.jboss.tools.seamfp.core.test/requirements.properties
trunk/seam/tests/org.jboss.tools.seamfp.ui.test/requirements.properties
Modified:
trunk/seam/tests/org.jboss.tools.seamfp.core.test/pom.xml
trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml
Log:
JBIDE-11714: WIP on Seam w/ EAP
Modified: trunk/seam/tests/org.jboss.tools.seamfp.core.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seamfp.core.test/pom.xml 2012-06-26 09:56:31 UTC (rev 42211)
+++ trunk/seam/tests/org.jboss.tools.seamfp.core.test/pom.xml 2012-06-26 10:28:07 UTC (rev 42212)
@@ -12,7 +12,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-eap-4.3/seamfp</systemProperties>
+ <systemProperties>-Djbosstools.test.seam.2.0.1.GA.home=${requirementsDirectory}/jboss-eap-4.3/seamfp</systemProperties>
<coverage.filter>org.jboss.tools.seam*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.seam.core</emma.instrument.bundles>
</properties>
@@ -20,6 +20,62 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-fp</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>38fe2a2a55edc5239ba680eff3b29533</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-fp-patch</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/jbds-seamfp-patch.zip</url>
+ <md5>c3af3b56add0acccb72db88de477f3c7</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seamfp.core.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seamfp.core.test/requirements.properties 2012-06-26 09:56:31 UTC (rev 42211)
+++ trunk/seam/tests/org.jboss.tools.seamfp.core.test/requirements.properties 2012-06-26 10:28:07 UTC (rev 42212)
@@ -1 +0,0 @@
-requirements=jbeap,eapseamgen,seamfp
\ No newline at end of file
Modified: trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml 2012-06-26 09:56:31 UTC (rev 42211)
+++ trunk/seam/tests/org.jboss.tools.seamfp.ui.test/pom.xml 2012-06-26 10:28:07 UTC (rev 42212)
@@ -20,6 +20,61 @@
<build>
<plugins>
<plugin>
+ <groupId>com.googlecode.maven-download-plugin</groupId>
+ <artifactId>maven-download-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-eap</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>18dc28785c8b156b36e2d92db699064a</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-seam-gen</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/rhds-seam-gen-patch.zip</url>
+ <md5>79b37541804f49844ea7322c0ff599c1</md5>
+ <unpack>true</unpack>
+ <outputDirectory>${requirementsDirectory}/jboss-eap-4.3/seam</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-eap-fp</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.devel.redhat.com/released/JBEAP-4.3.0/CP03/zip/jboss-eap-...</url>
+ <md5>38fe2a2a55edc5239ba680eff3b29533</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-seam-fp-patch</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>http://download.jboss.org/jbosstools/test-runtimes/jbds-seamfp-patch.zip</url>
+ <md5>c3af3b56add0acccb72db88de477f3c7</md5>
+ <unpack>true</unpack>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
Deleted: trunk/seam/tests/org.jboss.tools.seamfp.ui.test/requirements.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seamfp.ui.test/requirements.properties 2012-06-26 09:56:31 UTC (rev 42211)
+++ trunk/seam/tests/org.jboss.tools.seamfp.ui.test/requirements.properties 2012-06-26 10:28:07 UTC (rev 42212)
@@ -1 +0,0 @@
-requirements=jbeap,eapseamgen,seamfp
\ No newline at end of file
12 years, 6 months
JBoss Tools SVN: r42210 - in trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: psrna
Date: 2012-06-26 04:59:29 -0400 (Tue, 26 Jun 2012)
New Revision: 42210
Modified:
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/META-INF/MANIFEST.MF
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/pom.xml
Log:
* dependencies updated
Modified: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/META-INF/MANIFEST.MF 2012-06-26 08:15:56 UTC (rev 42209)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/META-INF/MANIFEST.MF 2012-06-26 08:59:29 UTC (rev 42210)
@@ -8,4 +8,6 @@
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.swtbot.go,
org.jboss.tools.ui.bot.ext;bundle-version="3.2.0",
- org.eclipse.jdt.junit4.runtime;bundle-version="1.1.100"
+ org.eclipse.jdt.junit4.runtime;bundle-version="1.1.100",
+ org.jboss.tools.modeshape.rest;bundle-version="1.1.0",
+ org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.5"
Modified: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/pom.xml
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/pom.xml 2012-06-26 08:15:56 UTC (rev 42209)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/pom.xml 2012-06-26 08:59:29 UTC (rev 42210)
@@ -24,6 +24,13 @@
<configuration>
<useUIThread>false</useUIThread>
<skip>${swtbot.test.skip}</skip>
+ <dependencies combine.children="append">
+ <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>
</plugins>
12 years, 6 months
JBoss Tools SVN: r42209 - trunk/esb/tests/org.jboss.tools.esb.project.core.test.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-06-26 04:15:56 -0400 (Tue, 26 Jun 2012)
New Revision: 42209
Modified:
trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml
Log:
JBIDE-11714:
* Fix ESB test pom
Modified: trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml 2012-06-26 02:25:43 UTC (rev 42208)
+++ trunk/esb/tests/org.jboss.tools.esb.project.core.test/pom.xml 2012-06-26 08:15:56 UTC (rev 42209)
@@ -13,7 +13,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <systemProperties>-Djbosstools.test.jboss.home.4.2=${requirementsDirectory}/jboss-soa-p.4.3.0/jboss-as -Djbosstools.test.jboss.home.5.0=${requirementsDirectory}/jboss-soa-p.5.0.0/jboss-as -Djbosstools.test.jboss.home.5.1=${requirementsDirectory}/jboss-5.1.0.GA -Djbosstools.test.soap.home.4.3=${requirementsDirectory}/jboss-soa-p.4.3.0/jboss-soa-p.4.3.0/ -Djbosstools.test.soap.home.5.0=${requirementsDirectory}/jboss-soa-p.5.0.0/jboss-soa-p.5.0.0/</systemProperties>
+ <systemProperties>-Djbosstools.test.jboss.home.4.2=${requirementsDirectory}/jboss-soa-p.4.3.0/jboss-as -Djbosstools.test.jboss.home.5.0=${requirementsDirectory}/jboss-soa-p.5.0.0/jboss-as -Djbosstools.test.jboss.home.5.1=${requirementsDirectory}/jboss-5.1.0.GA -Djbosstools.test.soap.home.4.3=${requirementsDirectory}/jboss-soa-p.4.3.0/ -Djbosstools.test.soap.home.5.0=${requirementsDirectory}/jboss-soa-p.5.0.0</systemProperties>
<coverage.filter>org.jboss.tools.esb.core*</coverage.filter>
<emma.instrument.bundles>org.jboss.tools.esb.project.core</emma.instrument.bundles>
</properties>
12 years, 6 months
JBoss Tools SVN: r42208 - trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2012-06-25 22:25:43 -0400 (Mon, 25 Jun 2012)
New Revision: 42208
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
Log:
JBIDE-10738
As-you-type EL validation
As-you-type validation is turned off for non-modified files
Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-06-26 00:10:59 UTC (rev 42207)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-06-26 02:25:43 UTC (rev 42208)
@@ -180,7 +180,7 @@
}
}
}
-
+
/**
* Adds annotation to the annotation model, and stores it in fAnnotations with either actual position
* or special constant ALWAYS_CLEARED (when cleanAllAnnotations = true) that indicates that
@@ -461,8 +461,7 @@
protected void process(DirtyRegion dirtyRegion) {
IDocument doc = getDocument();
-
- if (!isInstalled() || isInRewrite() || dirtyRegion == null || doc == null || fIsCanceled) {
+ if (!fEditor.isDirty() || !isInstalled() || isInRewrite() || dirtyRegion == null || doc == null || fIsCanceled) {
return;
}
@@ -483,15 +482,15 @@
* Expand dirtyRegion to partitions boundaries
*/
try {
- ITypedRegion startPartition = (fDocument instanceof IDocumentExtension3) ?
- ((IDocumentExtension3)fDocument).getPartition(IJavaPartitions.JAVA_PARTITIONING, start, true) :
- fDocument.getPartition(start);
+ ITypedRegion startPartition = (doc instanceof IDocumentExtension3) ?
+ ((IDocumentExtension3)doc).getPartition(IJavaPartitions.JAVA_PARTITIONING, start, true) :
+ doc.getPartition(start);
if (startPartition != null && start > startPartition.getOffset())
start = startPartition.getOffset();
- ITypedRegion endPartition = (fDocument instanceof IDocumentExtension3) ?
- ((IDocumentExtension3)fDocument).getPartition(IJavaPartitions.JAVA_PARTITIONING, end, false) :
- fDocument.getPartition(end);
+ ITypedRegion endPartition = (doc instanceof IDocumentExtension3) ?
+ ((IDocumentExtension3)doc).getPartition(IJavaPartitions.JAVA_PARTITIONING, end, false) :
+ doc.getPartition(end);
if (endPartition != null && end < endPartition.getOffset() + endPartition.getLength())
end = endPartition.getOffset() + endPartition.getLength();
} catch (BadLocationException e) {
12 years, 6 months