Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc13b5c1

Browse files
committed
bug#15575 Add appveyor.yml for C.I. on Windows (nicolas-grekas)
This PR was merged into the 2.3 branch.Discussion----------Add appveyor.yml for C.I. on Windows| Q | A| ------------- | ---| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | YES, both on Travis (Linux) and on Appveyor (Windows)!| Fixed tickets |#13934,#15049,#14259,#15045,#15444| License | MIT| Doc PR |symfony/symfony-docs#5654- testing two matrix lines: - one without mbtring nor fileinfo nor intl - one with these ext enables, intl version 51.2 so that almost no test is skipped on our Intl component- bug fixes thanks to these harder testing conditions- some display bug on appveyor, [reported here](http://help.appveyor.com/discussions/suggestions/197-support-ansi-color-codes).Commits-------ea5d656 Windows and Intl fixes8bbd8d9 Add appveyor.yml for C.I. on Windows
2 parents4ca74b0 +ea5d656 commitc13b5c1

File tree

25 files changed

+416
-151
lines changed

25 files changed

+416
-151
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ phpunit.xml
55
composer.phar
66
package.tar
77
/packages.json
8+
/.phpunit

‎.travis.yml‎

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ language: php
33
sudo:false
44

55
addons:
6-
apt_packages:
7-
-parallel
8-
-language-pack-fr-base
6+
apt_packages:
7+
-parallel
8+
-language-pack-fr-base
99

