12 namespace Symfony\Component\Finder\Tests\Iterator;
21 public function testAccept($matchPatterns, $noMatchPatterns, $expected)
33 array(array(
'test.*'), array(), array(
'test.php',
'test.py')),
34 array(array(), array(
'test.*'), array(
'foo.php')),
35 array(array(
'*.php'), array(
'test.*'), array(
'foo.php')),
36 array(array(
'*.php',
'*.py'), array(
'foo.*'), array(
'test.php',
'test.py')),
37 array(array(
'/\.php$/'), array(), array(
'test.php',
'foo.php')),
38 array(array(), array(
'/\.php$/'), array(
'test.py')),
47 return new \SplFileInfo(parent::current());
52 return parent::current();