Esempio n. 1
0
 /**
  * @test
  *
  * @param string $name
  * @param bool $expected
  * @dataProvider provideExecutableNames
  */
 public function isExecutableName($name, $expected)
 {
     if (!OperatingSystem::isWindows()) {
         $this->markTestSkipped('Only tested on windows');
     }
     $this->assertSame($expected, WindowsSystem::isExecutableName($name), $name);
 }
Esempio n. 2
0
 /**
  * @test
  *
  * @param string $name
  * @param bool $expected
  * @dataProvider provideExecutableNames
  */
 public function isExecutableName($name, $expected)
 {
     $this->assertSame($expected, WindowsSystem::isExecutableName($name), $name);
 }