Class AbstractTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.flowable.form.engine.impl.test.AbstractTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractFlowableTestCase

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected boolean
     
    protected static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assertTextPresent(String expected, String actual)
    Asserts if the provided text is part of some text.
    void
    Asserts if the provided text is part of some text, ignoring any uppercase characters
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • EMPTY_LINE

      protected static final String EMPTY_LINE
      See Also:
    • LOGGER

      protected static final org.slf4j.Logger LOGGER
    • isEmptyLinesEnabled

      protected boolean isEmptyLinesEnabled
  • Constructor Details

    • AbstractTestCase

      public AbstractTestCase()
  • Method Details

    • 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