Class AbstractTestCase

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

    public abstract class AbstractTestCase
    extends junit.framework.TestCase
    Author:
    Tom Baeyens
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assertTextPresent​(String expected, String actual)
      Asserts if the provided text is part of some text.
      void assertTextPresentIgnoreCase​(String expected, String actual)
      Asserts if the provided text is part of some text, ignoring any uppercase characters
      protected void runTest()  
      • 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, setName, setUp, tearDown, toString
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • isEmptyLinesEnabled

        protected boolean isEmptyLinesEnabled
    • Constructor Detail

      • AbstractTestCase

        public AbstractTestCase()
    • Method Detail

      • assertTextPresent

        public void assertTextPresent​(String expected,
                                      String actual)
        Asserts if the provided text is part of some text.
      • assertTextPresentIgnoreCase

        public void assertTextPresentIgnoreCase​(String expected,
                                                String actual)
        Asserts if the provided text is part of some text, ignoring any uppercase characters
      • runTest

        protected void runTest()
                        throws Throwable
        Overrides:
        runTest in class junit.framework.TestCase
        Throws:
        Throwable