Class LuteceTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
fr.paris.lutece.test.LuteceTestCase
All Implemented Interfaces:
junit.framework.Test

public class LuteceTestCase extends junit.framework.TestCase
This class is the base class for Lutece test case. It provides all services initialization.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
    LuteceTestCase(String strTestName)
    The test name
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the resources directory
    void
    setResourcesDir(String strResourcesDir)
    Set the resources directory

    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, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LuteceTestCase

      public LuteceTestCase()
      Constructor
    • LuteceTestCase

      public LuteceTestCase(String strTestName)
      The test name
      Parameters:
      strTestName - The test name
  • Method Details

    • getResourcesDir

      public String getResourcesDir()
      Returns the resources directory
      Returns:
      The resources directory
    • setResourcesDir

      public void setResourcesDir(String strResourcesDir)
      Set the resources directory
      Parameters:
      strResourcesDir - The resources directory