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

Class: WebDavHelperTest

Source Location: /modules/webdav/test/phpunit/WebDavHelperTest.class

Class WebDavHelperTest

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
WebDavHelperTest   WebDavHelperTest()  
void   setUp()  
void   tearDown()  
void   testCheckConfiguration()  
void   testCheckConfigurationAlternativeUrlHeaders()  
void   testCheckConfigurationBadRewriteParser()  
void   testCheckConfigurationConnectRuleDisabled()  
void   testCheckConfigurationErrorUnknown()  
void   testCheckConfigurationHttpAuthModuleDisabled()  
void   testCheckConfigurationHttpAuthPluginDisabled()  
void   testCheckConfigurationIncludesDavHeadersIgnoresCauses()  
void   testCheckConfigurationMethodNotHandled()  
void   testCheckConfigurationNoXmlParser()  
void   testCheckConfigurationOptionsRuleDisabled()  
void   testCheckConfigurationRewriteModuleDisabled()  
void   testCheckDavHeaders()  
void   testCheckMissingDavHeaders()  
void   testCheckRequestMethod()  
void   testCheckRequestMethodNotHandled()  
void   testGetMountLink()  
void   testGetMountLinkForInternetExplorer()  
void   testGetMountLinkForKonqueror()  
void   testGetParentItemIdByPathDefaultForNoParent()  
void   testGetParentItemIdByPathForMissingParent()  
void   testGetParentItemIdByPathForNonExistentPath()  
void   testGetParentItemIdByPathForTopLevelItems()  
void   testMirrorEntitySameEntityType()  
void   testPropfindFilesIgnoresArraysAndObjectData()  
void   testPropfindFilesRejectsItemObjectWithoutProperMethods()  
void   testPropfindFilesRespectsExternalAccessRulesAndDoesNotRepeatProperties()  
void   testPropfindFilesUsesPathComponentAsFallbackForTitle()  
void   testSetItemPropsRespectsExternalAccessRules()  
void   _preparePropfindFiles()  

[ Top ]
Methods
Constructor WebDavHelperTest  [line 37]

  WebDavHelperTest WebDavHelperTest( $methodName  )

Parameters:
   $methodName: 


[ Top ]
setUp  [line 41]

  void setUp( )



Redefinition of:
GalleryTestCase::setUp()

[ Top ]
tearDown  [line 171]

  void tearDown( )



Redefinition of:
GalleryTestCase::tearDown()

[ Top ]
testCheckConfiguration  [line 179]

  void testCheckConfiguration( )



[ Top ]
testCheckConfigurationAlternativeUrlHeaders  [line 257]

  void testCheckConfigurationAlternativeUrlHeaders( )



[ Top ]
testCheckConfigurationBadRewriteParser  [line 272]

  void testCheckConfigurationBadRewriteParser( )



[ Top ]
testCheckConfigurationConnectRuleDisabled  [line 246]

  void testCheckConfigurationConnectRuleDisabled( )



[ Top ]
testCheckConfigurationErrorUnknown  [line 300]

  void testCheckConfigurationErrorUnknown( )



[ Top ]
testCheckConfigurationHttpAuthModuleDisabled  [line 211]

  void testCheckConfigurationHttpAuthModuleDisabled( )



[ Top ]
testCheckConfigurationHttpAuthPluginDisabled  [line 223]

  void testCheckConfigurationHttpAuthPluginDisabled( )



[ Top ]
testCheckConfigurationIncludesDavHeadersIgnoresCauses  [line 313]

  void testCheckConfigurationIncludesDavHeadersIgnoresCauses( )



[ Top ]
testCheckConfigurationMethodNotHandled  [line 199]

  void testCheckConfigurationMethodNotHandled( )



[ Top ]
testCheckConfigurationNoXmlParser  [line 188]

  void testCheckConfigurationNoXmlParser( )



[ Top ]
testCheckConfigurationOptionsRuleDisabled  [line 286]

  void testCheckConfigurationOptionsRuleDisabled( )



[ Top ]
testCheckConfigurationRewriteModuleDisabled  [line 234]

  void testCheckConfigurationRewriteModuleDisabled( )



[ Top ]
testCheckDavHeaders  [line 340]

  void testCheckDavHeaders( )



[ Top ]
testCheckMissingDavHeaders  [line 348]

  void testCheckMissingDavHeaders( )



[ Top ]
testCheckRequestMethod  [line 327]

  void testCheckRequestMethod( )



[ Top ]
testCheckRequestMethodNotHandled  [line 332]

  void testCheckRequestMethodNotHandled( )



[ Top ]
testGetMountLink  [line 520]

  void testGetMountLink( )



[ Top ]
testGetMountLinkForInternetExplorer  [line 536]

  void testGetMountLinkForInternetExplorer( )



[ Top ]
testGetMountLinkForKonqueror  [line 556]

  void testGetMountLinkForKonqueror( )



[ Top ]
testGetParentItemIdByPathDefaultForNoParent  [line 571]

  void testGetParentItemIdByPathDefaultForNoParent( )



[ Top ]
testGetParentItemIdByPathForMissingParent  [line 605]

  void testGetParentItemIdByPathForMissingParent( )



[ Top ]
testGetParentItemIdByPathForNonExistentPath  [line 589]

  void testGetParentItemIdByPathForNonExistentPath( )



[ Top ]
testGetParentItemIdByPathForTopLevelItems  [line 580]

  void testGetParentItemIdByPathForTopLevelItems( )



[ Top ]
testMirrorEntitySameEntityType  [line 616]

  void testMirrorEntitySameEntityType( )



[ Top ]
testPropfindFilesIgnoresArraysAndObjectData  [line 373]

  void testPropfindFilesIgnoresArraysAndObjectData( )



[ Top ]
testPropfindFilesRejectsItemObjectWithoutProperMethods  [line 456]

  void testPropfindFilesRejectsItemObjectWithoutProperMethods( )



[ Top ]
testPropfindFilesRespectsExternalAccessRulesAndDoesNotRepeatProperties  [line 359]

  void testPropfindFilesRespectsExternalAccessRulesAndDoesNotRepeatProperties( )



[ Top ]
testPropfindFilesUsesPathComponentAsFallbackForTitle  [line 387]

  void testPropfindFilesUsesPathComponentAsFallbackForTitle( )



[ Top ]
testSetItemPropsRespectsExternalAccessRules  [line 471]

  void testSetItemPropsRespectsExternalAccessRules( )



[ Top ]
_preparePropfindFiles  [line 401]

  void _preparePropfindFiles( [ $addObjectAndArrayData = false], [ $itemTitle = 'This is the title']  )

Parameters:
   $addObjectAndArrayData: 
   $itemTitle: 


[ Top ]

Documentation generated on Fri, 08 Oct 2010 06:10:16 -0700 by phpDocumentor 1.3.0RC6