(no description)
File Size: | 459 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file communication/provider/matrix/tests/matrix_client_test_trait.php |
matrix_client_test:: (15 methods):
instance_provider()
test_instance()
test_instance_cached()
test_instance_no_support()
test_implements_feature()
test_require_feature()
test_require_features()
implements_feature_provider()
require_features_provider()
test_get_version()
get_version_provider()
test_meets_version()
test_requires_version()
meets_version_provider()
test_command_is_executed()
Class: matrix_client_test - X-Ref
Tests for the matrix_client class.instance_provider() X-Ref |
Data provider for valid calls to ::instance. return: array |
test_instance(?array $versions,string $expectedversion,) X-Ref |
Test that the instance method returns a valid instance for the given versions. param: array|null $versions param: string $expectedversion |
test_instance_cached() X-Ref |
Test that the instance method returns a valid instance for the given versions. |
test_instance_no_support() X-Ref |
Test that the instance method throws an appropriate exception if no support is found. |
test_implements_feature(string $version,array|string $features,bool $expected,) X-Ref |
Test the feature implementation check methods. param: string $version param: array|string $features param: bool $expected |
test_require_feature(string $version,array|string $features,bool $expected,) X-Ref |
Test the feature implementation requirement methods. param: string $version param: array|string $features param: bool $expected |
test_require_features(string $version,array|string $features,bool $expected,) X-Ref |
Test the feature implementation requirement methods for a require all. param: string $version param: array|string $features param: bool $expected |
implements_feature_provider() X-Ref |
Data provider for feature implementation check tests. return: array |
require_features_provider() X-Ref |
Data provider for feature implementation check tests. return: array |
test_get_version(string $version,string $expectedversion,) X-Ref |
Test the get_version method. param: string $version param: string $expectedversion |
get_version_provider() X-Ref |
Data provider for get_version tests. return: array |
test_meets_version(string $version,string $testversion,bool $expected,) X-Ref |
Tests the meets_version method. param: string $version The version of the API to test against param: string $testversion The version to test param: bool $expected Whether the version meets the requirement |
test_requires_version(string $version,string $testversion,bool $expected,) X-Ref |
Tests the requires_version method. param: string $version The version of the API to test against param: string $testversion The version to test param: bool $expected Whether the version meets the requirement |
meets_version_provider() X-Ref |
Data provider for meets_version tests. return: array |
test_command_is_executed() X-Ref |
Test the execute method with a command. |