diff --git a/tests/unit/util/formatter/tests.html b/tests/unit/util/formatter/tests.html index fd548d982..bbc13ce4e 100644 --- a/tests/unit/util/formatter/tests.html +++ b/tests/unit/util/formatter/tests.html @@ -172,6 +172,19 @@ equal("dMartes y MMM m s t f h H", stringValue); }); } + + test("test checkbox format", function () { + var stringValue = $.ig.formatter(true, "checkbox", "checkbox", true, false, "block", "labelText", 1); + equal(stringValue, + "", + "Verify the checkbox format is properly applied."); + + stringValue = $.ig.formatter(false, "checkbox", "checkbox", true, false, "block", "labelText", 1); + + equal(stringValue, + "", + "Verify the checkbox format is properly applied."); + }); function runEscapeTests() { test("testescape", function() { diff --git a/tests/unit/util/tests.html b/tests/unit/util/tests.html new file mode 100644 index 000000000..3c79a9cb6 --- /dev/null +++ b/tests/unit/util/tests.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + +
+

Test results

+

+

+
    +
    + + \ No newline at end of file