Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 67 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

external_value_test:: (2 methods):
  required_param_provider()
  test_required_param_validation()


Class: external_value_test  - X-Ref

Unit tests for core_external\external_description.

required_param_provider()   X-Ref
Data provider for the required param test.

return: array[]

test_required_param_validation($required, $debuggingexpected, $requiredstr = '')   X-Ref
Tests the constructor for the $required parameter validation.

param: int $required The required param being tested.
param: bool $debuggingexpected Whether debugging is expected.
param: mixed $requiredstr The string value of the $required param in the debugging message.
return: void