Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

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

Defines 1 class

launch_cache_session_test:: (3 methods):
  test_cache_launch_data()
  test_cache_and_check_nonce()
  test_purge()


Class: launch_cache_session_test  - X-Ref

Tests for the launch_cache_session class.

test_cache_launch_data()   X-Ref
Test that the session cache, and in particular distinct object instances, can cache and retrieve launch data.

Using different objects simulates the kind of usage we expect: uses across different requests.


test_cache_and_check_nonce()   X-Ref
Test that the session cache, and in particular distinct object instances, can cache and check the nonce data.

Using different objects simulates the kind of usage we expect: uses across different requests.


test_purge()   X-Ref
Test that the session cache, and in particular distinct object instances, can purge cached launch data.

Using different objects simulates the kind of usage we expect: uses across different requests.