Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 58... Línea 58...
58
    /**
58
    /**
59
     * Availability.
59
     * Availability.
60
     *
60
     *
61
     * @return void
61
     * @return void
62
     */
62
     */
63
    public function test_search_enabled() {
63
    public function test_search_enabled(): void {
64
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
64
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
65
        list($componentname, $varname) = $searcharea->get_config_var_name();
65
        list($componentname, $varname) = $searcharea->get_config_var_name();
Línea 66... Línea 66...
66
 
66
 
67
        // Enabled by default once global search is enabled.
67
        // Enabled by default once global search is enabled.
Línea 77... Línea 77...
77
    /**
77
    /**
78
     * Indexing collaborative page contents.
78
     * Indexing collaborative page contents.
79
     *
79
     *
80
     * @return void
80
     * @return void
81
     */
81
     */
82
    public function test_collaborative_page_indexing() {
82
    public function test_collaborative_page_indexing(): void {
83
        global $DB;
83
        global $DB;
Línea 84... Línea 84...
84
 
84
 
85
        // Returns the instance as long as the area is supported.
85
        // Returns the instance as long as the area is supported.
86
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
86
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
Línea 145... Línea 145...
145
    }
145
    }
Línea 146... Línea 146...
146
 
146
 
147
    /**
147
    /**
148
     * Group support for wiki entries.
148
     * Group support for wiki entries.
149
     */
149
     */
150
    public function test_collaborative_page_group_support() {
150
    public function test_collaborative_page_group_support(): void {
151
        // Get the search area and test generators.
151
        // Get the search area and test generators.
152
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
152
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
153
        $generator = $this->getDataGenerator();
153
        $generator = $this->getDataGenerator();
Línea 201... Línea 201...
201
    /**
201
    /**
202
     * Check collaborative_page check access.
202
     * Check collaborative_page check access.
203
     *
203
     *
204
     * @return void
204
     * @return void
205
     */
205
     */
206
    public function test_collaborative_page_check_access() {
206
    public function test_collaborative_page_check_access(): void {
207
        global $DB;
207
        global $DB;
Línea 208... Línea 208...
208
 
208
 
209
        // Returns the instance as long as the area is supported.
209
        // Returns the instance as long as the area is supported.
210
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);
210
        $searcharea = \core_search\manager::get_search_area($this->wikicollabpageareaid);