Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 22... Línea 22...
22
 * @package   tool_brickfield
22
 * @package   tool_brickfield
23
 * @copyright  2020 onward: Brickfield Education Labs, www.brickfield.ie
23
 * @copyright  2020 onward: Brickfield Education Labs, www.brickfield.ie
24
 * @author     Jay Churchward (jay.churchward@poetopensource.org)
24
 * @author     Jay Churchward (jay.churchward@poetopensource.org)
25
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26
 */
26
 */
27
class printable_test extends \advanced_testcase {
27
final class printable_test extends \advanced_testcase {
Línea 28... Línea 28...
28
 
28
 
29
    /**
29
    /**
30
     * Test tool name.
30
     * Test tool name.
31
     */
31
     */
Línea 98... Línea 98...
98
 
98
 
99
        $filter->target = 'html';
99
        $filter->target = 'html';
100
        $object = new printable();
100
        $object = new printable();
101
        $object->set_filter($filter);
101
        $object->set_filter($filter);
102
        $output = $object->get_output();
102
        $output = $object->get_output();
103
        $this->assertStringContainsString('<i class="icon fa fa-tachometer fa-fw "  title="Total activities" '.
103
        $this->assertStringContainsString('<i class="icon fa fa-trophy fa-fw "  title="Total activities" '.
104
            'role="img" aria-label="Total activities">', $output);
104
            'role="img" aria-label="Total activities">', $output);
105
    }
105
    }