Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 35... Línea 35...
35
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 * @author    Jesus Federico  (jesus [at] blindsidenetworks [dt] com)
36
 * @author    Jesus Federico  (jesus [at] blindsidenetworks [dt] com)
37
 * @covers \mod_bigbluebuttonbn\recording
37
 * @covers \mod_bigbluebuttonbn\recording
38
 * @coversDefaultClass \mod_bigbluebuttonbn\recording
38
 * @coversDefaultClass \mod_bigbluebuttonbn\recording
39
 */
39
 */
40
class recording_test extends \advanced_testcase {
40
final class recording_test extends \advanced_testcase {
41
    use testcase_helper_trait;
41
    use testcase_helper_trait;
Línea 42... Línea 42...
42
 
42
 
43
    /**
43
    /**
44
     * Setup for test
44
     * Setup for test
Línea 101... Línea 101...
101
    /**
101
    /**
102
     * Get possible status
102
     * Get possible status
103
     *
103
     *
104
     * @return array[]
104
     * @return array[]
105
     */
105
     */
106
    public function get_status_provider(): array {
106
    public static function get_status_provider(): array {
107
        return [
107
        return [
108
            [recording::RECORDING_STATUS_PROCESSED],
108
            [recording::RECORDING_STATUS_PROCESSED],
109
            [recording::RECORDING_STATUS_DISMISSED],
109
            [recording::RECORDING_STATUS_DISMISSED],
110
        ];
110
        ];
111
    }
111
    }
Línea 135... Línea 135...
135
    /**
135
    /**
136
     * Get possible type for recording / tests
136
     * Get possible type for recording / tests
137
     *
137
     *
138
     * @return array[]
138
     * @return array[]
139
     */
139
     */
140
    public function get_allrecordings_types_provider(): array {
140
    public static function get_allrecordings_types_provider(): array {
141
        return [
141
        return [
142
            'Instance Type ALL' => [
142
            'Instance Type ALL' => [
143
                'type' => instance::TYPE_ALL
143
                'type' => instance::TYPE_ALL
144
            ],
144
            ],
145
            'Instance Type ROOM Only' => [
145
            'Instance Type ROOM Only' => [