com.xenonsoft.bridgetown.test
Interface ICrashTestServiceBean

All Known Implementing Classes:
CrashTestServiceBeanImpl

public interface ICrashTestServiceBean

An interface contract for a unit test service bean

Version:
$Id: ICrashTestServiceBean.java,v 1.3 2005/02/23 01:32:38 peter_pilgrim Exp $
Author:
Peter Pilgrim, Jul 30, 2004 2:33:25 PM

Method Summary
 java.util.List getItemList()
          Gets the anonymous item List collection for testing
 java.util.Map getItemMap()
          Gets the anonymous item Map collection for testing
 java.util.Properties getItemProperties()
          Gets the anonymous item Properties collection for testing
 java.util.Set getItemSet()
          Gets the anonymous item Set collection for testing
 int getReallyHardStatus()
          Get the last called status value
 int getRelativeEasyStatus()
          Get the last called status value
 int getWiretestStatus()
          Get the last called status value
 int reallyHard(java.lang.String text, int aInt, double aDouble)
          A method that is invoked by the assembly inversion-of-control framework for purpose of a unit test.
 int relativelyEasy(java.lang.String text1, java.lang.String text2)
          A method that is invoked by the assembly inversion-of-control framework for purpose of a unit test.
 java.math.BigDecimal square(java.math.BigDecimal aDecimal)
          Calculate the square of a number
 int wiretest(CrashTestDummy testDummy)
          Wire method test for the IoC framework
 

Method Detail

relativelyEasy

public int relativelyEasy(java.lang.String text1,
                          java.lang.String text2)
A method that is invoked by the assembly inversion-of-control framework for purpose of a unit test.

Parameters:
text1 - first string
text2 - second string
Returns:
should always returns the number 1969

getRelativeEasyStatus

public int getRelativeEasyStatus()
Get the last called status value

Returns:

reallyHard

public int reallyHard(java.lang.String text,
                      int aInt,
                      double aDouble)
A method that is invoked by the assembly inversion-of-control framework for purpose of a unit test.

Parameters:
text -
aInt -
aDouble -
Returns:
should always returns the number 1970

getReallyHardStatus

public int getReallyHardStatus()
Get the last called status value

Returns:

square

public java.math.BigDecimal square(java.math.BigDecimal aDecimal)
Calculate the square of a number

Parameters:
aDecimal - the square
Returns:
the square

wiretest

public int wiretest(CrashTestDummy testDummy)
Wire method test for the IoC framework

Parameters:
testDummy - test dummy object to wire in to this method
Returns:
should always returns the number 1971

getWiretestStatus

public int getWiretestStatus()
Get the last called status value

Returns:

getItemList

public java.util.List getItemList()
Gets the anonymous item List collection for testing

Returns:
Returns the itemList.

getItemMap

public java.util.Map getItemMap()
Gets the anonymous item Map collection for testing

Returns:
Returns the itemMap.

getItemSet

public java.util.Set getItemSet()
Gets the anonymous item Set collection for testing

Returns:
Returns the itemSet.

getItemProperties

public java.util.Properties getItemProperties()
Gets the anonymous item Properties collection for testing

Returns:
Returns the itemProperties.


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.