You are here

public static function PHPUnit_Util_Test::getPreserveGlobalStateSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/Test.php \PHPUnit_Util_Test::getPreserveGlobalStateSettings()

Returns the preserve global state settings for a test.

@since Method available since Release 3.4.0

Parameters

string $className:

string $methodName:

Return value

bool

1 call to PHPUnit_Util_Test::getPreserveGlobalStateSettings()
PHPUnit_Framework_TestSuite::createTest in vendor/phpunit/phpunit/src/Framework/TestSuite.php

File

vendor/phpunit/phpunit/src/Util/Test.php, line 742

Class

PHPUnit_Util_Test
Test helpers.

Code

public static function getPreserveGlobalStateSettings($className, $methodName) {
  return self::getBooleanAnnotationSetting($className, $methodName, 'preserveGlobalState');
}