public static function UnishTestCase::is_windows

8.0.x UnishTestCase.php public static UnishTestCase::is_windows()
7.x UnishTestCase.php public static UnishTestCase::is_windows()
master UnishTestCase.php public static UnishTestCase::is_windows()
15 calls to UnishTestCase::is_windows()
backendUnitCase::testBackendFork in tests/backendUnitTest.php
Covers the following target responsibilities.
CommandUnishTestCase::execute in tests/Unish/CommandUnishTestCase.php
Actually runs the command.
completeCase::testComplete in tests/completeTest.php
coreCase::testStandaloneScript in tests/coreTest.php
Test standalone php-script scripts. Assure that script args and options work.
drushScriptCase::testPhpOptionsTest in tests/drushScriptTest.php
Test `PHP_OPTIONS=... drush`

... See full list

File

tests/Unish/UnishTestCase.php, line 101

Namespace

Unish

Class

UnishTestCase

Code

public static function is_windows() {
  return strtoupper(substr(PHP_OS, 0, 3)) == "WIN";
}