Class ServiceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
All Implemented Interfaces:
junit.framework.Test

public class ServiceTest extends OFBizTestCase
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServiceTest(String caseName, Element mainElement)
    Tests of Service
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    run(junit.framework.TestResult result)
     

    Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase

    from, from, getDispatcher, getUserLogin, getUserLogin, logError, logInfo, logWarning, select, select, setDispatcher

    Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase

    getDelegator, setDelegator

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

    Methods inherited from class java.lang.Object

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

    • ServiceTest

      public ServiceTest(String caseName, Element mainElement)
      Tests of Service
      Parameters:
      caseName - test case name
      mainElement - DOM main element
  • Method Details

    • countTestCases

      public int countTestCases()
      Specified by:
      countTestCases in interface junit.framework.Test
      Overrides:
      countTestCases in class junit.framework.TestCase
    • run

      public void run(junit.framework.TestResult result)
      Specified by:
      run in interface junit.framework.Test
      Overrides:
      run in class junit.framework.TestCase