Class TestWithParameters


  • public class TestWithParameters
    extends java.lang.Object
    A TestWithParameters keeps the data together that are needed for creating a runner for a single data set of a parameterized test. It has a name, the test class and a list of parameters.
    Since:
    4.12
    • Constructor Detail

      • TestWithParameters

        public TestWithParameters​(java.lang.String name,
                                  TestClass testClass,
                                  java.util.List<java.lang.Object> parameters)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getParameters

        public java.util.List<java.lang.Object> getParameters()
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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