. /** * Unit tests for the html_writer class. * * @package moodlecore * @copyright 2010 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } require_once($CFG->libdir . '/outputcomponents.php'); /** * Unit tests for the html_writer class. * * @copyright 2010 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class html_writer_test extends UnitTestCase { public static $includecoverage = array('lib/outputcomponents.php'); public function test_start_tag() { $this->assertEqual('