Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 46... Línea 46...
46
    /**
46
    /**
47
     * test_create_dataset
47
     * test_create_dataset
48
     *
48
     *
49
     * @return null
49
     * @return null
50
     */
50
     */
51
    public function test_create_dataset() {
51
    public function test_create_dataset(): void {
Línea 52... Línea 52...
52
 
52
 
53
        $dataset1 = new \core_analytics\dataset_manager(1, 1, 'whatever', \core_analytics\dataset_manager::LABELLED_FILEAREA, false);
53
        $dataset1 = new \core_analytics\dataset_manager(1, 1, 'whatever', \core_analytics\dataset_manager::LABELLED_FILEAREA, false);
54
        $dataset1data = array_merge($this->sharedtoprows, array(array('yeah', 'yeah', 'yeah')));
54
        $dataset1data = array_merge($this->sharedtoprows, array(array('yeah', 'yeah', 'yeah')));
Línea 64... Línea 64...
64
    /**
64
    /**
65
     * test_merge_datasets
65
     * test_merge_datasets
66
     *
66
     *
67
     * @return null
67
     * @return null
68
     */
68
     */
69
    public function test_merge_datasets() {
69
    public function test_merge_datasets(): void {
Línea 70... Línea 70...
70
 
70
 
71
        $dataset1 = new \core_analytics\dataset_manager(1, 1, 'whatever', \core_analytics\dataset_manager::LABELLED_FILEAREA, false);
71
        $dataset1 = new \core_analytics\dataset_manager(1, 1, 'whatever', \core_analytics\dataset_manager::LABELLED_FILEAREA, false);
72
        $dataset1data = array_merge($this->sharedtoprows, array(array('yeah', 'yeah', 'yeah')));
72
        $dataset1data = array_merge($this->sharedtoprows, array(array('yeah', 'yeah', 'yeah')));
Línea 91... Línea 91...
91
    /**
91
    /**
92
     * test_get_pending_files
92
     * test_get_pending_files
93
     *
93
     *
94
     * @return null
94
     * @return null
95
     */
95
     */
96
    public function test_get_pending_files() {
96
    public function test_get_pending_files(): void {
97
        global $DB;
97
        global $DB;
Línea 98... Línea 98...
98
 
98
 
Línea 99... Línea 99...
99
        $this->resetAfterTest();
99
        $this->resetAfterTest();