com.xenonsoft.bridgetown.test
Class TestCalcService

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.xenonsoft.bridgetown.test.TestCalcService
All Implemented Interfaces:
junit.framework.Test

public class TestCalcService
extends junit.framework.TestCase

Unit test for the calculation service IoC container example

Version:
$Id: TestCalcService.java,v 1.2 2005/03/29 23:42:21 peter_pilgrim Exp $
Author:
Peter Pilgrim, 10-Aug-2004

Field Summary
static java.lang.String CONFIG_FILE
           
 
Constructor Summary
TestCalcService(java.lang.String name)
          Constructor for TestCalcService.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testAdd()
          test method
 void testDispose()
          test method
 void testDivide()
          test method
 void testLoad()
          Verify the assembly factory loads the XML configuration and starts
 void testMultiply()
          test method
 void testSubtract()
          test method
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_FILE

public static final java.lang.String CONFIG_FILE
See Also:
Constant Field Values
Constructor Detail

TestCalcService

public TestCalcService(java.lang.String name)
Constructor for TestCalcService.

Parameters:
name -
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testLoad

public void testLoad()
Verify the assembly factory loads the XML configuration and starts


testAdd

public void testAdd()
test method


testSubtract

public void testSubtract()
test method


testMultiply

public void testMultiply()
test method


testDivide

public void testDivide()
test method


testDispose

public void testDispose()
test method



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.