com.retek.component.tax
Class TaxCreditorTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.tax.TaxApiTestCase
                  extended bycom.retek.component.tax.TaxCreditorTest
All Implemented Interfaces:
junit.framework.Test

public class TaxCreditorTest
extends TaxApiTestCase


Field Summary
 
Fields inherited from class com.retek.component.tax.TaxApiTestCase
taxMgr
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
TaxCreditorTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCreditTax()
           
 void testCreditTaxBadOrderAcceptanceAddress()
           
 void testCreditTaxBadShipFromAddress()
           
 void testCreditTaxBadShipToAddress()
           
 void testCreditTaxMissingOrderAcceptanceAddressThrowsException()
           
 void testCreditTaxMissingShipFromAddressThrowsException()
           
 void testCreditTaxMissingShipToAddressThrowsException()
           
 void testCreditTaxMissingTaxCompanyThrowsException()
           
 void testCreditTaxMissingTaxCustomerThrowsException()
           
 void testCreditTaxMissingTaxInvoiceDateThrowsException()
           
 void testMockTaxCreditor()
           
 void testShipFromAddressCountyIsOptional()
           
 
Methods inherited from class com.retek.component.tax.TaxApiTestCase
getDefaultValidLineItem, getOrderAcceptanceAddress, getShipFromAddress, getShipToAddress, getValidArizonaTaxInvoice, getValidColoradoTaxInvoice, getValidLineItem, getValidTaxCalculatorInvoice, getValidWisconsonTaxInvoice
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
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
 

Constructor Detail

TaxCreditorTest

public TaxCreditorTest(java.lang.String name)
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Overrides:
doSetUp in class TaxApiTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Overrides:
doTearDown in class TaxApiTestCase
Throws:
java.lang.Exception

testCreditTax

public void testCreditTax()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingTaxCustomerThrowsException

public void testCreditTaxMissingTaxCustomerThrowsException()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingTaxCompanyThrowsException

public void testCreditTaxMissingTaxCompanyThrowsException()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingTaxInvoiceDateThrowsException

public void testCreditTaxMissingTaxInvoiceDateThrowsException()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingOrderAcceptanceAddressThrowsException

public void testCreditTaxMissingOrderAcceptanceAddressThrowsException()
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingShipFromAddressThrowsException

public void testCreditTaxMissingShipFromAddressThrowsException()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxMissingShipToAddressThrowsException

public void testCreditTaxMissingShipToAddressThrowsException()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testShipFromAddressCountyIsOptional

public void testShipFromAddressCountyIsOptional()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxBadShipToAddress

public void testCreditTaxBadShipToAddress()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxBadShipFromAddress

public void testCreditTaxBadShipFromAddress()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCreditTaxBadOrderAcceptanceAddress

public void testCreditTaxBadOrderAcceptanceAddress()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testMockTaxCreditor

public void testMockTaxCreditor()
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25