Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / Drush / Tests / Make / Parser / ParserYamlTest.php
diff --git a/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserYamlTest.php b/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserYamlTest.php
deleted file mode 100644 (file)
index cf2a67d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-
-namespace Drush\Tests\Make\Parser;
-
-use Drush\Make\Parser\ParserYaml;
-
-/**
- * @coversDefaultClass \Drush\Make\Parser\ParserYaml
- */
-class ParserYamlTest extends \PHPUnit_Framework_TestCase {
-
-  /**
-   * @covers ::supportedFile
-   */
-  public function testSupportedFile() {
-    // @todo allow stdin support for Yaml files as well.
-    $this->assertFalse(ParserYaml::supportedFile('-'));
-    $this->assertTrue(ParserYaml::supportedFile('/tmp/foo/bar/baz.make.yml'));
-    $this->assertFalse(ParserYaml::supportedFile('./baz/foo.make'));
-  }
-
-  /**
-   * @dataProvider providerParse
-   * @covers ::parse
-   */
-  public function testParse($yaml, $expected) {
-    $parsed = ParserYaml::parse($yaml);
-    $this->assertSame($expected, $parsed);
-  }
-
-  /**
-   * Provides YAML snippets to test the parser.
-   */
-  public function providerParse() {
-    $yaml = <<<'YAML'
-foo:
-  bar:
-    baz: one
-YAML;
-    $snippets[] = array($yaml, array('foo' => array('bar' => array('baz' => 'one'))));
-
-    $yaml = <<<'YAML'
-projects:
-  drupal: ~
-  views:
-    version: '3.0'
-YAML;
-
-    $snippets[] = array($yaml, array('projects' => array('drupal' => NULL, 'views' => array('version' => '3.0'))));
-
-    // @todo make more tests.
-    return $snippets;
-  }
-
-}