This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch SUREFIRE-1534
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/SUREFIRE-1534 by this push:
new 9c7304e IT with test filter
9c7304e is described below
commit 9c7304ec3cbb41a455de8be7b2c7245ef467b1d7
Author: tibordigana <[email protected]>
AuthorDate: Tue Jan 22 07:44:00 2019 +0100
IT with test filter
---
...Surefire1534ReuseForksFalseWithJavaModuleIT.java | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git
a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1534ReuseForksFalseWithJavaModuleIT.java
b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1534ReuseForksFalseWithJavaModuleIT.java
index 9cbecb1..82dde97 100644
---
a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1534ReuseForksFalseWithJavaModuleIT.java
+++
b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1534ReuseForksFalseWithJavaModuleIT.java
@@ -54,6 +54,27 @@ public class Surefire1534ReuseForksFalseWithJavaModuleIT
}
@Test
+ public void testExecuteWithReuseForksFalseWithJavaModuleWithFilter()
+ throws IOException
+ {
+ OutputValidator validator = assumeJigsaw()
+ .reuseForks( false )
+ .forkCount( 1 )
+ .setTestToRun( "MainTest" )
+ .executeTest();
+
+ validator.assertTestSuiteResults( 2, 0, 0, 0 );
+ validator.verifyErrorFreeLog();
+
+ TestFile report = validator.getSurefireReportsFile(
"TEST-MainTest.xml", UTF_8 );
+ assertTrue( report.exists() );
+ report.assertContainsText( "<property name=\"reuseForks\"
value=\"false\"/>" )
+ .assertContainsText( "<property name=\"forkCount\"
value=\"1\"/>" )
+ .assertContainsText( "<testcase name=\"test1\"" )
+ .assertContainsText( "<testcase name=\"test2\"" );
+ }
+
+ @Test
public void testExecuteWithZeroForkCountWithJavaModule()
throws IOException
{