test: full coverage of Html::dropDefaults()
authorAntoine Musso <hashar@free.fr>
Thu, 30 Aug 2012 10:49:57 +0000 (12:49 +0200)
committerAntoine Musso <hashar@free.fr>
Sat, 15 Sep 2012 04:26:56 +0000 (21:26 -0700)
commit1a7da4f625bd24ba760e2f3055ea2c62f08e36ba
tree98292d60fa54dba27c7bc170cd1d857cb8d9976d
parent81f1cace4ca31334fb7c68d2bd9a4ba16061b8b7
test: full coverage of Html::dropDefaults()

This closely match Html::dropDefaults() logic and hopefully test out
all default dropping.

Introduce a test case that match a failure in f34547ab where attribute
default values passed in an array are not cleaned up.

Change-Id: If8d16b066015ed1bcaf38408511ac3713eaa6540
includes/Html.php
tests/phpunit/includes/HtmlTest.php