12 namespace Symfony\Component\Finder\Tests\Iterator;
26 public function testRewind($path, $seekable, $contains, $message = null)
30 }
catch (\UnexpectedValueException $e) {
31 $this->markTestSkipped(sprintf(
'Unsupported stream "%s".', $path));
36 $this->assertTrue(
true, $message);
47 public function testSeek($path, $seekable, $contains, $message = null)
51 }
catch (\UnexpectedValueException $e) {
52 $this->markTestSkipped(sprintf(
'Unsupported stream "%s".', $path));
58 $actual[] = $i->getPathname();
61 $actual[] = $i->getPathname();
63 $this->assertEquals($contains, $actual);
72 'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.
'README',
73 'ftp://ftp.mozilla.org'.DIRECTORY_SEPARATOR.
'pub',
75 $data[] = array(
'ftp://ftp.mozilla.org/',
false, $contains);