From: Jozef S. <jo...@us...> - 2005-10-25 21:47:02
|
Update of /cvsroot/gallery/gallery2/modules/slideshow/test/phpunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31298/modules/slideshow/test/phpunit Modified Files: SlideshowTest.class Log Message: Downloadable Plugins Allows users to browse a central repository of plugins (both modules and themes) on a web server through the Site Admin, check if their modules are up to date, download compatible modules they want and prepare them for installation. Highlights: * Repository - generation and maintenance tools (lib/tools/repository) - PHP based, self-extracting, server library independent package format - package versioning system * Gallery Core - API update to 6.9: getPluginBaseDir() and getPluginBaseDirs() - support for plugins in g2/plugins - UI for downloading plugins from a repository * Other - updates to all modules that were incompatible with API changes More information: http://codex.gallery2.org/index.php/Gallery2:Downloadable_Plugins http://codex.gallery2.org/index.php/Gallery2:API_Changes_Since_The_Last_Release http://codex.gallery2.org/index.php/Gallery2:Examples_of_Downloadable_Plugins_API_Changes Index: SlideshowTest.class =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/slideshow/test/phpunit/SlideshowTest.class,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- SlideshowTest.class 23 Aug 2005 03:49:55 -0000 1.38 +++ SlideshowTest.class 25 Oct 2005 21:46:50 -0000 1.39 @@ -114,10 +114,12 @@ return $this->failWithStatus($ret->wrap(__FILE__, __LINE__)); } $photoData = array(); - $prefix = dirname(__FILE__) . '/../../../core/test/data/test'; + $prefix = GalleryCoreApi::getPluginBaseDir('module', 'core') + . 'modules/core/test/data/test'; $imagePaths = array($prefix . '1.gif', $prefix . '2.gif', $prefix . '[3].gif', $prefix . '4.gif', - dirname(__FILE__) . '/../../../exif/test/data/CanonS30.small.jpg'); + GalleryCoreApi::getPluginBaseDir('module', 'exif') + . 'modules/exif/test/data/CanonS30.small.jpg'); $imageSizes = array(array(62,75), array(200,178), array(120,54), array(366,292), array(38,50)); for ($i = 0; $i < 10; $i++) { |