Class Z2JupiterListenerEventDto
java.lang.Object
com.zfabrik.dev.z2jupiter.internal.transfer.Z2JupiterListenerEventDto
Payload of event transmission back to client and handling on client
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Event type and dispatch to client sideTestExecutionListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
void
setReportEntry(Z2JupiterReportEntryDto reportEntry)
void
setTestIdentifier(Z2JupiterTestIdentifierDto testIdentifier)
void
setTestResult(Z2JupiterTestResultDto testResult)
void
Create JUnit5 descriptor given the event datatoJUnit5Descriptor(org.junit.platform.engine.UniqueId prefix)
Create JUnit5 descriptor given the event data and apply a prefix to the uniqueIdorg.junit.platform.launcher.TestIdentifier
Create JUnit5 identifier given the event datawithParentDescriptorResolver(Function<org.junit.platform.engine.UniqueId,org.junit.platform.engine.TestDescriptor> resolver)
Must be set on client, when processing to test identifier or testdescriptorswithReason(String reason)
withReportEntry(Z2JupiterReportEntryDto reportEntry)
withTestIdentifier(Z2JupiterTestIdentifierDto testIdentifier)
withTestResult(Z2JupiterTestResultDto testResult)
-
Constructor Details
-
Z2JupiterListenerEventDto
public Z2JupiterListenerEventDto()
-
-
Method Details
-
withParentDescriptorResolver
public Z2JupiterListenerEventDto withParentDescriptorResolver(Function<org.junit.platform.engine.UniqueId,org.junit.platform.engine.TestDescriptor> resolver)Must be set on client, when processing to test identifier or testdescriptors- Parameters:
clientTestPlan
-- Returns:
-
toJUnit5Descriptor
Create JUnit5 descriptor given the event data -
toJUnit5Descriptor
Create JUnit5 descriptor given the event data and apply a prefix to the uniqueId -
toJUnit5TestIdentifier
public org.junit.platform.launcher.TestIdentifier toJUnit5TestIdentifier()Create JUnit5 identifier given the event data -
getType
-
setType
-
withType
-
getTestResult
-
setTestResult
-
withTestResult
-
getTestIdentifier
-
setTestIdentifier
-
withTestIdentifier
-
getReason
-
setReason
-
withReason
-
getReportEntry
-
setReportEntry
-
withReportEntry
-