com.xenonsoft.bridgetown.test
Class TestCrashTestServiceBeanImpl

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

public class TestCrashTestServiceBeanImpl
extends junit.framework.TestCase

A unit test to demonstrate the simple and complex property injection of the abstract assembler (IoC container) implementation AbstractServiceAssembler

Version:
$Id: TestCrashTestServiceBeanImpl.java,v 1.4 2005/03/29 23:42:21 peter_pilgrim Exp $
Author:
Peter Pilgrim, 11-Aug-2004

Field Summary
static java.lang.String CONFIG_FILE
           
 
Constructor Summary
TestCrashTestServiceBeanImpl(java.lang.String name)
          Constructor for TestCrashTestServiceBeanImpl.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testComplexAnonymousProperties()
           
 void testLoad()
          Verify the assembly factory loads the XML configuration and starts
 void testReallyHard()
           
 void testRelativelyEasy()
           
 void testSquare()
           
 void testWiretest()
           
 
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

TestCrashTestServiceBeanImpl

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

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()
              throws java.lang.Throwable
Verify the assembly factory loads the XML configuration and starts

Throws:
java.lang.Throwable

testRelativelyEasy

public void testRelativelyEasy()

testReallyHard

public void testReallyHard()

testSquare

public void testSquare()

testWiretest

public void testWiretest()

testComplexAnonymousProperties

public void testComplexAnonymousProperties()


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.