Class TestCase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private List<TestCase> children
      The list of children if this is a suite according to isTest() or null if this is a (singular) test.
      private Description desc
      The description of this testcase.
      private Failure failure
      The failure if any; otherwise null.
      private int idxTest
      The index of this testcase if this is a (singular) test; otherwise -1.
      private Quality qual
      The phase of this testcase.
      private long time
      If this testcase is a single testcase which has been finished, this is the span of time required to run this test.
      (package private) static long TIME_SCHEDULED  
      private static long TIME_SUITE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      (package private) TestCase​(Description desc)
      Creates a new testcase based on the description desc with indices 0...n-1, where n is the testcout of desc.
      private TestCase​(Description desc, int idxTest)
      Creates a new testcase based on the description desc with indices idxTest...idxTest+n-1, where n is the testcout of desc.