Class ATestCase<T,R,STATE extends ATestCaseState<T>,RESULT extends ATestCaseResult<R>>

java.lang.Object
io.github.imagineDevit.giwt.core.CloseableCase
io.github.imagineDevit.giwt.core.ATestCase<T,R,STATE,RESULT>
Type Parameters:
T -
R -

public abstract class ATestCase<T,R,STATE extends ATestCaseState<T>,RESULT extends ATestCaseResult<R>> extends CloseableCase
Test case abstract class.
Since:
0.0.1
Author:
Henri Joel SEDJAME
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      protected String getName()
      Returns the name of the test case with its relevant parameters formatted. If the test case has parameters, it will format the name using the parameters. If not, it will return the name as is. Note: This method is protected, which means it can only be accessed by classes within the same package or subclasses.
      Returns:
      the formatted name of the test case.
    • addGivenMsg

      protected void addGivenMsg(String message)
    • addAndGivenMsg

      protected void addAndGivenMsg(String message)
    • addWhenMsg

      protected void addWhenMsg(String message)
    • addThenMsg

      protected void addThenMsg(String message)
    • addAndThenMsg

      protected void addAndThenMsg(String message)
    • run

      protected abstract void run()