com.retek.component.tax
Class TaxCalculatorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.tax.TaxCalculatorTest
- All Implemented Interfaces:
- junit.framework.Test
- public class TaxCalculatorTest
- extends RetekTestCase
Methods inherited from class com.retek.commons.util.RetekTestCase |
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TaxCalculatorTest
public TaxCalculatorTest(java.lang.String name)
doInitialSetUp
public void doInitialSetUp()
throws java.lang.Exception
- Specified by:
doInitialSetUp
in class RetekTestCase
- Throws:
java.lang.Exception
doSetUp
public void doSetUp()
throws java.lang.Exception
- Specified by:
doSetUp
in class RetekTestCase
- Throws:
java.lang.Exception
doTearDown
public void doTearDown()
throws java.lang.Exception
- Specified by:
doTearDown
in class RetekTestCase
- Throws:
java.lang.Exception
testMockTaxCalculate
public void testMockTaxCalculate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTax
public void testGetMerchandiseTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxForMinneapolisProperWithSevenPercent
public void testGetMerchandiseTaxForMinneapolisProperWithSevenPercent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxAndPersist
public void testGetMerchandiseTaxAndPersist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxCredit
public void testGetMerchandiseTaxCredit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxCreditAndPersist
public void testGetMerchandiseTaxCreditAndPersist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxForEachLineItem
public void testGetMerchandiseTaxForEachLineItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvoiceIsRequired
public void testInvoiceIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvoiceDateIsRequired
public void testInvoiceDateIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipFromAddressShouldNotBeNull
public void testShipFromAddressShouldNotBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipFromCantBeEmpty
public void testShipFromCantBeEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipFromCountyIsOptional
public void testShipFromCountyIsOptional()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBadShipToAddress
public void testBadShipToAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBadShipFromAddress
public void testBadShipFromAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBadOrderAcceptanceAddress
public void testBadOrderAcceptanceAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipToAddressShouldNotBeNull
public void testShipToAddressShouldNotBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipToAddressCantBeEmpty
public void testShipToAddressCantBeEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSkuIdCantBeNull
public void testSkuIdCantBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSkuIdCantBeEmpty
public void testSkuIdCantBeEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderAcceptanceAddressShouldNotBeNull
public void testOrderAcceptanceAddressShouldNotBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderAcceptanceAddressCantBeEmpty
public void testOrderAcceptanceAddressCantBeEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipToAddressMissingStateAndCity
public void testShipToAddressMissingStateAndCity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testShipToAddressMissingCounty
public void testShipToAddressMissingCounty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculationTaxForCanada
public void testCalculationTaxForCanada()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculationTaxForPuertoRico
public void testCalculationTaxForPuertoRico()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMustAddLineItem
public void testMustAddLineItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIdInLineItemIsDuplicate
public void testIdInLineItemIsDuplicate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExtendedAmountInLineItemIsRequired
public void testExtendedAmountInLineItemIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testQuantityInLineItemIsRequired
public void testQuantityInLineItemIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProductCodeInLineItem
public void testProductCodeInLineItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerCantBeNull
public void testCustomerCantBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerCodeCantBeNull
public void testCustomerCodeCantBeNull()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCompanyIsRequired
public void testCompanyIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCompanyCodeIsRequired
public void testCompanyCodeIsRequired()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForStatesThatHaveThisTax
public void testGetShippingAndHandlingTaxForStatesThatHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForStatesForStatesThatDontHaveThisTax
public void testGetShippingAndHandlingTaxForStatesForStatesThatDontHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForStatesThatHaveThisTaxWithZeroShippingAmount
public void testGetShippingAndHandlingTaxForStatesThatHaveThisTaxWithZeroShippingAmount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForStatesThatHaveThisTaxWithNoShippingCost
public void testGetShippingAndHandlingTaxForStatesThatHaveThisTaxWithNoShippingCost()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForStatesThatHaveThisTaxForEachLineItem
public void testGetShippingAndHandlingTaxForStatesThatHaveThisTaxForEachLineItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxStatesThatHaveThisTaxForInvoiceAndEachLineItem
public void testGetShippingAndHandlingTaxStatesThatHaveThisTaxForInvoiceAndEachLineItem()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetShippingAndHandlingTaxForEachLineItemWhenOneDoesNotHaveShippingCost
public void testGetShippingAndHandlingTaxForEachLineItemWhenOneDoesNotHaveShippingCost()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftingTaxForALineItemForAStateThatHasThisTax
public void testGetGiftingTaxForALineItemForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftingTaxForALineItemForAStateThatDoesNotHaveThisTax
public void testGetGiftingTaxForALineItemForAStateThatDoesNotHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftingTaxForMultipleLineItemsForAStateThatHasThisTax
public void testGetGiftingTaxForMultipleLineItemsForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftingTaxForMultipleLineItemsWithOneBeingZeroForAStateThatHasThisTax
public void testGetGiftingTaxForMultipleLineItemsWithOneBeingZeroForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftingTaxForMultipleLineItemsForAStateThatDoesNotHaveThisTax
public void testGetGiftingTaxForMultipleLineItemsForAStateThatDoesNotHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonalizationTaxForALineItemForAStateThatHasThisTax
public void testGetPersonalizationTaxForALineItemForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonalizationTaxForALineItemForAStateThatDoesNotHaveThisTax
public void testGetPersonalizationTaxForALineItemForAStateThatDoesNotHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonalizationTaxForMultipleLineItemsForAStateThatHasThisTax
public void testGetPersonalizationTaxForMultipleLineItemsForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonalizationTaxForMultipleLineItemsWithOneBeingZeroForAStateThatHasThisTax
public void testGetPersonalizationTaxForMultipleLineItemsWithOneBeingZeroForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetPersonalizationTaxForMultipleLineItemsForAStateThatDoesNotHaveThisTax
public void testGetPersonalizationTaxForMultipleLineItemsForAStateThatDoesNotHaveThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetGiftTaxAndPersonalizationTaxForALineItemForAStateThatHasThisTax
public void testGetGiftTaxAndPersonalizationTaxForALineItemForAStateThatHasThisTax()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTaxExcemptCustomer
public void testTaxExcemptCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNonTaxExcemptCustomer
public void testNonTaxExcemptCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTaxExcemptCustomerInDifferentState
public void testTaxExcemptCustomerInDifferentState()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTaxExcemptCustomerWithExpiredTaxCertificateInWisconson
public void testTaxExcemptCustomerWithExpiredTaxCertificateInWisconson()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerTaxExemptWithOneCompanyButNotTheOther
public void testCustomerTaxExemptWithOneCompanyButNotTheOther()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLineItemIdCantBeZero
public void testLineItemIdCantBeZero()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLineItemIdCantBeNegative
public void testLineItemIdCantBeNegative()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLineItemIdLength
public void testLineItemIdLength()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvalidProductCode
public void testInvalidProductCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMerchTaxForTaxExemptShipToAddress
public void testMerchTaxForTaxExemptShipToAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMerchTaxForNonTaxExemptShipToAddress
public void testMerchTaxForNonTaxExemptShipToAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMerchTaxForOverrideProductCode
public void testMerchTaxForOverrideProductCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMerchTaxForOverrideProductCodeInDiffJurisdiction
public void testMerchTaxForOverrideProductCodeInDiffJurisdiction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPersistInvoice
public void testPersistInvoice()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDoNotPersistInvoice
public void testDoNotPersistInvoice()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMerchandiseTaxForZipPlusFourOnToAddressLine
public void testGetMerchandiseTaxForZipPlusFourOnToAddressLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28