You are here

protected function RevisionAllBase::getCallingMethodName in Revision All 7.2

Returns the name of the test method making a call to a helper function.

Return value

string The calling methods name.

3 calls to RevisionAllBase::getCallingMethodName()
RevisionAllPreventNodeOverrideTests::has_disabled_revisions in tests/revision_all.test
Checks the current virtual browser page to ensure that the "Create new revision" checkbox is disabled.
RevisionAllPreventTypeOverrideTests::has_disabled_revisions in tests/revision_all.test
Checks the current virtual browser page to ensure that the "Create new revision" checkbox is disabled.
RevisionAllTypeRevisioningTests::nodeRevisioningStatus in tests/revision_all.test
Checks the current virtual browser page to ensure that the "Create new revision" checkbox has the expected checked/unchecked status.

File

tests/revision_all.test, line 82
Tests for Revision All module.

Class

RevisionAllBase
Defines a base class of DrupalWebTestCase and does general setup.

Code

protected function getCallingMethodName() {
  $trace = debug_backtrace();
  return $trace[2]['function'];
}