Class AbstractEvent

    • Field Detail

      • HEX

        private static final char[] HEX
      • type

        private final transient EventType type
        Type is recreated in constructors anyway.
    • Constructor Detail

      • AbstractEvent

        public AbstractEvent​(EventType type)
    • Method Detail

      • writeBinaryProperty

        protected static JsonWriter writeBinaryProperty​(JsonWriter writer,
                                                        java.lang.String propertyName,
                                                        byte[] value)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • readBinaryProperty

        protected static byte[] readBinaryProperty​(JsonReader reader,
                                                   java.lang.String propertyName)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readStringProperty

        protected static java.lang.String readStringProperty​(JsonReader reader,
                                                             java.lang.String propertyName)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readStringOrNullProperty

        protected static java.lang.String readStringOrNullProperty​(JsonReader reader,
                                                                   java.lang.String propertyName)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readBoolean

        protected static boolean readBoolean​(JsonReader reader,
                                             java.lang.String propertyName)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readLongProperty

        protected static long readLongProperty​(JsonReader reader,
                                               java.lang.String propertyName)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • expectProperty

        protected static JsonReader expectProperty​(JsonReader reader,
                                                   java.lang.String propertyName)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • fromAscii

        private static byte[] fromAscii​(java.lang.String ascii)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • hexValue

        private static int hexValue​(char hexChar)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • toAscii

        private static java.lang.String toAscii​(byte[] src)
      • writeDescription

        public static void writeDescription​(JsonWriter writer,
                                            org.junit.runner.Description e)
                                     throws java.io.IOException
        Throws:
        java.io.IOException