Change project name to filetools

This commit is contained in:
2026-01-05 10:37:51 +01:00
parent a3558c470e
commit fe8d0bbffb
15 changed files with 77 additions and 74 deletions

View File

@@ -1,14 +1,14 @@
<?php
namespace dokuwiki\plugin\filelistplus\test;
namespace dokuwiki\plugin\filetools\test;
use dokuwiki\plugin\filelistplus\Path;
use dokuwiki\plugin\filetools\Path;
use DokuWikiTest;
/**
* Path related tests for the filelistplus plugin
* Path related tests for the filetools plugin
*
* @group plugin_filelistplus
* @group plugin_filetools
* @group plugins
*/
class PathTest extends DokuWikiTest
@@ -40,15 +40,15 @@ EOT
$expect = [
'C:/xampp/htdocs/wiki/' => [
'root' => 'C:/xampp/htdocs/wiki/',
'web' => '/lib/plugins/filelistplus/file.php?root=C%3A%2Fxampp%2Fhtdocs%2Fwiki%2F&file=',
'web' => '/lib/plugins/filetools/file.php?root=C%3A%2Fxampp%2Fhtdocs%2Fwiki%2F&file=',
],
'\\\\server/share/path/' => [
'root' => '\\\\server/share/path/',
'web' => '/lib/plugins/filelistplus/file.php?root=%5C%5Cserver%2Fshare%2Fpath%2F&file=',
'web' => '/lib/plugins/filetools/file.php?root=%5C%5Cserver%2Fshare%2Fpath%2F&file=',
],
'/linux/file/path/' => [
'root' => '/linux/file/path/',
'web' => '/lib/plugins/filelistplus/file.php?root=%2Flinux%2Ffile%2Fpath%2F&file=',
'web' => '/lib/plugins/filetools/file.php?root=%2Flinux%2Ffile%2Fpath%2F&file=',
],
'/linux/another/path/' => [
'root' => '/linux/another/path/',