Class ParametrizedTest

  • All Implemented Interfaces:
    Test

    public class ParametrizedTest
    extends AbstractTest
    This test validates that test properties are inherited from the class that defines the "class" attribute down to each test instance that uses the same class.
    Version:
    $Id: ParametrizedTest.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Detail

      • A

        protected java.lang.String A
      • B

        protected java.lang.String B
      • expectedA

        protected java.lang.String expectedA
      • expectedB

        protected java.lang.String expectedB
    • Constructor Detail

      • ParametrizedTest

        public ParametrizedTest()
    • Method Detail

      • setA

        public void setA​(java.lang.String A)
      • setB

        public void setB​(java.lang.String B)
      • setExpectedA

        public void setExpectedA​(java.lang.String expectedA)
      • setExpectedB

        public void setExpectedB​(java.lang.String expectedB)
      • getA

        public java.lang.String getA()
      • getB

        public java.lang.String getB()
      • getExpectedA

        public java.lang.String getExpectedA()
      • getExpectedB

        public java.lang.String getExpectedB()
      • runImpl

        public TestReport runImpl()
                           throws java.lang.Exception
        Description copied from class: AbstractTest
        Subclasses should implement this method with the content of the test case. Typically, implementations will choose to catch and process all exceptions and error conditions they are looking for in the code they exercise but will let exceptions due to their own processing propagate.
        Overrides:
        runImpl in class AbstractTest
        Throws:
        java.lang.Exception