Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 62... Línea 62...
62
    /**
62
    /**
63
     * test_ranges
63
     * test_ranges
64
     *
64
     *
65
     * @return void
65
     * @return void
66
     */
66
     */
67
    public function test_valid_ranges() {
67
    public function test_valid_ranges(): void {
Línea 68... Línea 68...
68
 
68
 
69
        // All core time splitting methods.
69
        // All core time splitting methods.
70
        $timesplittings = array(
70
        $timesplittings = array(
71
            '\core\analytics\time_splitting\deciles',
71
            '\core\analytics\time_splitting\deciles',
Línea 87... Línea 87...
87
    /**
87
    /**
88
     * test_range_dates
88
     * test_range_dates
89
     *
89
     *
90
     * @return void
90
     * @return void
91
     */
91
     */
92
    public function test_range_dates() {
92
    public function test_range_dates(): void {
Línea 93... Línea 93...
93
 
93
 
94
        $nov2015 = mktime(0, 0, 0, 11, 24, 2015);
94
        $nov2015 = mktime(0, 0, 0, 11, 24, 2015);
Línea 95... Línea 95...
95
        $aug2016 = mktime(0, 0, 0, 8, 29, 2016);
95
        $aug2016 = mktime(0, 0, 0, 8, 29, 2016);
Línea 156... Línea 156...
156
    /**
156
    /**
157
     * test_ready_predict
157
     * test_ready_predict
158
     *
158
     *
159
     * @return void
159
     * @return void
160
     */
160
     */
161
    public function test_ready_predict() {
161
    public function test_ready_predict(): void {
Línea 162... Línea 162...
162
 
162
 
163
        $quarters = new \core\analytics\time_splitting\quarters();
163
        $quarters = new \core\analytics\time_splitting\quarters();
164
        $nosplitting = new \core\analytics\time_splitting\no_splitting();
164
        $nosplitting = new \core\analytics\time_splitting\no_splitting();
Línea 192... Línea 192...
192
    /**
192
    /**
193
     * test_periodic
193
     * test_periodic
194
     *
194
     *
195
     * @return void
195
     * @return void
196
     */
196
     */
197
    public function test_periodic() {
197
    public function test_periodic(): void {
Línea 198... Línea 198...
198
 
198
 
Línea 199... Línea 199...
199
        // Using a finished course.
199
        // Using a finished course.
200
 
200