Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 21... Línea 21...
21
 *
21
 *
22
 * @package    fileconverter_unoconv
22
 * @package    fileconverter_unoconv
23
 * @copyright  2016 Damyon Wiese
23
 * @copyright  2016 Damyon Wiese
24
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 */
25
 */
26
class converter_test extends \advanced_testcase {
26
final class converter_test extends \advanced_testcase {
Línea 27... Línea 27...
27
 
27
 
28
    /**
28
    /**
29
     * Helper to skip tests which _require_ unoconv.
29
     * Helper to skip tests which _require_ unoconv.
30
     */
30
     */
Línea 112... Línea 112...
112
    /**
112
    /**
113
     * Provider for test_unoconv_path.
113
     * Provider for test_unoconv_path.
114
     *
114
     *
115
     * @return  array
115
     * @return  array
116
     */
116
     */
117
    public function provider_test_unoconv_path() {
117
    public static function provider_test_unoconv_path(): array {
118
        return [
118
        return [
119
            'Empty path' => [
119
            'Empty path' => [
120
                'path' => null,
120
                'path' => null,
121
                'status' => \fileconverter_unoconv\converter::UNOCONVPATH_EMPTY,
121
                'status' => \fileconverter_unoconv\converter::UNOCONVPATH_EMPTY,
122
            ],
122
            ],