phpDocumentor GalleryCore
PHPUnit
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: ItemTest

Source Location: /modules/core/test/phpunit/ItemTest.class

Class ItemTest

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryTestCase

GalleryTestCase::$_cleanup

Inherited From GalleryTestCase

GalleryTestCase::GalleryTestCase()
GalleryTestCase::assert()
GalleryTestCase::assertEquals()
GalleryTestCase::assertErrorEquals()
Fail if the provided GalleryStatus object does not contain the given error code.
GalleryTestCase::assertEventFired()
Fail if the provided event name was not fired.
GalleryTestCase::assertEventNotFired()
Fail if the provided event name was fired
GalleryTestCase::DeepCompare()
GalleryTestCase::failWithStatus()
This is deprecated in Gallery 2.3 -- now tests should just return $ret and let the framework generate the right failure message.
GalleryTestCase::getEntityCounter()
Get the entity counter listener which contains the types and number of elements deleted.
GalleryTestCase::setUp()
GalleryTestCase::tearDown()
GalleryTestCase::_array_unshift_key_value()
Utility method to array_unshift a single key => value pair.
GalleryTestCase::_becomeGuestUser()
GalleryTestCase::_createDerivative()
GalleryTestCase::_createLinkedItem()
Create a random link item
GalleryTestCase::_createRandomAlbum()
Create a random album
GalleryTestCase::_createRandomDataItem()
Create a random data item
GalleryTestCase::_createRandomGroup()
Create a random group
GalleryTestCase::_createRandomUser()
Create a random user
GalleryTestCase::_createUser()
GalleryTestCase::_deleteAndVerifyEntity()
GalleryTestCase::_disableUserName()
Convenience method to mark a username as disabled.
GalleryTestCase::_getRootId()
GalleryTestCase::_getUnusedId()
Get an id that is not used for anything.
GalleryTestCase::_initEventListenersForTest()
Disable all but some core event listeners by default.
GalleryTestCase::_markEventListenersForCleanup()
Create a backup of the registered event listeners which will be restored in tearDown.
GalleryTestCase::_markFactoryForCleanup()
Create a backup of the factory data which will be restored in tearDown.
GalleryTestCase::_markFactoryModuleForCleanup()
GalleryTestCase::_markForCleanup()
GalleryTestCase::_markPluginParametersForCleanup()
Store plugin parameters to be restored in tearDown
GalleryTestCase::_markToolkitForCleanup()
GalleryTestCase::_registerEventListener()
Register a The NullEventListener for a test
GalleryTestCase::_registerFactoryImplementationForTest()
Register a factory implementation temporarily for this test.
GalleryTestCase::_registerTestEventListener()
Register and event name and associated listener (deprecated).
GalleryTestCase::_setMarkupType()
Set core parameter for markup type.
GalleryTestCase::_signUrl()
Adds an authToken to the given URL
GalleryTestCase::_unregisterFactoryImplementationForTest()
Unregister a specific factory implementation or all implementations of a spefific type temporarily for this test.
GalleryTestCase::_verifyEntity()
GalleryTestCase::_verifyFields()
GalleryTestCase::_verifyMissing()

[ Top ]
Method Summary
ItemTest   ItemTest()  
void   setUp()  
void   testAddItemToAlbum()  
void   testAddItemToAlbumEntitizesAngleBracketsButIgnoresXssPayload()  
void   testAddItemToAlbumWithOriginationTimestamp()  
void   testAddMovieToAlbum()  
void   testAddNonViewableImage()  
void   testAddNonViewableImageWithPreExistingPreferred()  
void   testAddSmallPhotoToAlbum()   Add a small (dimension wise) photo to an album and make sure that we don't create resizes that are larger (dimension wise) than the original.
void   testCanBeViewedInlineImages()  
void   testCanBeViewedInlineOthers()  
void   testCanBeViewedInlineRenderer()  
void   testCreateLinkCopiesRenderer()  
void   testDelete()  
void   testDeleteRenderer()  
void   testDeleteSortOrderFromAlbums()  
void   testDeleteSortOrderFromDefault()  
void   testDeletingLinks()  
void   testFetchAllItemIds()  
void   testFetchAllItemIdsByOwnerId()  
void   testFetchAllItemIdsWithMultiplePermissions()  
void   testFetchAllItemIdsWithSpecificPermission()  
void   testFetchItemIdCount()  
void   testFetchItemIdCount2()  
void   testGetChildCounts()  
void   testGetChildCountsDifferentUser()  
void   testGetPermissions()  
void   testMove()  
void   testMultipleThumbnailPreferences()  
void   testNewItemByMimeType()  
void   testRemapOwnerId()  
void   testSetThumbnailDontChangeToUnknownItem()  
void   testSetThumbnailFromItem()  
void   testSetThumbnailFromUnknownItem()  
void   testSymlinkTwice()  

