Esempio n. 1
0
 public function testIsWindowsSeven()
 {
     if (!OsHelper::isWindows()) {
         $this->markTestSkipped('Can only be run on Windows');
     }
     $isSeven = '6.1' === php_uname('r');
     $this->assertSame($isSeven, OsHelper::isWindowsSeven());
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function canBeUsed()
 {
     return OsHelper::isWindows() && OsHelper::isWindowsSeven();
 }