Package org.apache.maven.surefire.its
Class AbstractTestMultipleMethodPatterns
java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
org.apache.maven.surefire.its.AbstractTestMultipleMethodPatterns
- Direct Known Subclasses:
TestMultipleMethodPatternsIT
,TestMultipleMethodPatternsTestNGIT
Test project using multiple method patterns, including wildcards in class and method names.
-
Field Summary
Fields inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
IS_JAVA9_PLUS, JAVA_HOME, JAVA_VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected abstract Settings
void
This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline.void
This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline.void
This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline.void
protected SurefireLauncher
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
protected abstract SurefireLauncher
unpack()
Methods inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
executeErrorFreeTest, unpack, unpack, unpack, unpack
-
Constructor Details
-
AbstractTestMultipleMethodPatterns
public AbstractTestMultipleMethodPatterns()
-
-
Method Details
-
getSettings
-
unpack
-
prepare
-
simpleNameTest
- Throws:
Exception
-
simpleNameTestAsParallel
- Throws:
Exception
-
simpleNameTestWithJavaExt
- Throws:
Exception
-
simpleNameTestWithWildcardPkg
- Throws:
Exception
-
simpleNameTestWithJavaExtWildcardPkg
- Throws:
Exception
-
fullyQualifiedTest
- Throws:
Exception
-
shouldMatchSimpleClassNameAndMethod
- Throws:
Exception
-
matchSimpleClassAndMethodWithJavaExt
public void matchSimpleClassAndMethodWithJavaExt()This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline. -
matchSimpleClassAndMethodWithWildcardPkg
public void matchSimpleClassAndMethodWithWildcardPkg()This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline. -
matchSimpleClassAndMethodWithJavaExtWildcardPkg
public void matchSimpleClassAndMethodWithJavaExtWildcardPkg()This method name was shorten because it cause 261 character long path on Windows with Jenkins Pipeline. -
shouldMatchWildcardPackageAndClassAndMethod
- Throws:
Exception
-
regexClass
- Throws:
Exception
-
testSuccessTwo
- Throws:
Exception
-
testRegexSuccessTwo
- Throws:
Exception
-
regexClassAndMethod
- Throws:
Exception
-
shouldMatchExactClassAndMethodWildcard
- Throws:
Exception
-
shouldMatchExactClassAndMethodsWildcard
- Throws:
Exception
-
shouldMatchExactClassAndMethodCharacters
- Throws:
Exception
-
shouldMatchExactClassAndMethodsPostfix
- Throws:
Exception
-
shouldMatchExactClassAndMethodPostfix
- Throws:
Exception
-
shouldMatchExactClassAndMultipleMethods
- Throws:
Exception
-
shouldMatchMultiplePatterns
- Throws:
Exception
-
shouldMatchMultiplePatternsAsParallel
- Throws:
Exception
-
shouldMatchMultiplePatternsComplex
- Throws:
Exception
-
shouldMatchMultiplePatternsComplexAsParallel
- Throws:
Exception
-
shouldNotRunExcludedClasses
public void shouldNotRunExcludedClasses() -
shouldNotRunExcludedClassesIfIncluded
public void shouldNotRunExcludedClassesIfIncluded() -
shouldNotRunExcludedMethods
public void shouldNotRunExcludedMethods() -
shouldNotRunExcludedClassesAndMethods
public void shouldNotRunExcludedClassesAndMethods() -
negativeTest
public void negativeTest()
-