Class JUnitTest

  • All Implemented Interfaces:
    junit.framework.Test
    Direct Known Subclasses:
    AbstractJCRTest

    public abstract class JUnitTest
    extends junit.framework.TestCase
    Abstract base class for any JUnit test case.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      LogPrintWriter log
      Output stream for general messages from tests.
      protected org.slf4j.Logger logger
      Logger instance for test cases
    • Constructor Summary

      Constructors 
      Constructor Description
      JUnitTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void setUp()  
      protected void tearDown()  
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
        Logger instance for test cases
      • log

        public final LogPrintWriter log
        Output stream for general messages from tests.
    • Constructor Detail

      • JUnitTest

        public JUnitTest()
    • Method Detail

      • 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