diff options
author | Lorenzo Bettini | 2014-05-20 09:36:40 +0000 |
---|---|---|
committer | Lorenzo Bettini | 2014-05-20 09:52:54 +0000 |
commit | ab073460c41bf7c85aca24700ba790bd812664f0 (patch) | |
tree | 5906147be73e62d53a29bfa75c5707b7074c3120 /tests | |
parent | 28ba174bd0aec4a0882d0de01dd8e55af009c05d (diff) | |
download | org.eclipse.emf-parsley-ab073460c41bf7c85aca24700ba790bd812664f0.tar.gz org.eclipse.emf-parsley-ab073460c41bf7c85aca24700ba790bd812664f0.tar.xz org.eclipse.emf-parsley-ab073460c41bf7c85aca24700ba790bd812664f0.zip |
swtbot tests that require PDE
Change-Id: I3a8851d0e86ee6ad5da9bb69f7f5dc85f7c50156
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.emf.parsley.tests.swtbot/pom.xml | 91 |
1 files changed, 66 insertions, 25 deletions
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/pom.xml b/tests/org.eclipse.emf.parsley.tests.swtbot/pom.xml index f53859224..19190cfa2 100644 --- a/tests/org.eclipse.emf.parsley.tests.swtbot/pom.xml +++ b/tests/org.eclipse.emf.parsley.tests.swtbot/pom.xml @@ -23,31 +23,72 @@ <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tycho-version}</version> - <configuration> - <useUIHarness>true</useUIHarness> - <useUIThread>false</useUIThread> - <!-- tycho.testArgLine repeated to re-use the configuration for argLine - for jacoco agent --> - <argLine>${tycho.testArgLine} ${memoryArgs} -Dorg.eclipse.swtbot.search.timeout=150000 -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false</argLine> - <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> - <excludes> - <exclude>**/org/eclipse/emf/parsley/tests/*AbstractTest*.java</exclude> - <exclude>**/org/eclipse/emf/parsley/tests/*WizardsTest*.java</exclude> - <exclude>**/org/eclipse/emf/parsley/tests/*DslEditorTest*.java</exclude> - <exclude>**/org/eclipse/emf/parsley/tests/*TestsSuite*.java</exclude> - <exclude>**/org/eclipse/emf/parsley/tests/*Activator*.java</exclude> - </excludes> - <includes> - <include>**/org/eclipse/emf/parsley/tests/*Test*.java</include> - </includes> - <dependencies> - <dependency> - <type>p2-installable-unit</type> - <artifactId>org.eclipse.emf.parsley.tests.swtbot.feature.feature.group</artifactId> - <version>0.0.0</version> - </dependency> - </dependencies> - </configuration> + <executions> + <execution> + <id>default-test</id> + <phase>test</phase> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>false</useUIThread> + <!-- tycho.testArgLine repeated to re-use the configuration for argLine + for jacoco agent --> + <argLine>${tycho.testArgLine} ${memoryArgs} -Dorg.eclipse.swtbot.search.timeout=150000 -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false</argLine> + <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> + <excludes> + <exclude>**/org/eclipse/emf/parsley/tests/*AbstractTest*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*WizardsTest*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*DslEditorTest*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*TestsSuite*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*Activator*.java</exclude> + </excludes> + <includes> + <include>**/org/eclipse/emf/parsley/tests/*Test*.java</include> + </includes> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.emf.parsley.tests.swtbot.feature.feature.group</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + <goals> + <goal>test</goal> + </goals> + </execution> + <execution> + <id>PDEBasedTests</id> + <phase>test</phase> + <!-- These tests required PDE and must pass -DbuildingWithTycho=true --> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>false</useUIThread> + <!-- tycho.testArgLine repeated to re-use the configuration for argLine + for jacoco agent --> + <argLine>${tycho.testArgLine} ${memoryArgs} -DbuildingWithTycho=true -Dorg.eclipse.swtbot.search.timeout=150000 -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false</argLine> + <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> + <excludes> + <exclude>**/org/eclipse/emf/parsley/tests/*AbstractTest*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*TestsSuite*.java</exclude> + <exclude>**/org/eclipse/emf/parsley/tests/*Activator*.java</exclude> + </excludes> + <includes> + <include>**/org/eclipse/emf/parsley/tests/*DslEditorTest*.java</include> + <include>**/org/eclipse/emf/parsley/tests/*WizardsTest*.java</include> + </includes> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.emf.parsley.tests.swtbot.feature.feature.group</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> </plugin> </plugins> </build> |