Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / Drush / Tests / Make / Parser / ParserIniTest.php
diff --git a/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserIniTest.php b/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserIniTest.php
deleted file mode 100644 (file)
index 37f5d41..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace Drush\Tests\Make\Parser;
-
-use Drush\Make\Parser\ParserIni;
-
-/**
- * @coversDefaultClass \Drush\Make\Parser\ParserIni
- */
-class ParserIniTest extends \PHPUnit_Framework_TestCase {
-
-  /**
-   * @covers ::supportedFile
-   */
-  public function testSupportedFile() {
-    $this->assertFalse(ParserIni::supportedFile('-'));
-    $this->assertFalse(ParserIni::supportedFile('/tmp/foo/bar/baz.make.yml'));
-    $this->assertTrue(ParserIni::supportedFile('./baz/foo.make'));
-  }
-
-  /**
-   * @dataProvider providerParse
-   * @covers ::parse
-   */
-  public function testParse($ini, $expected) {
-    $parsed = ParserIni::parse($ini);
-    $this->assertSame($expected, $parsed);
-  }
-
-  /**
-   * Provides INI snippets to test the parser.
-   */
-  public function providerParse() {
-    $snippets[] = array('foo[bar][baz] = one', array('foo' => array('bar' => array('baz' => 'one'))));
-    $snippets[] = array("; A comment should not be part of the returned array\nprojects[] = drupal", array('projects' => array('drupal')));
-
-    // @todo make more tests.
-    return $snippets;
-  }
-
-}