Class Result.SerializedForm

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Result

    private static class Result.SerializedForm
    extends java.lang.Object
    implements java.io.Serializable
    Represents the serialized output of Result. The fields on this class match the files that Result had in JUnit 4.11.
    • Field Detail

      • fCount

        private final java.util.concurrent.atomic.AtomicInteger fCount
      • fIgnoreCount

        private final java.util.concurrent.atomic.AtomicInteger fIgnoreCount
      • fFailures

        private final java.util.List<Failure> fFailures
      • fRunTime

        private final long fRunTime
      • fStartTime

        private final long fStartTime
    • Constructor Detail

      • SerializedForm

        public SerializedForm​(Result result)
      • SerializedForm

        private SerializedForm​(java.io.ObjectInputStream.GetField fields)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • serialize

        public void serialize​(java.io.ObjectOutputStream s)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        public static Result.SerializedForm deserialize​(java.io.ObjectInputStream s)
                                                 throws java.lang.ClassNotFoundException,
                                                        java.io.IOException
        Throws:
        java.lang.ClassNotFoundException
        java.io.IOException