com.retek.component.media
Class ShippingRateTest

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

public class ShippingRateTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ShippingRateTest(java.lang.String arg0)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testChangeMinOfLowestShippingRate()
           
 void testDefaultShippingRateOnShippingRateTableForMedia()
           
 void testDefaultShippingRateOnShippingRateTableForSourceCode()
           
 void testDeleteActiveShippingRateTableAndReferencesFails()
           
 void testDeleteShippingRateTableAndReferences()
           
 void testFindOverlappingDateRangesOnShippingRateTables()
           
 void testFindShippingRateTableOnName()
           
 void testFindShippingRateTableOnStatusCodes()
           
 void testFindShippingRateTablesWithoutDateRange()
           
 void testIncreaseShippingRateMax()
           
 void testIncreaseShippingRateMin()
           
 void testReduceShippingRateMax()
           
 void testReduceShippingRateMin()
           
 void testShippingRateMaxCannotBeLessThanMin()
           
 void testShippingRateMaxMustBeLessThanNextMax()
           
 void testShippingRateMinCannotBeGreaterThanMax()
           
 void testShippingRateMinMustBeGreaterThanPreviousMin()
           
 void testShippingRateTableForMediaRemoval()
           
 void testShippingRateTableForSourceCodeWithDuplicateName()
           
 void testShippingRateTablePersistence()
           
 void testShippingRateTablePersistenceFailsWithoutBanner()
           
 void testShippingRateTablePersistenceFailsWithoutChannelType()
           
 void testShippingRateTablePersistenceForMediaDoesNotFailWithoutDateRange()
           
 void testShippingRateTablePersistenceForSourceCodeFailsWithoutDateRange()
           
 void testShippingRateTableSubmitWithDateOverlapOnUnrelatedSourceCode()
           
 void testSourceCodeFindAllShippingRateTables()
           
 void testSourceCodeWithNoActiveShippingRateTable()
           
 void testSourceCodeWithOneActiveShippingRateTable()
           
 void testStatusOnShippingRateTable()
           
 void testSubmitShippingRateTablesWithDateRangeOverlap()
           
 void testSubmitShippingRateTablesWithDateRangeSameDates()
           
 void testValidateShippingRateNeighborsAdjacent()
           
 void testValidateShippingRatePercentageGreaterThan100()
           
 void testValidateShippingRatePercentageIsNotLessThan0()
           
 
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

ShippingRateTest

public ShippingRateTest(java.lang.String arg0)
Method Detail

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

testReduceShippingRateMin

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

testIncreaseShippingRateMin

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

testReduceShippingRateMax

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

testIncreaseShippingRateMax

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

testShippingRateMinCannotBeGreaterThanMax

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

testShippingRateMinMustBeGreaterThanPreviousMin

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

testShippingRateMaxCannotBeLessThanMin

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

testShippingRateMaxMustBeLessThanNextMax

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

testChangeMinOfLowestShippingRate

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

testValidateShippingRateNeighborsAdjacent

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

testValidateShippingRatePercentageIsNotLessThan0

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

testValidateShippingRatePercentageGreaterThan100

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

testDefaultShippingRateOnShippingRateTableForMedia

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

testDefaultShippingRateOnShippingRateTableForSourceCode

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

testSourceCodeWithNoActiveShippingRateTable

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

testSourceCodeWithOneActiveShippingRateTable

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

testStatusOnShippingRateTable

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

testFindShippingRateTableOnStatusCodes

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

testFindShippingRateTableOnName

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

testFindShippingRateTablesWithoutDateRange

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

testSubmitShippingRateTablesWithDateRangeSameDates

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

testSubmitShippingRateTablesWithDateRangeOverlap

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

testFindOverlappingDateRangesOnShippingRateTables

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

testShippingRateTableSubmitWithDateOverlapOnUnrelatedSourceCode

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

testShippingRateTablePersistence

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

testShippingRateTablePersistenceFailsWithoutBanner

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

testShippingRateTablePersistenceFailsWithoutChannelType

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

testShippingRateTablePersistenceForSourceCodeFailsWithoutDateRange

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

testShippingRateTablePersistenceForMediaDoesNotFailWithoutDateRange

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

testShippingRateTableForMediaRemoval

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

testSourceCodeFindAllShippingRateTables

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

testDeleteShippingRateTableAndReferences

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

testDeleteActiveShippingRateTableAndReferencesFails

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

testShippingRateTableForSourceCodeWithDuplicateName

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


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