Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 30... Línea 30...
30
 * @category   test
30
 * @category   test
31
 * @copyright  2023 Safat Shahin <safat.shahin@moodle.com>
31
 * @copyright  2023 Safat Shahin <safat.shahin@moodle.com>
32
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
33
 * @coversDefaultClass \core_communication\processor
33
 * @coversDefaultClass \core_communication\processor
34
 */
34
 */
35
class processor_test extends \advanced_testcase {
35
final class processor_test extends \advanced_testcase {
36
    use matrix_test_helper_trait;
36
    use matrix_test_helper_trait;
37
    use communication_test_helper_trait;
37
    use communication_test_helper_trait;
Línea 38... Línea 38...
38
 
38
 
39
    public function setUp(): void {
39
    public function setUp(): void {
Línea 46... Línea 46...
46
    /**
46
    /**
47
     * Test create instance.
47
     * Test create instance.
48
     *
48
     *
49
     * @covers ::create_instance
49
     * @covers ::create_instance
50
     * @covers ::get_id
50
     * @covers ::get_id
51
     * @covers ::get_instance
51
     * @covers ::get_context
-
 
52
     * @covers ::get_context_id
-
 
53
     * @covers ::get_provider
52
     * @covers ::get_room_name
54
     * @covers ::get_room_name
53
     */
55
     */
54
    public function test_create_instance(): void {
56
    public function test_create_instance(): void {
55
        global $DB;
57
        global $DB;
56
        $this->resetAfterTest();
58
        $this->resetAfterTest();