PHP Class htmlgen\test\HtmlTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: naomik/htmlgen

Public Methods

Method Description
test_html_accepts_attributes_for_void_elements ( )
test_html_accepts_children_attribute_as_children ( )
test_html_accepts_false_attribute_value_as_void_attribute ( )
test_html_accepts_first_child_assoc_as_attributes_and_children ( )
test_html_accepts_true_attribute_value_as_void_attribute ( )
test_html_accepts_variadic_children ( )
test_html_accepts_void_attributes ( )
test_html_checks_for_override_elements ( )
test_html_children_override_children_attribute ( )
test_html_coerces_object_children_to_strings ( )
test_html_comment_element ( )
test_html_creates_elements_that_can_be_coerced_into_strings ( )
test_html_doctype_element ( )
test_html_empty_zen_element_throw_exception ( )
test_html_empty_zen_element_with_class_defaults_to_div ( )
test_html_empty_zen_element_with_id_defaults_to_div ( )
test_html_ignores_children_for_void_elements ( )
test_html_ignores_empty_attributes ( )
test_html_skips_closing_tag_for_void_elements ( )
test_html_treats_first_child_assoc_as_attributes ( )
test_html_treats_numeric_array_as_list_of_children ( )
test_html_treats_string_as_single_child ( )
test_html_with_empty_returns_childless_element ( )
test_html_with_no_arguments_throws_error ( )
test_html_zen_element_with_classes ( )
test_html_zen_element_with_classesand_class_attribute ( )
test_html_zen_element_with_id ( )
test_html_zen_element_with_id_and_classes ( )
test_html_zen_element_with_id_and_classes_and_children ( )
test_html_zen_element_with_id_and_id_attribute ( )

Method Details

test_html_accepts_attributes_for_void_elements() public method

test_html_accepts_children_attribute_as_children() public method

test_html_accepts_false_attribute_value_as_void_attribute() public method

test_html_accepts_first_child_assoc_as_attributes_and_children() public method

test_html_accepts_true_attribute_value_as_void_attribute() public method

test_html_accepts_variadic_children() public method

test_html_accepts_void_attributes() public method

test_html_checks_for_override_elements() public method

test_html_children_override_children_attribute() public method

test_html_coerces_object_children_to_strings() public method

test_html_comment_element() public method

test_html_creates_elements_that_can_be_coerced_into_strings() public method

test_html_doctype_element() public method

test_html_empty_zen_element_throw_exception() public method

test_html_empty_zen_element_with_class_defaults_to_div() public method

test_html_empty_zen_element_with_id_defaults_to_div() public method

test_html_ignores_children_for_void_elements() public method

test_html_ignores_empty_attributes() public method

test_html_skips_closing_tag_for_void_elements() public method

test_html_treats_first_child_assoc_as_attributes() public method

test_html_treats_numeric_array_as_list_of_children() public method

test_html_treats_string_as_single_child() public method

test_html_with_empty_returns_childless_element() public method

test_html_with_no_arguments_throws_error() public method

test_html_zen_element_with_classes() public method

test_html_zen_element_with_classesand_class_attribute() public method

test_html_zen_element_with_id() public method

test_html_zen_element_with_id_and_classes() public method

test_html_zen_element_with_id_and_classes_and_children() public method

test_html_zen_element_with_id_and_id_attribute() public method