4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Finder\Tests;
14 use Symfony\Component\Finder\Adapter\GnuFindAdapter;
15 use Symfony\Component\Finder\Finder;
20 class GnuFinderTest extends FinderTest
22 protected function buildFinder()
24 $adapter = new GnuFindAdapter();
26 if (!$adapter->isSupported()) {
27 $this->markTestSkipped(get_class($adapter).' is not supported.');
30 return Finder::create()
32 ->addAdapter($adapter);