Class SurefireJUnit4IntegrationTestCase
java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
- Direct Known Subclasses:
AbstractFailFastIT
,AbstractJava9PlusIT
,AbstractTestCaseIT
,AbstractTestMultipleMethodPatterns
,AdditionalClasspathIT
,AggregateReportIT
,ArgLineIT
,ArgLinePropertiesIT
,AssumptionFailureReportIT
,CheckSingleTestIT
,CheckTestFailIfNoTestsForkModeIT
,CheckTestFailIfNoTestsIT
,CheckTestNg740ParallelIT
,CheckTestNgBeforeMethodFailureIT
,CheckTestNgBeforeMethodIT
,CheckTestNgCustomObjectFactoryIT
,CheckTestNgCustomTestRunnerFactoryIT
,CheckTestNgExecuteErrorIT
,CheckTestNgGroupThreadParallelIT
,CheckTestNgJdk14IT
,CheckTestNgListenerReporterIT
,CheckTestNgListenersIT
,CheckTestNgPathWithSpacesIT
,CheckTestNgReportTestIT
,CheckTestNgSuiteXmlIT
,CheckTestNgSuiteXmlSingleIT
,CheckTestNgVersionsIT
,ClasspathFilteringIT
,ClassPathOrderIT
,ClasspathScopeFilteringIT
,ConsoleOutputIT
,CrashDetectionIT
,DefaultConfigurationIT
,EnvironmentVariableIT
,EnvironmentVariablesIT
,ForkConsoleOutputIT
,ForkConsoleOutputWithErrorsIT
,ForkModeIT
,ForkModeMultiModuleIT
,IncludesExcludesFromFileIT
,IncludesExcludesIT
,JUnit44HamcrestIT
,JUnit47ConcurrencyIT
,JUnit47ParallelIT
,JUnit47ParallelNotThreadSafeIT
,JUnit47RedirectOutputIT
,JUnit47RerunFailingTestWithCucumberIT
,JUnit47StaticInnerClassTestsIT
,JUnit47WithCucumberIT
,JUnit48TestCategoriesIT
,JUnit4ForkAlwaysStaticInitPollutionIT
,JUnit4IgnoreIT
,JUnit4RerunFailingTestsIT
,JUnit4RunListenerIT
,JUnit4VersionsIT
,JUnitDepIT
,JUnitPlatformEnginesIT
,JUnitPlatformIT
,JUnitPlatformRerunFailingTestsIT
,JUnitPlatformStreamCorruptionIT
,LongWindowsPathIT
,NoRunnableTestsInClassIT
,PlainOldJavaClasspathIT
,PlexusConflictIT
,PojoSimpleIT
,ReportersIT
,ResultCountingIT
,RunOrderIT
,SiblingAggregatorIT
,SmartStackTraceIT
,SpockIT
,Surefire1004RunTestFromDependencyJarsTypeAndClassifierIT
,Surefire1024VerifyFailsafeIfTestedIT
,Surefire1028UnableToRunSingleIT
,Surefire1036NonFilterableJUnitRunnerWithCategoriesIT
,Surefire1041FailingJUnitRunnerIT
,Surefire1053SystemPropertiesIT
,Surefire1055CorrectConcurrentTestCountIT
,Surefire1080ParallelForkDoubleTestIT
,Surefire1082ParallelJUnitParameterizedIT
,Surefire1095NpeInRunListenerIT
,Surefire1098BalancedRunOrderIT
,Surefire1122ParallelAndFlakyTestsIT
,Surefire1135ImproveIgnoreMessageForTestNGIT
,Surefire1136CwdPropagationInForkedModeIT
,Surefire1144XmlRunTimeIT
,Surefire1146RerunFailedAndParameterizedIT
,Surefire1152RerunFailingTestsInSuiteIT
,Surefire1153IncludesAndSpecifiedTestIT
,Surefire1158RemoveInfoLinesIT
,Surefire1177TestngParallelSuitesIT
,Surefire1179IT
,Surefire1185DoNotSpawnTestsIT
,Surefire1202RerunAndSkipIT
,Surefire1209RerunAndForkCountIT
,Surefire1211JUnitTestNgIT
,Surefire1260NewTestsPattern
,Surefire1264IT
,Surefire1278GroupNameEndingIT
,Surefire1295AttributeJvmCrashesToTestsIT
,Surefire1364SystemPropertiesIT
,Surefire1367AssumptionLogsIT
,Surefire1383ScanSessionDependenciesIT
,Surefire1396CustomProviderClassPathIT
,Surefire141PluggableProvidersIT
,Surefire1426JvmCrashShouldNotBeIgnoredIT
,Surefire146ForkPerTestNoSetupIT
,Surefire1490ReportTitleDescriptionIT
,Surefire1535TestNGParallelSuitesIT
,Surefire1585IT
,Surefire1602IT
,Surefire162CharsetProviderIT
,Surefire1744AlwaysIncludeOutputLogsIT
,Surefire1787JUnit5IT
,Surefire1881IT
,Surefire1914XmlReportingParameterizedTestIT
,Surefire1964IT
,Surefire1967CheckTestNgMethodParallelOrderingIT
,Surefire1993JpmsProvidingModulesIT
,Surefire2006ShadefireTransformersIT
,Surefire2036IT
,Surefire224WellFormedXmlFailuresIT
,Surefire257NotRerunningTestsIT
,Surefire260TestWithIdenticalNamesIT
,Surefire34SecurityManagerIT
,Surefire376TestNgAfterSuiteFailureIT
,Surefire377TestNgAndJUnitTogetherIT
,Surefire408ManualProviderSelectionIT
,Surefire42NotExtendingTestCaseIT
,Surefire44InnerClassTestIT
,Surefire500PuzzlingErrorIT
,Surefire510TestClassPathForkModesIT
,Surefire569RunTestFromDependencyJarsIT
,Surefire570MultipleReportDirectoriesIT
,Surefire613TestCountInParallelIT
,Surefire621TestCountingJunit3InParallelIT
,Surefire628ConsoleOutputBeforeAndAfterClassIT
,Surefire634UnsettableSystemPropertiesWarningIT
,Surefire649EmptyStringSystemPropertiesIT
,Surefire673MockitoIT
,Surefire674BuildFailingWhenErrorsIT
,Surefire674BuildFailingWhenFailsafeErrorsIT
,Surefire685CommaSeparatedIncludesIT
,Surefire697NiceSummaryIT
,Surefire705ParallelForkTimeoutIT
,Surefire733AllOverrridesCapturedIT
,Surefire735ForkFailWithRedirectConsoleOutputIT
,Surefire740TruncatedCommaIT
,Surefire747MethodParallelWithSuiteCountIT
,Surefire772BothReportsIT
,Surefire772NoFailsafeReportsIT
,Surefire772NoSurefireReportsIT
,Surefire772SpecifiedReportsIT
,Surefire801ForkModeNoneClassLoaderIT
,Surefire803MultiFailsafeExecsIT
,Surefire806SpecifiedTestControlsIT
,Surefire809GroupExpressionsIT
,Surefire812Log4JClassLoaderIT
,Surefire817SystemExitIT
,Surefire818NpeIgnoresTestsIT
,Surefire828EmptyGroupExprIT
,Surefire832ProviderSelectionIT
,Surefire839TestWithoutCategoriesIT
,Surefire847AdditionalFailureIT
,Surefire855AllowFailsafeUseArtifactFileIT
,Surefire901MIssingResultfileWhenNoTestsIT
,Surefire907PerThreadWithoutThreadCountIT
,Surefire920TestFailureIgnoreWithTimeoutIT
,Surefire926FailureWith2ProvidersIT
,Surefire930TestNgSuiteXmlIT
,Surefire943ReportContentIT
,Surefire946KillMainProcessInReusableForkIT
,Surefire972BizarreNoClassDefIT
,Surefire975DefaultVMEncodingIT
,Surefire979WrongClassLoaderIT
,Surefire985ParameterizedRunnerAndCategoriesIT
,Surefire995CategoryInheritanceIT
,SystemPropertiesTestIT
,TestMethodPatternIT
,TestMultipleMethodsIT
,TestNgGroupsIT
,TestNgParallelWithAnnotationsIT
,TestNgSuccessPercentageIT
,TestSingleMethodIT
,TimeoutForkedTestIT
,TwoTestCasesIT
,UmlautDirIT
,UnicodeTestNamesIT
,UseIsolatedClassLoaderIT
,WorkingDirectoryIsInvalidPropertyIT
,WorkingDirectoryIT
,WorkingDirectoryMissingIT
,XmlReporterRunTimeIT
Contains commonly used features for most tests, encapsulating
common use cases.
Also includes thread-safe access to the extracted resource files, which AbstractSurefireIntegrationTestClass does not. Thread safe only for running in "classes" mode.
Also includes thread-safe access to the extracted resource files, which AbstractSurefireIntegrationTestClass does not. Thread safe only for running in "classes" mode.
- Author:
- Kristian Rosenvold
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteErrorFreeTest
(String sourceName, int total) static SurefireLauncher
-
Field Details
-
JAVA_HOME
-
JAVA_VERSION
public static final double JAVA_VERSION -
IS_JAVA9_PLUS
public static final boolean IS_JAVA9_PLUS
-
-
Constructor Details
-
SurefireJUnit4IntegrationTestCase
public SurefireJUnit4IntegrationTestCase()
-
-
Method Details
-
executeErrorFreeTest
-
unpack
-
unpack
-
unpack
-
unpack
-