[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/tests/behat/ -> behat_deprecated.php (summary)

Steps definitions that will be deprecated in the next releases.

Copyright: 2013 David Monllaó
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 104 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class

behat_deprecated:: (2 methods):
  i_dock_block()
  deprecated_message()


Class: behat_deprecated  - X-Ref

Deprecated behat step definitions.

i_dock_block($blockname)   X-Ref
Docks a block. Editing mode should be previously enabled.

param: string $blockname
return: void

deprecated_message($alternatives, $throwexception = false)   X-Ref
Throws an exception if $CFG->behat_usedeprecated is not allowed.

param: string|array $alternatives Alternative/s to the requested step
param: bool $throwexception If set to true we always throw exception, irrespective of behat_usedeprecated setting.
return: void



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1