Class CombinationArgument


  • public final class CombinationArgument
    extends java.lang.Object
    Used to encapsulate a int[] as a combination. This is used to distinguish normal int[] and test inputs or combinations for eventual argument conversion using an ArgumentConverter. Therefore, all combinations and test inputs should be reported in a Report using this class.
    • Constructor Detail

      • CombinationArgument

        public CombinationArgument​(int[] combination)
        Creates a new argument for the given combination.
        Parameters:
        combination - the combination
    • Method Detail

      • getCombination

        public int[] getCombination()
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object