1010
matrix:
1111
include:
@@ -31,24 +31,22 @@ env:
3131
before_install:
3232
-composer self-update
3333
-if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
34-
-if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
35-
-if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
36-
-if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
37-
-if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then (pecl install -f memcached-2.1.0 && echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without memcache extension"; fi;
38-
-if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
39-
# Build a standalone phpunit without symfony/yaml and that works around https://github.com/sebastianbergmann/phpunit-mock-objects/issues/223
40-
-(mkdir phpunit && cd phpunit && wget https://github.com/sebastianbergmann/phpunit/archive/4.7.zip && unzip 4.7.zip && cd phpunit-4.7 && composer remove --no-update symfony/yaml && composer require --prefer-source phpunit/phpunit-mock-objects '2.3.0')
41-
-export PHPUNIT="$(readlink -f ./phpunit/phpunit-4.7/phpunit) --colors=always"
42-
# Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built
43-
-if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
34+
-if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then phpenv config-rm xdebug.ini; fi;
35+
-if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
36+
-if [[ "$TRAVIS_PHP_VERSION" =~ 5.[34] ]]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
37+
-if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then (pecl install -f memcached-2.1.0 && echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without memcache extension"; fi;
38+
-if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
39+
-./phpunit install
40+
-export PHPUNIT="$(readlink -f ./phpunit)"
4441

4542
install:
43+
-if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
4644
-if [ "$deps" = "no" ]; then composer --prefer-source install; fi;
47-
-components=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n')
48-
-if [ "$deps" != "no" ]; then php .travis.php $TRAVIS_COMMIT_RANGE $TRAVIS_BRANCH $components; fi;
45+
-COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n')
46+
-if [ "$deps" != "no" ]; then php .travis.php $TRAVIS_COMMIT_RANGE $TRAVIS_BRANCH $COMPONENTS; fi;
4947

5048
script:
51-
-if [ "$deps" = "no" ]; then echo "$components" | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; $PHPUNIT --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
52-
-if [ "$deps" = "no" ]; then echo -e "\\nRunning tests requiring tty"; $PHPUNIT --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi;
53-
-if [ "$deps" = "high" ]; then echo "$components" | parallel --gnu --keep-order -j10% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; $PHPUNIT --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
54-
-if [ "$deps" = "low" ]; then echo "$components" | parallel --gnu --keep-order -j10% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; $PHPUNIT --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
49+
-if [ "$deps" = "no" ]; then echo "$COMPONENTS" | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; $PHPUNIT --exclude-group tty,benchmark,intl-data {}'; fi;
50+
-if [ "$deps" = "no" ]; then echo -e "\\nRunning tests requiring tty"; $PHPUNIT --group tty; fi;
51+
-if [ "$deps" = "high" ]; then echo "$COMPONENTS" | parallel --gnu --keep-order -j10% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; $PHPUNIT --exclude-group tty,benchmark,intl-data'; fi;
52+
-if [ "$deps" = "low" ]; then echo "$COMPONENTS" | parallel --gnu --keep-order -j10% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; $PHPUNIT --exclude-group tty,benchmark,intl-data'; fi;

‎appveyor.yml‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
build:false
2+
shallow_clone:true
3+
platform:x86
4+
clone_folder:c:\projects\symfony
5+
6+
environment:
7+
matrix:
8+
-PHP_EXT:1
9+
-PHP_EXT:0
10+
11+
cache:
12+
-c:\php -> appveyor.yml
13+
-.phpunit -> phpunit
14+
-vendor -> composer.json
15+
16+
init:
17+
-SET PATH=c:\php;%PATH%
18+
-SET COMPOSER_NO_INTERACTION=1
19+
-SET SYMFONY_DEPRECATIONS_HELPER=weak
20+
-SET PHP=1
21+
22+
install:
23+
-IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
24+
-cd c:\php
25+
-IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.4.43-nts-Win32-VC9-x86.zip
26+
-IF %PHP%==1 7z x php-5.4.43-nts-Win32-VC9-x86.zip -y > 7z.log
27+
-IF %PHP%==1 appveyor DownloadFile http://nebm.ist.utl.pt/~glopes/misc/intl_win/ICU-51.2-dlls.zip
28+
-IF %PHP%==1 7z x ICU-51.2-dlls.zip -y > 7z.log
29+
-IF %PHP%==1 cd ext
30+
-IF %PHP%==1 appveyor DownloadFile http://nebm.ist.utl.pt/~glopes/misc/intl_win/php_intl-3.0.0-5.4-nts-vc9-x86.zip
31+
-IF %PHP%==1 7z x php_intl-3.0.0-5.4-nts-vc9-x86.zip -y > 7z.log
32+
-IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apc/3.1.13/php_apc-3.1.13-5.4-nts-vc9-x86.zip
33+
-IF %PHP%==1 7z x php_apc-3.1.13-5.4-nts-vc9-x86.zip -y > 7z.log
34+
-IF %PHP%==1 cd ..
35+
-IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
36+
-appveyor DownloadFile https://getcomposer.org/composer.phar
37+
-copy php.ini-production php.ini /Y
38+
-echo date.timezone="UTC" >> php.ini
39+
-echo extension_dir=ext >> php.ini
40+
-echo extension=php_openssl.dll >> php.ini
41+
-IF %PHP_EXT%==1 echo extension=php_apc.dll >> php.ini
42+
-IF %PHP_EXT%==1 echo extension=php_intl.dll >> php.ini
43+
-IF %PHP_EXT%==1 echo extension=php_mbstring.dll >> php.ini
44+
-IF %PHP_EXT%==1 echo extension=php_fileinfo.dll >> php.ini
45+
-IF %PHP_EXT%==1 echo extension=php_pdo_sqlite.dll >> php.ini
46+
-cd c:\projects\symfony
47+
-php phpunit install
48+
-IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
49+
-composer update --prefer-dist --no-progress --ansi
50+
51+
test_script:
52+
-cd c:\projects\symfony
53+
-php phpunit symfony --exclude-group benchmark,intl-data

‎phpunit‎

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
error_reporting(-1);
5+
6+
$PHPUNIT_VERSION =4.8;
7+
$PHPUNIT_DIR =__DIR__.'/.phpunit';
8+
9+
if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit")) {
10+
# Build a standalone phpunit without symfony/yaml
11+
12+
$oldPwd =getcwd();
13+
mkdir($PHPUNIT_DIR);
14+
chdir($PHPUNIT_DIR);
15+
if (extension_loaded('openssl') &&ini_get('allow_url_fopen')) {
16+
stream_copy_to_stream(fopen("https://github.com/sebastianbergmann/phpunit/archive/$PHPUNIT_VERSION.zip",'rb'),fopen("$PHPUNIT_VERSION.zip",'wb'));
17+
}else {
18+
passthru("wget https://github.com/sebastianbergmann/phpunit/archive/$PHPUNIT_VERSION.zip");
19+
}
20+
$zip =newZipArchive();
21+
$zip->open("$PHPUNIT_VERSION.zip");
22+
$zip->extractTo(getcwd());
23+
$zip->close();
24+
chdir("phpunit-$PHPUNIT_VERSION");
25+
passthru("composer remove --no-update symfony/yaml");
26+
passthru("composer install --prefer-source --no-progress --ansi");
27+
chdir($oldPwd);
28+
}
29+
30+
$cmd =array_map('escapeshellarg',$argv);
31+
$exit =0;
32+
33+
if (isset($argv[1]) &&'symfony' ===$argv[1]) {
34+
# Find Symfony components in plain php for Windows portability
35+
36+
$finder =newRecursiveDirectoryIterator('src/Symfony', FilesystemIterator::KEY_AS_FILENAME | FilesystemIterator::UNIX_PATHS);
37+
$finder =newRecursiveIteratorIterator($finder);
38+
$finder->setMaxDepth(3);
39+
40+
array_shift($cmd);
41+
$cmd[0] ="php$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit --colors=always";
42+
$procs =array();
43+
44+
foreach ($finderas$file =>$fileInfo) {
45+
if ('phpunit.xml.dist' ===$file) {
46+
$component =dirname($fileInfo->getPathname());
47+
48+
# Run phpunit tests in parallel
49+
50+
$c =escapeshellarg($component);
51+
52+
if ($proc =proc_open(implode('',$cmd)."$c >$c/phpunit.stdout 2>$c/phpunit.stderr",array(),$pipes)) {
53+
$procs[$component] =$proc;
54+
}else {
55+
$exit =1;
56+
echo"\033[41mKO\033[0m$component\n\n";
57+
}
58+
}
59+
}
60+
61+
foreach ($procsas$component =>$proc) {
62+
$procStatus =proc_close($proc);
63+
64+
foreach (array('out','err')as$file) {
65+
$file ="$component/phpunit.std$file";
66+
$h =fopen($file,'rb');
67+
while (false !==$line =fgets($h)) {
68+
echopreg_replace_callback(
69+
'/\033\[[0-9]++(?:;[0-9]++)++m/',
70+
function ($m) {returnstr_replace(';',"m\033[",$m[0]);},
71+
$line
72+
);
73+
}
74+
fclose($h);
75+
unlink($file);
76+
}
77+
78+
if ($procStatus) {
79+
$exit =1;
80+
echo"\033[41mKO\033[0m$component\n\n";
81+
}else {
82+
echo"\033[32mOK\033[0m$component\n\n";
83+
}
84+
}
85+
86+
}elseif (!isset($argv[1]) ||'install' !==$argv[1]) {
87+
# Run regular phpunit in a subprocess
88+
89+
$cmd[0] ="php$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit --colors=always";
90+
91+
$errFile =tempnam(sys_get_temp_dir(),'phpunit.stderr.');
92+
if ($proc =proc_open(implode('',$cmd).' 2>'.escapeshellarg($errFile),array(1 =>array('pipe','w')),$pipes)) {
93+
while (false !==$line =fgets($pipes[1])) {
94+
echo$line;
95+
}
96+
fclose($pipes[1]);
97+
$exit =proc_close($proc);
98+
99+
$h =fopen($errFile,'rb');
100+
while (false !==$line =fgets($h)) {
101+
echo$line;
102+
}
103+
fclose($h);
104+
unlink($errFile);
105+
}
106+
107+
if (file_exists($component =array_pop($argv))) {
108+
if ($exit) {
109+
echo"\033[41mKO\033[0m$component\n\n";
110+
}else {
111+
echo"\033[32mOK\033[0m$component\n\n";
112+
}
113+
}
114+
}
115+
116+
exit($exit);

‎src/Symfony/Component/Console/Tests/ApplicationTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,10 @@ public function testRenderException()
491491

492492
publicfunctiontestRenderExceptionWithDoubleWidthCharacters()
493493
{
494+
if (!function_exists('mb_strwidth')) {
495+
$this->markTestSkipped('The "mb_strwidth" function is not available');
496+
}
497+
494498
$application =$this->getMock('Symfony\Component\Console\Application',array('getTerminalWidth'));
495499
$application->setAutoExit(false);
496500
$application->expects($this->any())

‎src/Symfony/Component/DomCrawler/Crawler.php‎

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,43 @@ public function addHtmlContent($content, $charset = 'UTF-8')
156156
$dom =new \DOMDocument('1.0',$charset);
157157
$dom->validateOnParse =true;
158158

159-
if (function_exists('mb_convert_encoding')) {
160-
$hasError =false;
161-
set_error_handler(function ()use (&$hasError) {
162-
$hasError =true;
163-
});
164-
$tmpContent = @mb_convert_encoding($content,'HTML-ENTITIES',$charset);
165-
166-
restore_error_handler();
167-
168-
if (!$hasError) {
169-
$content =$tmpContent;
159+
set_error_handler(function () {thrownew \Exception();});
160+
161+
try {
162+
// Convert charset to HTML-entities to work around bugs in DOMDocument::loadHTML()
163+
164+
if (function_exists('mb_convert_encoding')) {
165+
$content =mb_convert_encoding($content,'HTML-ENTITIES',$charset);
166+
}elseif (function_exists('iconv')) {
167+
$content =preg_replace_callback(
168+
'/[\x80-\xFF]+/',
169+
function ($m) {
170+
$m =unpack('C*',$m[0]);
171+
$i =1;
172+
$entities ='';
173+
174+
while (isset($m[$i])) {
175+
if (0xF0 <=$m[$i]) {
176+
$c = (($m[$i++] -0xF0) <<18) + (($m[$i++] -0x80) <<12) + (($m[$i++] -0x80) <<6) +$m[$i++] -0x80;
177+
}elseif (0xE0 <=$m[$i]) {
178+
$c = (($m[$i++] -0xE0) <<12) + (($m[$i++] -0x80) <<6) +$m[$i++] -0x80;
179+
}else {
180+
$c = (($m[$i++] -0xC0) <<6) +$m[$i++] -0x80;
181+
}
182+
183+
$entities .='&#'.$c.';';
184+
}
185+
186+
return$entities;
187+
},
188+
iconv($charset,'UTF-8',$content)
189+
);
170190
}
191+
}catch (\Exception$e) {
171192
}
172193

194+
restore_error_handler();
195+
173196
if ('' !==trim($content)) {
174197
@$dom->loadHTML($content);
175198
}

‎src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function testAddHtmlContent()
8080

8181
/**
8282
* @covers Symfony\Component\DomCrawler\Crawler::addHtmlContent
83+
* @requires extension mbstring
8384
*/
8485
publicfunctiontestAddHtmlContentCharset()
8586
{
@@ -114,6 +115,7 @@ public function testAddHtmlContentUnsupportedCharset()
114115

115116
/**
116117
* @covers Symfony\Component\DomCrawler\Crawler::addHtmlContent
118+
* @requires extension mbstring
117119
*/
118120
publicfunctiontestAddHtmlContentCharsetGbk()
119121
{
@@ -234,7 +236,7 @@ public function testAddContent()
234236
$this->assertEquals('中文',$crawler->filterXPath('//span')->text(),'->addContent() guess wrong charset');
235237

236238
$crawler =newCrawler();
237-
$crawler->addContent(mb_convert_encoding('<html><head><meta charset="Shift_JIS"></head><body>日本語</body></html>','SJIS','UTF-8'));
239+
$crawler->addContent(iconv('UTF-8','SJIS','<html><head><meta charset="Shift_JIS"></head><body>日本語</body></html>'));
238240
$this->assertEquals('日本語',$crawler->filterXPath('//body')->text(),'->addContent() can recognize "Shift_JIS" in html5 meta charset tag');
239241
}
240242

‎src/Symfony/Component/Filesystem/Tests/FilesystemTest.php‎

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
3434

3535
publicstaticfunctionsetUpBeforeClass()
3636
{
37-
if ('\\' ===DIRECTORY_SEPARATOR) {
38-
self::$symlinkOnWindows =true;
39-
$originDir =tempnam(sys_get_temp_dir(),'sl');
40-
$targetDir =tempnam(sys_get_temp_dir(),'sl');
41-
if (true !== @symlink($originDir,$targetDir)) {
42-
$report =error_get_last();
43-
if (is_array($report) &&false !==strpos($report['message'],'error code(1314)')) {
44-
self::$symlinkOnWindows =false;
45-
}
37+
if ('\\' ===DIRECTORY_SEPARATOR &&null ===self::$symlinkOnWindows) {
38+
$target =tempnam(sys_get_temp_dir(),'sl');
39+
$link =sys_get_temp_dir().'/sl'.microtime(true).mt_rand();
40+
if (self::$symlinkOnWindows = @symlink($target,$link)) {
41+
unlink($link);
4642
}
43+
unlink($target);
4744
}
4845
}
4946

@@ -58,27 +55,10 @@ protected function setUp()
5855

5956
protectedfunctiontearDown()
6057
{
61-
$this->clean($this->workspace);
58+
$this->filesystem->remove($this->workspace);
6259
umask($this->umask);
6360
}
6461

65-
/**
66-
* @param string $file
67-
*/
68-
privatefunctionclean($file)
69-
{
70-
if (is_dir($file) && !is_link($file)) {
71-
$dir =new \FilesystemIterator($file);
72-
foreach ($diras$childFile) {
73-
$this->clean($childFile);
74-
}
75-
76-
rmdir($file);
77-
}else {
78-
unlink($file);
79-
}
80-
}
81-
8262
publicfunctiontestCopyCreatesNewFile()
8363
{
8464
$sourceFilePath =$this->workspace.DIRECTORY_SEPARATOR.'copy_source_file';
@@ -1035,7 +1015,7 @@ private function markAsSkippedIfSymlinkIsMissing()
10351015
$this->markTestSkipped('symlink is not supported');
10361016
}
10371017

1038-
if ('\\' ===DIRECTORY_SEPARATOR &&false ===self::$symlinkOnWindows) {
1018+
if (false ===self::$symlinkOnWindows) {
10391019
$this->markTestSkipped('symlink requires "Create symbolic links" privilege on Windows');
10401020
}
10411021
}

‎src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public function testSeek($path, $seekable, $contains, $message = null)
6060
$i->seek(1);
6161
$actual[] =$i->getPathname();
6262

63-
$i->seek(2);
64-
$actual[] =$i->getPathname();
65-
6663
$this->assertEquals($contains,$actual);
6764
}
6865

@@ -73,7 +70,6 @@ public function getPaths()
7370
// ftp
7471
$contains =array(
7572
'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.'README',
76-
'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.'index.html',
7773
'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.'pub',
7874
);
7975
$data[] =array('ftp://ftp.mozilla.org/',false,$contains);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp