com.retek.component.media
Class MediaManagerTest

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

public class MediaManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
MediaManagerTest(java.lang.String arg0)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAddDropCode()
           
 void testAddSameSourceCodeToDropCodeTwice()
           
 void testAddSameSourceCodeToMediaTwice()
           
 void testAddSourceCodeAlsoMeansYouCanReadIt()
           
 void testBuildDropCodeInstance()
           
 void testBuildSeasonCodeInstance()
           
 void testBuildSourceCodeInstanceWithEmptyDescription()
           
 void testBuildSourceCodeInstanceWithEmptyDisplayCode()
           
 void testChangeInvalidMediaInWorksheetStatusToActiveStatusWritesToErrorFile()
           
 void testChangeMediaInActiveStatusToReleasedStatus()
           
 void testChangeMediaInWorksheetStatusToActiveStatus()
           
 void testChangeMediaWithNoSellingItemsInWorksheetStatusToActiveStatusWritesToErrorFile()
           
 void testCreateSeasonCodeWithDuplicateDescription()
           
 void testFindAllMedia()
           
 void testFindAllMediaTypes()
           
 void testfindAllSeasonCodes()
           
 void testFindAllSubConcepts()
           
 void testFindMediaBySellableItem()
           
 void testFindMediaInActiveStatus()
           
 void testFindMediaInWorksheetStatus()
           
 void testFindMediaWithActiveDateCriteria()
           
 void testFindMediaWithMediaCodeCriteria()
           
 void testFindMediaWithSourceCodeCriteriaSeemsToWorkGoodEnoughForCacheMode()
           
 void testFindMediaWithWildCardDescription()
           
 void testFindMostRecentActiveSourceCode()
           
 void testGetAllSourceCodesForMedia()
           
 void testModifySeasonCodeWithUniqueDescription()
           
 void testReadInvalidMediaTypeCausesNotFound()
           
 void testReadInvalidSeasonCodeCausesNotFound()
           
 void testReadInvalidSubConceptCausesNotFound()
           
 void testRemoveFirstDropCode()
           
 void testRemoveLastDropCode()
           
 void testRemoveMediaTypeOnActiveMedia()
           
 void testRemoveMediaTypeSuccess()
           
 void testRemoveMiddleDropCode()
           
 void testRemoveSeasonCodeOnActiveMedia()
           
 void testRemoveSeasonCodeSuccess()
           
 void testSeasonCodeSubmitWithEmptyDescriptionOrNullDescriptionThrowsException()
           
 void testSeasonCodeWithSameDescThrowsException()
           
 void testValidateInvalidSourceCodeDisplayCode()
           
 void testValidateValidSourceCodeDisplayCode()
           
 
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

MediaManagerTest

public MediaManagerTest(java.lang.String arg0)
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

testBuildSeasonCodeInstance

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

testReadInvalidSeasonCodeCausesNotFound

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

testModifySeasonCodeWithUniqueDescription

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

testCreateSeasonCodeWithDuplicateDescription

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

testfindAllSeasonCodes

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

testRemoveSeasonCodeSuccess

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

testRemoveSeasonCodeOnActiveMedia

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

testReadInvalidMediaTypeCausesNotFound

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

testFindAllMediaTypes

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

testRemoveMediaTypeSuccess

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

testRemoveMediaTypeOnActiveMedia

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

testBuildDropCodeInstance

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

testAddDropCode

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

testRemoveFirstDropCode

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

testRemoveMiddleDropCode

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

testRemoveLastDropCode

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

testAddSameSourceCodeToDropCodeTwice

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

testFindMostRecentActiveSourceCode

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

testAddSourceCodeAlsoMeansYouCanReadIt

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

testBuildSourceCodeInstanceWithEmptyDisplayCode

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

testBuildSourceCodeInstanceWithEmptyDescription

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

testAddSameSourceCodeToMediaTwice

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

testValidateInvalidSourceCodeDisplayCode

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

testValidateValidSourceCodeDisplayCode

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

testReadInvalidSubConceptCausesNotFound

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

testFindAllSubConcepts

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

testFindAllMedia

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

testChangeMediaInWorksheetStatusToActiveStatus

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

testChangeInvalidMediaInWorksheetStatusToActiveStatusWritesToErrorFile

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

testChangeMediaWithNoSellingItemsInWorksheetStatusToActiveStatusWritesToErrorFile

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

testChangeMediaInActiveStatusToReleasedStatus

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

testFindMediaInWorksheetStatus

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

testFindMediaInActiveStatus

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

testFindMediaWithActiveDateCriteria

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

testFindMediaWithWildCardDescription

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

testFindMediaBySellableItem

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

testFindMediaWithMediaCodeCriteria

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

testGetAllSourceCodesForMedia

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

testSeasonCodeSubmitWithEmptyDescriptionOrNullDescriptionThrowsException

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

testSeasonCodeWithSameDescThrowsException

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

testFindMediaWithSourceCodeCriteriaSeemsToWorkGoodEnoughForCacheMode

public void testFindMediaWithSourceCodeCriteriaSeemsToWorkGoodEnoughForCacheMode()
                                                                          throws SystemException,
                                                                                 java.lang.Exception
Throws:
SystemException
java.lang.Exception


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