Class TestCaseName
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<TestMode>
-
- org.jenkinsci.plugins.parallel_test_executor.testmode.TestMode
-
- org.jenkinsci.plugins.parallel_test_executor.testmode.TestCaseName
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<TestMode>
- Direct Known Subclasses:
TestClassAndCaseName
public class TestCaseName extends TestMode
Each exclusion/inclusion generates one line consisting of the test case name only.This is useful where a tool produces JUnit result XML containing unique test case names without any class prefix.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestCaseName.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description TestCaseName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,TestEntity>
getTestEntitiesMap(hudson.tasks.junit.ClassResult classResult)
String
getWord()
boolean
isIncludeClassName()
-
Methods inherited from class org.jenkinsci.plugins.parallel_test_executor.testmode.TestMode
estimate, fixDefault, getDefault
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
isIncludeClassName
public boolean isIncludeClassName()
-
getTestEntitiesMap
@NonNull public Map<String,TestEntity> getTestEntitiesMap(@NonNull hudson.tasks.junit.ClassResult classResult)
- Specified by:
getTestEntitiesMap
in classTestMode
- Parameters:
classResult
- The initial class result- Returns:
- a Map of test entities, keyed by their unique key
-
-