Package org.junit.platform.launcher
Class TestIdentifier.SerializedForm
- java.lang.Object
-
- org.junit.platform.launcher.TestIdentifier.SerializedForm
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- TestIdentifier
private static class TestIdentifier.SerializedForm extends java.lang.Object implements java.io.Serializable
Represents the serialized output ofTestIdentifier
. The fields on this class match the fields thatTestIdentifier
had prior to 5.8.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
displayName
private java.lang.String
legacyReportingName
private java.lang.String
parentId
private static long
serialVersionUID
private TestSource
source
private java.util.Set<TestTag>
tags
private TestDescriptor.Type
type
private java.lang.String
uniqueId
-
Constructor Summary
Constructors Modifier Constructor Description private
SerializedForm(java.io.ObjectInputStream.GetField fields)
(package private)
SerializedForm(TestIdentifier testIdentifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static TestIdentifier.SerializedForm
deserialize(java.io.ObjectInputStream s)
(package private) void
serialize(java.io.ObjectOutputStream s)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
uniqueId
private final java.lang.String uniqueId
-
parentId
private final java.lang.String parentId
-
displayName
private final java.lang.String displayName
-
legacyReportingName
private final java.lang.String legacyReportingName
-
source
private final TestSource source
-
tags
private final java.util.Set<TestTag> tags
-
type
private final TestDescriptor.Type type
-
-
Constructor Detail
-
SerializedForm
SerializedForm(TestIdentifier testIdentifier)
-
SerializedForm
private SerializedForm(java.io.ObjectInputStream.GetField fields) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
serialize
void serialize(java.io.ObjectOutputStream s) throws java.io.IOException
- Throws:
java.io.IOException
-
deserialize
static TestIdentifier.SerializedForm deserialize(java.io.ObjectInputStream s) throws java.lang.ClassNotFoundException, java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
-
-