You are here

public function CrossCheckTest::crossCheckLoadersDumpers in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/CrossCheckTest.php \Symfony\Component\DependencyInjection\Tests\CrossCheckTest::crossCheckLoadersDumpers()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/CrossCheckTest.php, line 74

Class

CrossCheckTest

Namespace

Symfony\Component\DependencyInjection\Tests

Code

public function crossCheckLoadersDumpers() {
  $tests = array(
    array(
      'services1.xml',
      'xml',
    ),
    array(
      'services2.xml',
      'xml',
    ),
    array(
      'services6.xml',
      'xml',
    ),
    array(
      'services8.xml',
      'xml',
    ),
    array(
      'services9.xml',
      'xml',
    ),
  );
  if (class_exists('Symfony\\Component\\Yaml\\Yaml')) {
    $tests = array_merge($tests, array(
      array(
        'services1.yml',
        'yaml',
      ),
      array(
        'services2.yml',
        'yaml',
      ),
      array(
        'services6.yml',
        'yaml',
      ),
      array(
        'services8.yml',
        'yaml',
      ),
      array(
        'services9.yml',
        'yaml',
      ),
    ));
  }
  return $tests;
}