[ Top ]
Methods
Constructor ItemTest  [line 35]

  ItemTest ItemTest( $methodName  )

Parameters:
   $methodName: 


[ Top ]
setUp  [line 39]

  void setUp( )



Redefinition of:
GalleryTestCase::setUp()

[ Top ]
testAddItemToAlbum  [line 911]

  void testAddItemToAlbum( )



[ Top ]
testAddItemToAlbumEntitizesAngleBracketsButIgnoresXssPayload  [line 968]

  void testAddItemToAlbumEntitizesAngleBracketsButIgnoresXssPayload( )



[ Top ]
testAddItemToAlbumWithOriginationTimestamp  [line 1000]

  void testAddItemToAlbumWithOriginationTimestamp( )



[ Top ]
testAddMovieToAlbum  [line 1034]

  void testAddMovieToAlbum( )



[ Top ]
testAddNonViewableImage  [line 1437]

  void testAddNonViewableImage( )



[ Top ]
testAddNonViewableImageWithPreExistingPreferred  [line 1514]

  void testAddNonViewableImageWithPreExistingPreferred( )



[ Top ]
testAddSmallPhotoToAlbum  [line 1329]

  void testAddSmallPhotoToAlbum( )

Add a small (dimension wise) photo to an album and make sure that we don't create resizes that are larger (dimension wise) than the original.



[ Top ]
testCanBeViewedInlineImages  [line 146]

  void testCanBeViewedInlineImages( )



[ Top ]
testCanBeViewedInlineOthers  [line 171]

  void testCanBeViewedInlineOthers( )



[ Top ]
testCanBeViewedInlineRenderer  [line 204]

  void testCanBeViewedInlineRenderer( )



[ Top ]
testCreateLinkCopiesRenderer  [line 1774]

  void testCreateLinkCopiesRenderer( )



[ Top ]
testDelete  [line 1194]

  void testDelete( )



[ Top ]
testDeleteRenderer  [line 1748]

  void testDeleteRenderer( )



[ Top ]
testDeleteSortOrderFromAlbums  [line 1633]

  void testDeleteSortOrderFromAlbums( )



[ Top ]
testDeleteSortOrderFromDefault  [line 1661]

  void testDeleteSortOrderFromDefault( )



[ Top ]
testDeletingLinks  [line 1115]

  void testDeletingLinks( )



[ Top ]
testFetchAllItemIds  [line 386]

  void testFetchAllItemIds( )



[ Top ]
testFetchAllItemIdsByOwnerId  [line 505]

  void testFetchAllItemIdsByOwnerId( )



[ Top ]
testFetchAllItemIdsWithMultiplePermissions  [line 457]

  void testFetchAllItemIdsWithMultiplePermissions( )



[ Top ]
testFetchAllItemIdsWithSpecificPermission  [line 422]

  void testFetchAllItemIdsWithSpecificPermission( )



[ Top ]
testFetchItemIdCount  [line 1089]

  void testFetchItemIdCount( )



[ Top ]
testFetchItemIdCount2  [line 1104]

  void testFetchItemIdCount2( )



[ Top ]
testGetChildCounts  [line 224]

  void testGetChildCounts( )



[ Top ]
testGetChildCountsDifferentUser  [line 260]

  void testGetChildCountsDifferentUser( )



[ Top ]
testGetPermissions  [line 319]

  void testGetPermissions( )



[ Top ]
testMove  [line 1233]

  void testMove( )



[ Top ]
testMultipleThumbnailPreferences  [line 1703]

  void testMultipleThumbnailPreferences( )



[ Top ]
testNewItemByMimeType  [line 120]

  void testNewItemByMimeType( )



[ Top ]
testRemapOwnerId  [line 573]

  void testRemapOwnerId( )



[ Top ]
testSetThumbnailDontChangeToUnknownItem  [line 872]

  void testSetThumbnailDontChangeToUnknownItem( )



[ Top ]
testSetThumbnailFromItem  [line 740]

  void testSetThumbnailFromItem( )



[ Top ]
testSetThumbnailFromUnknownItem  [line 840]

  void testSetThumbnailFromUnknownItem( )



[ Top ]
testSymlinkTwice  [line 1591]

  void testSymlinkTwice( )



[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:30:00 -0700 by phpDocumentor 1.3.0RC6