You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2018/02/18 00:47:40 UTC
[28/52] [abbrv] [partial] maven-surefire git commit: [SUREFIRE-1471]
Too long Windows path cause CI issues. Renamed surefire-intergation-tests to
surefire-its.
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-no-failsafe-reports/target/surefire-reports/TEST-junit.twoTestCases.TestTwo.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-no-failsafe-reports/target/surefire-reports/TEST-junit.twoTestCases.TestTwo.xml b/surefire-integration-tests/src/test/resources/surefire-772-no-failsafe-reports/target/surefire-reports/TEST-junit.twoTestCases.TestTwo.xml
deleted file mode 100644
index a7429aa..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-no-failsafe-reports/target/surefire-reports/TEST-junit.twoTestCases.TestTwo.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.007" errors="0" skipped="0" tests="1" name="junit.twoTestCases.TestTwo">
- <properties>
- <property name="surefire.version" value="2.8.1"/>
- <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
- <property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/>
- <property name="java.vm.version" value="19.1-b02"/>
- <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
- <property name="java.vendor.url" value="http://java.sun.com/"/>
- <property name="path.separator" value=":"/>
- <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
- <property name="file.encoding.pkg" value="sun.io"/>
- <property name="user.country" value="RU"/>
- <property name="sun.java.launcher" value="SUN_STANDARD"/>
- <property name="sun.os.patch.level" value="unknown"/>
- <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
- <property name="user.dir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.runtime.version" value="1.6.0_24-b07"/>
- <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
- <property name="basedir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/endorsed"/>
- <property name="os.arch" value="amd64"/>
- <property name="surefire.real.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/surefire/surefirebooter1575043494622388453.jar"/>
- <property name="java.io.tmpdir" value="/tmp"/>
- <property name="line.separator" value="
-"/>
- <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="os.name" value="Linux"/>
- <property name="sun.jnu.encoding" value="UTF-8"/>
- <property name="java.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
- <property name="surefire.test.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.specification.name" value="Java Platform API Specification"/>
- <property name="java.class.version" value="50.0"/>
- <property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
- <property name="os.version" value="2.6.32-29-generic"/>
- <property name="user.home" value="/home/kristian"/>
- <property name="user.timezone" value=""/>
- <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
- <property name="java.specification.version" value="1.6"/>
- <property name="file.encoding" value="UTF-8"/>
- <property name="user.name" value="kristian"/>
- <property name="java.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.vm.specification.version" value="1.0"/>
- <property name="sun.arch.data.model" value="64"/>
- <property name="java.home" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre"/>
- <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="user.language" value="ru"/>
- <property name="java.vm.info" value="mixed mode"/>
- <property name="java.version" value="1.6.0_24"/>
- <property name="java.ext.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/usr/java/packages/lib/ext"/>
- <property name="sun.boot.class.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes"/>
- <property name="java.vendor" value="Sun Microsystems Inc."/>
- <property name="localRepository" value="/home/kristian/fast/repo"/>
- <property name="file.separator" value="/"/>
- <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
- <property name="sun.cpu.endian" value="little"/>
- <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
- <property name="sun.desktop" value="gnome"/>
- <property name="sun.cpu.isalist" value=""/>
- </properties>
- <testcase time="0" classname="junit.twoTestCases.TestTwo" name="testTwo"/>
-</testsuite>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-no-reports/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-no-reports/pom.xml b/surefire-integration-tests/src/test/resources/surefire-772-no-reports/pom.xml
deleted file mode 100644
index ab99166..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-no-reports/pom.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>junit-twoTestCases</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for two test cases</name>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.1</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/pom.xml b/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/pom.xml
deleted file mode 100644
index 1d8df09..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/pom.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>junit-twoTestCases</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for two test cases</name>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.1</version>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>skipSurefire</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- <configuration>
- <skipSurefireReport>true</skipSurefireReport>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>optionalSurefire</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- <configuration>
- <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.BasicTest.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.BasicTest.xml b/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.BasicTest.xml
deleted file mode 100644
index 4832590..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.BasicTest.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.02" errors="0" skipped="0" tests="1" name="junit.twoTestCases.BasicTest">
- <properties>
- <property name="surefire.version" value="2.8.1"/>
- <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
- <property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/>
- <property name="java.vm.version" value="19.1-b02"/>
- <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
- <property name="java.vendor.url" value="http://java.sun.com/"/>
- <property name="path.separator" value=":"/>
- <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
- <property name="file.encoding.pkg" value="sun.io"/>
- <property name="user.country" value="RU"/>
- <property name="sun.java.launcher" value="SUN_STANDARD"/>
- <property name="sun.os.patch.level" value="unknown"/>
- <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
- <property name="user.dir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.runtime.version" value="1.6.0_24-b07"/>
- <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
- <property name="basedir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/endorsed"/>
- <property name="os.arch" value="amd64"/>
- <property name="surefire.real.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/surefire/surefirebooter1575043494622388453.jar"/>
- <property name="java.io.tmpdir" value="/tmp"/>
- <property name="line.separator" value="
-"/>
- <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="os.name" value="Linux"/>
- <property name="sun.jnu.encoding" value="UTF-8"/>
- <property name="java.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
- <property name="surefire.test.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.specification.name" value="Java Platform API Specification"/>
- <property name="java.class.version" value="50.0"/>
- <property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
- <property name="os.version" value="2.6.32-29-generic"/>
- <property name="user.home" value="/home/kristian"/>
- <property name="user.timezone" value=""/>
- <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
- <property name="java.specification.version" value="1.6"/>
- <property name="file.encoding" value="UTF-8"/>
- <property name="user.name" value="kristian"/>
- <property name="java.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.vm.specification.version" value="1.0"/>
- <property name="sun.arch.data.model" value="64"/>
- <property name="java.home" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre"/>
- <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="user.language" value="ru"/>
- <property name="java.vm.info" value="mixed mode"/>
- <property name="java.version" value="1.6.0_24"/>
- <property name="java.ext.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/usr/java/packages/lib/ext"/>
- <property name="sun.boot.class.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes"/>
- <property name="java.vendor" value="Sun Microsystems Inc."/>
- <property name="localRepository" value="/home/kristian/fast/repo"/>
- <property name="file.separator" value="/"/>
- <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
- <property name="sun.cpu.endian" value="little"/>
- <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
- <property name="sun.desktop" value="gnome"/>
- <property name="sun.cpu.isalist" value=""/>
- </properties>
- <testcase time="0.002" classname="junit.twoTestCases.BasicTest" name="testSetUp"/>
-</testsuite>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.TestTwo.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.TestTwo.xml b/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.TestTwo.xml
deleted file mode 100644
index a7429aa..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-no-surefire-reports/target/failsafe-reports/TEST-junit.twoTestCases.TestTwo.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.007" errors="0" skipped="0" tests="1" name="junit.twoTestCases.TestTwo">
- <properties>
- <property name="surefire.version" value="2.8.1"/>
- <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
- <property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/>
- <property name="java.vm.version" value="19.1-b02"/>
- <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
- <property name="java.vendor.url" value="http://java.sun.com/"/>
- <property name="path.separator" value=":"/>
- <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
- <property name="file.encoding.pkg" value="sun.io"/>
- <property name="user.country" value="RU"/>
- <property name="sun.java.launcher" value="SUN_STANDARD"/>
- <property name="sun.os.patch.level" value="unknown"/>
- <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
- <property name="user.dir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.runtime.version" value="1.6.0_24-b07"/>
- <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
- <property name="basedir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/endorsed"/>
- <property name="os.arch" value="amd64"/>
- <property name="surefire.real.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/surefire/surefirebooter1575043494622388453.jar"/>
- <property name="java.io.tmpdir" value="/tmp"/>
- <property name="line.separator" value="
-"/>
- <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="os.name" value="Linux"/>
- <property name="sun.jnu.encoding" value="UTF-8"/>
- <property name="java.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
- <property name="surefire.test.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.specification.name" value="Java Platform API Specification"/>
- <property name="java.class.version" value="50.0"/>
- <property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
- <property name="os.version" value="2.6.32-29-generic"/>
- <property name="user.home" value="/home/kristian"/>
- <property name="user.timezone" value=""/>
- <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
- <property name="java.specification.version" value="1.6"/>
- <property name="file.encoding" value="UTF-8"/>
- <property name="user.name" value="kristian"/>
- <property name="java.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.vm.specification.version" value="1.0"/>
- <property name="sun.arch.data.model" value="64"/>
- <property name="java.home" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre"/>
- <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="user.language" value="ru"/>
- <property name="java.vm.info" value="mixed mode"/>
- <property name="java.version" value="1.6.0_24"/>
- <property name="java.ext.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/usr/java/packages/lib/ext"/>
- <property name="sun.boot.class.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes"/>
- <property name="java.vendor" value="Sun Microsystems Inc."/>
- <property name="localRepository" value="/home/kristian/fast/repo"/>
- <property name="file.separator" value="/"/>
- <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
- <property name="sun.cpu.endian" value="little"/>
- <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
- <property name="sun.desktop" value="gnome"/>
- <property name="sun.cpu.isalist" value=""/>
- </properties>
- <testcase time="0" classname="junit.twoTestCases.TestTwo" name="testTwo"/>
-</testsuite>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.BasicTest.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.BasicTest.xml b/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.BasicTest.xml
deleted file mode 100644
index 4832590..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.BasicTest.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.02" errors="0" skipped="0" tests="1" name="junit.twoTestCases.BasicTest">
- <properties>
- <property name="surefire.version" value="2.8.1"/>
- <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
- <property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/>
- <property name="java.vm.version" value="19.1-b02"/>
- <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
- <property name="java.vendor.url" value="http://java.sun.com/"/>
- <property name="path.separator" value=":"/>
- <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
- <property name="file.encoding.pkg" value="sun.io"/>
- <property name="user.country" value="RU"/>
- <property name="sun.java.launcher" value="SUN_STANDARD"/>
- <property name="sun.os.patch.level" value="unknown"/>
- <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
- <property name="user.dir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.runtime.version" value="1.6.0_24-b07"/>
- <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
- <property name="basedir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/endorsed"/>
- <property name="os.arch" value="amd64"/>
- <property name="surefire.real.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/surefire/surefirebooter1575043494622388453.jar"/>
- <property name="java.io.tmpdir" value="/tmp"/>
- <property name="line.separator" value="
-"/>
- <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="os.name" value="Linux"/>
- <property name="sun.jnu.encoding" value="UTF-8"/>
- <property name="java.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
- <property name="surefire.test.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.specification.name" value="Java Platform API Specification"/>
- <property name="java.class.version" value="50.0"/>
- <property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
- <property name="os.version" value="2.6.32-29-generic"/>
- <property name="user.home" value="/home/kristian"/>
- <property name="user.timezone" value=""/>
- <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
- <property name="java.specification.version" value="1.6"/>
- <property name="file.encoding" value="UTF-8"/>
- <property name="user.name" value="kristian"/>
- <property name="java.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.vm.specification.version" value="1.0"/>
- <property name="sun.arch.data.model" value="64"/>
- <property name="java.home" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre"/>
- <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="user.language" value="ru"/>
- <property name="java.vm.info" value="mixed mode"/>
- <property name="java.version" value="1.6.0_24"/>
- <property name="java.ext.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/usr/java/packages/lib/ext"/>
- <property name="sun.boot.class.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes"/>
- <property name="java.vendor" value="Sun Microsystems Inc."/>
- <property name="localRepository" value="/home/kristian/fast/repo"/>
- <property name="file.separator" value="/"/>
- <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
- <property name="sun.cpu.endian" value="little"/>
- <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
- <property name="sun.desktop" value="gnome"/>
- <property name="sun.cpu.isalist" value=""/>
- </properties>
- <testcase time="0.002" classname="junit.twoTestCases.BasicTest" name="testSetUp"/>
-</testsuite>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.TestTwo.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.TestTwo.xml b/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.TestTwo.xml
deleted file mode 100644
index a7429aa..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/persistent-reports/TEST-junit.twoTestCases.TestTwo.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<testsuite failures="0" time="0.007" errors="0" skipped="0" tests="1" name="junit.twoTestCases.TestTwo">
- <properties>
- <property name="surefire.version" value="2.8.1"/>
- <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
- <property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/>
- <property name="java.vm.version" value="19.1-b02"/>
- <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
- <property name="java.vendor.url" value="http://java.sun.com/"/>
- <property name="path.separator" value=":"/>
- <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
- <property name="file.encoding.pkg" value="sun.io"/>
- <property name="user.country" value="RU"/>
- <property name="sun.java.launcher" value="SUN_STANDARD"/>
- <property name="sun.os.patch.level" value="unknown"/>
- <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
- <property name="user.dir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.runtime.version" value="1.6.0_24-b07"/>
- <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
- <property name="basedir" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated"/>
- <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/endorsed"/>
- <property name="os.arch" value="amd64"/>
- <property name="surefire.real.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/surefire/surefirebooter1575043494622388453.jar"/>
- <property name="java.io.tmpdir" value="/tmp"/>
- <property name="line.separator" value="
-"/>
- <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="os.name" value="Linux"/>
- <property name="sun.jnu.encoding" value="UTF-8"/>
- <property name="java.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
- <property name="surefire.test.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.specification.name" value="Java Platform API Specification"/>
- <property name="java.class.version" value="50.0"/>
- <property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
- <property name="os.version" value="2.6.32-29-generic"/>
- <property name="user.home" value="/home/kristian"/>
- <property name="user.timezone" value=""/>
- <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
- <property name="java.specification.version" value="1.6"/>
- <property name="file.encoding" value="UTF-8"/>
- <property name="user.name" value="kristian"/>
- <property name="java.class.path" value="/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/test-classes:/home/kristian/lsrc/maven-surefire/surefire-integration-tests/src/test/resources/surefire-740-comma-truncated/target/classes:/home/kristian/fast/repo/junit/junit/3.8.1/junit-3.8.1.jar:"/>
- <property name="java.vm.specification.version" value="1.0"/>
- <property name="sun.arch.data.model" value="64"/>
- <property name="java.home" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre"/>
- <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
- <property name="user.language" value="ru"/>
- <property name="java.vm.info" value="mixed mode"/>
- <property name="java.version" value="1.6.0_24"/>
- <property name="java.ext.dirs" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext:/usr/java/packages/lib/ext"/>
- <property name="sun.boot.class.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/classes"/>
- <property name="java.vendor" value="Sun Microsystems Inc."/>
- <property name="localRepository" value="/home/kristian/fast/repo"/>
- <property name="file.separator" value="/"/>
- <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
- <property name="sun.cpu.endian" value="little"/>
- <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
- <property name="sun.desktop" value="gnome"/>
- <property name="sun.cpu.isalist" value=""/>
- </properties>
- <testcase time="0" classname="junit.twoTestCases.TestTwo" name="testTwo"/>
-</testsuite>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/pom.xml b/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/pom.xml
deleted file mode 100644
index c44effd..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-772-specified-reports/pom.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>junit-twoTestCases</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for two test cases</name>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- <configuration>
- <reportsDirectories>
- <reportsDirectory>${basedir}/persistent-reports</reportsDirectory>
- </reportsDirectories>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.1</version>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>skipFailsafe</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- <configuration>
- <skipFailsafeReport>true</skipFailsafeReport>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>skipSurefire</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>${surefire.version}</version>
- <inherited>true</inherited>
- <configuration>
- <skipSurefireReport>true</skipSurefireReport>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/pom.xml b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/pom.xml
deleted file mode 100644
index 9c039d4..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/pom.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>surefire-803-multiFailsafeExec-failureInFirst</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>surefire-803-failure-prevents-subsequent-executions</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>${surefire.version}</version>
- <executions>
- <execution>
- <id>failing</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/FailingTest.java</include>
- </includes>
- <excludes>
- <exclude>**/SucceedingTest.java</exclude>
- </excludes>
- </configuration>
- </execution>
- <execution>
- <id>succeed</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/SucceedingTest.java</include>
- </includes>
- <excludes>
- <exclude>**/FailingTest.java</exclude>
- </excludes>
- </configuration>
- </execution>
- <execution>
- <id>verify</id>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/main/java/org/apache/maven/surefire/test/App.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/main/java/org/apache/maven/surefire/test/App.java b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/main/java/org/apache/maven/surefire/test/App.java
deleted file mode 100644
index 22cfc74..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/main/java/org/apache/maven/surefire/test/App.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.maven.surefire.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public class App
-{
-
- private String test = "value";
-
- public String getTest()
- {
- return test;
- }
-
- public void setTest( final String test )
- {
- this.test = test;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/FailingTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/FailingTest.java b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/FailingTest.java
deleted file mode 100644
index a4d0cd3..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/FailingTest.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.apache.maven.surefire.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.junit.Assert.assertThat;
-
-import org.junit.After;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.TestName;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-
-public class FailingTest
-{
- @Rule
- public TestName name = new TestName();
-
- @Test
- public void defaultTestValueIs_Value()
- {
- assertThat( new App().getTest(), equalTo( "wrong" ) );
- }
-
- @Test
- public void setTestAndRetrieveValue()
- {
- final App app = new App();
- final String val = "foo";
-
- app.setTest( val );
-
- assertThat( app.getTest(), equalTo( "bar" ) );
- }
-
- @After
- public void writeFile()
- throws IOException
- {
- final File f = new File( "target/tests-run", getClass().getName() + ".txt" );
- f.getParentFile().mkdirs();
-
- FileWriter w = null;
-
- try
- {
- w = new FileWriter( f, true );
- w.write( name.getMethodName() );
- }
- finally
- {
- if ( w != null )
- {
- try
- {
- w.close();
- }
- catch ( final IOException e )
- {
- }
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/SucceedingTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/SucceedingTest.java b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/SucceedingTest.java
deleted file mode 100644
index c9167c1..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-failureInFirst/src/test/java/org/apache/maven/surefire/test/SucceedingTest.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.apache.maven.surefire.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.junit.Assert.assertThat;
-
-import org.junit.After;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.TestName;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-
-public class SucceedingTest
-{
- @Rule
- public TestName name = new TestName();
-
- @Test
- public void defaultTestValueIs_Value()
- {
- assertThat( new App().getTest(), equalTo( "value" ) );
- }
-
- @Test
- public void setTestAndRetrieveValue()
- {
- final App app = new App();
- final String val = "foo";
-
- app.setTest( val );
-
- assertThat( app.getTest(), equalTo( val ) );
- }
-
- @After
- public void writeFile()
- throws IOException
- {
- final File f = new File( "target/tests-run", getClass().getName() + ".txt" );
- f.getParentFile().mkdirs();
-
- FileWriter w = null;
-
- try
- {
- w = new FileWriter( f, true );
- w.write( name.getMethodName() );
- }
- finally
- {
- if ( w != null )
- {
- try
- {
- w.close();
- }
- catch ( final IOException e )
- {
- }
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/pom.xml b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/pom.xml
deleted file mode 100644
index ae8ad78..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/pom.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>surefire-803-multiFailsafeExec-rebuildOverwrites</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>surefire-803-failure-prevents-subsequent-executions</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>${surefire.version}</version>
- <executions>
- <execution>
- <id>its</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/TheTest.java</include>
- </includes>
- <systemPropertyVariables>
- <success>${success}</success>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/main/java/org/apache/maven/surefire/test/App.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/main/java/org/apache/maven/surefire/test/App.java b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/main/java/org/apache/maven/surefire/test/App.java
deleted file mode 100644
index 22cfc74..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/main/java/org/apache/maven/surefire/test/App.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.maven.surefire.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-public class App
-{
-
- private String test = "value";
-
- public String getTest()
- {
- return test;
- }
-
- public void setTest( final String test )
- {
- this.test = test;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/test/java/org/apache/maven/surefire/test/TheTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/test/java/org/apache/maven/surefire/test/TheTest.java b/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/test/java/org/apache/maven/surefire/test/TheTest.java
deleted file mode 100644
index 79c5b51..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-803-multiFailsafeExec-rebuildOverwrites/src/test/java/org/apache/maven/surefire/test/TheTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.apache.maven.surefire.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.junit.Assert.assertThat;
-
-import org.junit.After;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.TestName;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-
-public class TheTest
-{
- @Test
- public void checkSuccessCLIParam()
- {
- assertThat( Boolean.getBoolean( "success" ), equalTo( true ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/pom.xml b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/pom.xml
deleted file mode 100644
index 296ded6..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/pom.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>default-configuration-multi-exec</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for single test in one of multiple executions</name>
-
- <properties>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.version}</version>
- <executions>
- <execution>
- <id>default-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/FirstTest.java</include>
- <include>**/ThirdTest.java</include>
- </includes>
- <systemPropertyVariables>
- <phaseName>first</phaseName>
- </systemPropertyVariables>
- </configuration>
- </execution>
- <execution>
- <id>second</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/SecondTest.java</include>
- <include>**/FourthTest.java</include>
- </includes>
- <systemPropertyVariables>
- <phaseName>second</phaseName>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FirstTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FirstTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FirstTest.java
deleted file mode 100644
index 56aeb83..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FirstTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class FirstTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "first", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FourthTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FourthTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FourthTest.java
deleted file mode 100644
index 880a5b2..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/FourthTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class FourthTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "second", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/SecondTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/SecondTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/SecondTest.java
deleted file mode 100644
index 4ff022c..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/SecondTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class SecondTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "second", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/ThirdTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/ThirdTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/ThirdTest.java
deleted file mode 100644
index ff25a9b..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-multi/src/test/java/defaultConfiguration/ThirdTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class ThirdTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "first", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/pom.xml b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/pom.xml
deleted file mode 100644
index 74e261a..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>default-configuration-multi-exec</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for single test in one of multiple executions</name>
-
- <properties>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.version}</version>
- <executions>
- <execution>
- <id>default-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/FirstTest.java</include>
- </includes>
- <systemPropertyVariables>
- <phaseName>first</phaseName>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FirstTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FirstTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FirstTest.java
deleted file mode 100644
index 3c7264f..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FirstTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class FirstTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "FAIL", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FourthTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FourthTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FourthTest.java
deleted file mode 100644
index 880a5b2..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/FourthTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class FourthTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "second", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/SecondTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/SecondTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/SecondTest.java
deleted file mode 100644
index 4ff022c..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/SecondTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class SecondTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "second", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/ThirdTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/ThirdTest.java b/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/ThirdTest.java
deleted file mode 100644
index ff25a9b..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-806-specifiedTests-single/src/test/java/defaultConfiguration/ThirdTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package defaultConfiguration;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class ThirdTest
- extends TestCase
-{
-
- public void testSetUp()
- {
- assertEquals( "first", System.getProperty( "phaseName" ) );
- }
-
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/pom.xml
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/pom.xml b/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/pom.xml
deleted file mode 100644
index 30f1708..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.surefire</groupId>
- <artifactId>junit4</artifactId>
- <version>1.0-SNAPSHOT</version>
- <name>Test for JUnit 4.8.1</name>
-
-
- <properties>
- <junit.version>4.8.1</junit.version>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${surefire.version}</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/BasicTest.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/BasicTest.java b/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/BasicTest.java
deleted file mode 100644
index ecfec31..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/BasicTest.java
+++ /dev/null
@@ -1,88 +0,0 @@
-package junit4;
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-import org.junit.rules.TestName;
-
-
-public class BasicTest
-{
- static int catACount = 0;
- static int catBCount = 0;
- static int catCCount = 0;
- static int catNoneCount = 0;
-
- @Rule
- public TestName testName = new TestName();
-
- @Before
- public void testName()
- {
- System.out.println( "Running " + getClass().getName() + "." + testName.getMethodName() );
- }
-
- @Test
- @Category(CategoryA.class)
- public void testInCategoryA()
- {
- catACount++;
- }
-
- @Test
- @Category(CategoryB.class)
- public void testInCategoryB()
- {
- catBCount++;
- }
-
- @Test
- @Category({CategoryA.class, CategoryB.class})
- public void testInCategoryAB()
- {
- catACount++;
- catBCount++;
- }
-
- @Test
- @Category(CategoryC.class)
- public void testInCategoryC()
- {
- catCCount++;
- }
-
- @Test
- public void testInNoCategory()
- {
- catNoneCount++;
- }
-
- @AfterClass
- public static void oneTimeTearDown()
- {
- System.out.println("catA: " + catACount + "\n" +
- "catB: " + catBCount + "\n" +
- "catC: " + catCCount + "\n" +
- "catNone: " + catNoneCount);
- }
-}
http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4d00932a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/CategoryA.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/CategoryA.java b/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/CategoryA.java
deleted file mode 100644
index 9b8b855..0000000
--- a/surefire-integration-tests/src/test/resources/surefire-809-groupExpr-junit48/src/test/java/junit4/CategoryA.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package junit4;
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-interface CategoryA {}