Class ManagedTestCase

  • All Implemented Interfaces:
    junit.framework.Test
    Direct Known Subclasses:
    MessageTestCase, MinConcurrencyTest

    public abstract class ManagedTestCase
    extends junit.framework.TestCase
    • Constructor Detail

      • ManagedTestCase

        public ManagedTestCase​(Object... resources)
    • Method Detail

      • addResource

        protected void addResource​(Object resource)
      • init

        public void init​(String id,
                         boolean managed,
                         Class<?> testClass)
      • getId

        public String getId()
      • getTestClass

        public Class<?> getTestClass()
      • getName

        public String getName()
        Overrides:
        getName in class junit.framework.TestCase
      • setUp

        protected void setUp()
                      throws Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        Exception
      • tearDown

        protected void tearDown()
                         throws Exception
        Overrides:
        tearDown in class junit.framework.TestCase
        Throws:
        Exception
      • toString

        public String toString()
        Overrides:
        toString in class junit.framework.TestCase