com.retek.component.salesaudit.xml
Class SalesAuditXmlBuilderTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.salesaudit.xml.SalesAuditXmlBuilderTest
All Implemented Interfaces:
junit.framework.Test

public class SalesAuditXmlBuilderTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
SalesAuditXmlBuilderTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testGenerateAccommodationElementXml()
           
 void testGenerateCashPaymentElementXml()
           
 void testGenerateCreditCardPaymentElementXml()
           
 void testGenerateCustomerElementXml()
           
 void testGenerateCustomerElementXmlWithNullCounty()
           
 void testGenerateDcloseTransactionElementXml()
           
 void testGenerateDiscountElementXml()
           
 void testGenerateItemElementXml()
           
 void testGeneratePaidInTransactionElementXml()
           
 void testGeneratePaidOutTransactionElementXml()
           
 void testGenerateReturnTransactionElementXml()
           
 void testGenerateSaleTransactionElementXml()
           
 void testGenerateSaleTransactionWithMissingRequiredElementAndBypassEnabledXml()
           
 void testGenerateSaleTransactionWithMissingRequiredElementXml()
           
 void testGenerateServiceElementXml()
           
 void testGenerateTaxElementXml()
           
 void testGenerateVoucherPaymentElementXml()
           
 
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
 

Constructor Detail

SalesAuditXmlBuilderTest

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

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

testGenerateCustomerElementXml

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

testGenerateCustomerElementXmlWithNullCounty

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

testGenerateAccommodationElementXml

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

testGenerateServiceElementXml

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

testGenerateItemElementXml

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

testGenerateDiscountElementXml

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

testGenerateTaxElementXml

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

testGenerateCashPaymentElementXml

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

testGenerateCreditCardPaymentElementXml

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

testGenerateVoucherPaymentElementXml

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

testGenerateSaleTransactionElementXml

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

testGenerateReturnTransactionElementXml

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

testGeneratePaidInTransactionElementXml

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

testGeneratePaidOutTransactionElementXml

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

testGenerateDcloseTransactionElementXml

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

testGenerateSaleTransactionWithMissingRequiredElementXml

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

testGenerateSaleTransactionWithMissingRequiredElementAndBypassEnabledXml

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


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28