(no description)
File Size: | 269 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
googledocs_drive_content_test:: (4 methods):
test_get_content_nodes()
get_content_nodes_provider()
test_get_navigation()
get_navigation_provider()
Class: googledocs_drive_content_test - X-Ref
Class containing unit tests for the drive browser class.test_get_content_nodes(string $query, string $path, bool $sortcontent, array $filterextensions,array $shareddrives, array $drivecontents, array $expected) X-Ref |
Test get_content_nodes(). param: string $query The query string param: string $path The path param: bool $sortcontent Whether the contents should be sorted in alphabetical order param: array $filterextensions The array containing file extensions that should be disallowed (filtered) param: array $shareddrives The array containing the existing shared drives param: array $drivecontents The array containing the fetched google drive contents param: array $expected The expected array which contains the generated repository content nodes |
get_content_nodes_provider() X-Ref |
Data provider for test_get_content_nodes(). return: array |
test_get_navigation(string $nodepath, array $expected) X-Ref |
Test get_navigation(). param: string $nodepath The node path string param: array $expected The expected array containing the repository navigation nodes |
get_navigation_provider() X-Ref |
Data provider for test_get_navigation(). return: array |