|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.tax.TaxApiTestCase
Abstract Junit TestCase class for Tax API tests.
Field Summary | |
---|---|
protected TaxManager |
taxMgr
|
Fields inherited from class com.retek.commons.util.RetekTestCase |
---|
BEGIN_PROFILING, END_PROFILING |
Constructor Summary | |
---|---|
protected |
TaxApiTestCase(java.lang.String name)
|
Method Summary | |
---|---|
void |
doSetUp()
|
void |
doTearDown()
|
protected TaxInvoiceLineItem |
getDefaultValidLineItem(long lineItemId,
Money extendedAmount,
java.lang.String skuId)
|
protected Address |
getOrderAcceptanceAddress()
|
protected Address |
getShipFromAddress()
|
protected Address |
getShipToAddress()
|
protected TaxCalculatorInvoice |
getValidArizonaTaxInvoice()
|
protected TaxCalculatorInvoice |
getValidColoradoTaxInvoice()
|
protected TaxInvoiceLineItem |
getValidLineItem(long lineItemId,
Money extendedAmount,
java.lang.String productCode,
java.lang.String skuId)
|
protected TaxCalculatorInvoice |
getValidTaxCalculatorInvoice()
|
protected TaxCalculatorInvoice |
getValidWisconsonTaxInvoice()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runBare, 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, 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 |
protected TaxManager taxMgr
Constructor Detail |
protected TaxApiTestCase(java.lang.String name)
Method Detail |
public void doSetUp() throws java.lang.Exception
doSetUp
in class RetekTestCase
java.lang.Exception
public void doTearDown() throws java.lang.Exception
doTearDown
in class RetekTestCase
java.lang.Exception
protected final TaxInvoiceLineItem getDefaultValidLineItem(long lineItemId, Money extendedAmount, java.lang.String skuId) throws java.lang.Exception
java.lang.Exception
protected final Address getOrderAcceptanceAddress() throws SystemException, BusinessException
SystemException
BusinessException
protected final Address getShipFromAddress() throws SystemException, BusinessException
SystemException
BusinessException
protected final Address getShipToAddress() throws SystemException, BusinessException
SystemException
BusinessException
protected final TaxCalculatorInvoice getValidArizonaTaxInvoice() throws java.lang.Exception
java.lang.Exception
protected final TaxCalculatorInvoice getValidColoradoTaxInvoice() throws java.lang.Exception
java.lang.Exception
protected final TaxInvoiceLineItem getValidLineItem(long lineItemId, Money extendedAmount, java.lang.String productCode, java.lang.String skuId) throws java.lang.Exception
java.lang.Exception
protected final TaxCalculatorInvoice getValidTaxCalculatorInvoice() throws java.lang.Exception
java.lang.Exception
protected final TaxCalculatorInvoice getValidWisconsonTaxInvoice() throws java.lang.Exception
java.lang.Exception
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |