diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-09-11 13:52:10 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-09-19 11:09:09 +0200 |
commit | 26166deb0c3a9938eeb94725705d49d259aa6e70 (patch) | |
tree | d4bf0e63a61224de35b6e74b67f471bfb4ea4901 /install/ui/test/utils_tests.html | |
parent | e39a109060ce8b92919c00aebd83a682a039d9b5 (diff) | |
download | freeipa-26166deb0c3a9938eeb94725705d49d259aa6e70.tar.gz freeipa-26166deb0c3a9938eeb94725705d49d259aa6e70.tar.xz freeipa-26166deb0c3a9938eeb94725705d49d259aa6e70.zip |
Fix integer validation when boundary value is empty string
There was an error in number validation check. If boundary value was an empty string, validation of a number always failed. This patch fixes the problem by not performing the check in these cases.
https://fedorahosted.org/freeipa/ticket/3066
Diffstat (limited to 'install/ui/test/utils_tests.html')
-rw-r--r-- | install/ui/test/utils_tests.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/install/ui/test/utils_tests.html b/install/ui/test/utils_tests.html new file mode 100644 index 000000000..5b81cc359 --- /dev/null +++ b/install/ui/test/utils_tests.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<head> + <title>IPA utils test suite</title> + <link rel="stylesheet" href="qunit.css" type="text/css" media="screen"> + <script type="text/javascript" src="../jquery.js"></script> + <script type="text/javascript" src="../jquery.ba-bbq.js"></script> + <script type="text/javascript" src="../jquery-ui.js"></script> + <script type="text/javascript" src="../jquery.ordered-map.js"></script> + <script type="text/javascript" src="qunit.js"></script> + <script type="text/javascript" src="../ipa.js"></script> + <script type="text/javascript" src="../widget.js"></script> + <script type="text/javascript" src="../field.js"></script> + <script type="text/javascript" src="utils_tests.js"></script> +</head> +<body> + <h1 id="qunit-header">IPA utils test suite</h1> + <h2 id="qunit-banner"></h2> + <div id="qunit-testrunner-toolbar"></div> + <h2 id="qunit-userAgent"></h2> + <ol id="qunit-tests"></ol> + <div id="qunit-fixture"></div> +</body> +</html>
\ No newline at end of file |