function Drush_UnitTestCase::drush_major_version

6.x drush_testcase.inc Drush_UnitTestCase::drush_major_version()
5.x drush_testcase.inc Drush_UnitTestCase::drush_major_version()
1 call to Drush_UnitTestCase::drush_major_version()
commandUnitCase::testCommandVersionSpecific in tests/commandUnitTest.php
Assure that matching version-specific command files are loaded and others are ignored.

File

tests/drush_testcase.inc, line 502
Initialize a sandboxed environment. Starts with call unish_init() at bottom.

Class

Drush_UnitTestCase
Base class for Drush unit tests

Code

function drush_major_version() {
  return DRUSH_MAJOR_VERSION;
}