Class TestMetadata

    • Constructor Detail

      • TestMetadata

        public TestMetadata​(@NotNull
                            String testName,
                            @NotNull
                            String name,
                            @NotNull
                            String value)
      • TestMetadata

        @TestOnly
        public TestMetadata​(@NotNull
                            String testName,
                            @NotNull
                            String name,
                            double numberValue)
      • TestMetadata

        public TestMetadata​(@NotNull
                            String testName,
                            @NotNull
                            String name,
                            String type,
                            @NotNull
                            String value)
    • Method Detail

      • getName

        @NotNull
        public String getName()
      • getType

        @NotNull
        public String getType()
      • getValue

        @Nullable
        public String getValue()
      • getNumValue

        @Nullable
        public BigDecimal getNumValue()
      • getTestName

        @NotNull
        public String getTestName()
      • hasTestName

        public boolean hasTestName()
      • describeValue

        public String describeValue()
      • cloneWithAutoName

        public TestMetadata cloneWithAutoName​(int autoNameIdx)
      • describe

        @NotNull
        public String describe​(boolean verbose)
        Specified by:
        describe in interface Loggable
        Parameters:
        verbose - verbosity of object description
        Returns:
        description of this object. If verbose is true, description should have mode details.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object