Class BaseCommonsTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.exoplatform.component.test.BaseGateInTest
org.exoplatform.component.test.AbstractGateInTest
org.exoplatform.component.test.AbstractKernelTest
org.exoplatform.commons.testing.BaseCommonsTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class BaseCommonsTestCase extends org.exoplatform.component.test.AbstractKernelTest
Created by The eXo Platform SAS Author : eXoPlatform hailt@exoplatform.com May 22, 2012
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.exoplatform.container.configuration.ConfigurationManager
     
    protected org.exoplatform.container.PortalContainer
     
    protected static org.exoplatform.services.idgenerator.IDGeneratorService
     

    Fields inherited from class org.exoplatform.component.test.AbstractGateInTest

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    static String
     
    static org.exoplatform.services.idgenerator.IDGeneratorService
     
    protected <T> T
    getService(Class<T> clazz)
     
    void
     
    protected void
     

    Methods inherited from class org.exoplatform.component.test.AbstractKernelTest

    afterClass, afterRunBare, beforeClass, begin, end, getContainer, isForceContainerReload, restartTransaction, setForceContainerReload

    Methods inherited from class org.exoplatform.component.test.AbstractGateInTest

    runBare

    Methods inherited from class org.exoplatform.component.test.BaseGateInTest

    assertInstanceOf, fail, fail, failure, failure

    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, runTest, setName, toString

    Methods inherited from class java.lang.Object

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

    • idGeneratorService

      protected static org.exoplatform.services.idgenerator.IDGeneratorService idGeneratorService
    • container

      protected org.exoplatform.container.PortalContainer container
    • configurationManager

      protected org.exoplatform.container.configuration.ConfigurationManager configurationManager
  • Constructor Details

    • BaseCommonsTestCase

      public BaseCommonsTestCase()
  • Method Details

    • setUp

      public 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
    • beforeRunBare

      protected void beforeRunBare()
      Overrides:
      beforeRunBare in class org.exoplatform.component.test.AbstractKernelTest
    • getService

      protected <T> T getService(Class<T> clazz)
    • getIdGeneratorService

      public static org.exoplatform.services.idgenerator.IDGeneratorService getIdGeneratorService()
    • generate

      public static String generate()