Skip to content

Commit

Permalink
adding test suite for jquery.URI.js and jQuery 1.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Nov 11, 2012
1 parent 65f707f commit c69458e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -220,6 +220,7 @@ URI.js is published under the [MIT license](http://www.opensource.org/licenses/m
* fixing `URI(location)` to properly parse the URL - ([Issue #50](https://github.com/medialize/URI.js/issues/50))
* fixing type error for fragment abuse demos - ([Issue #50](https://github.com/medialize/URI.js/issues/50))
* adding documentation for various [encode/decode functions](http://medialize.github.com/URI.js/docs.html#encoding-decoding)
* adding some pointers on possible problems with URLs to [About URIs](http://medialize.github.com/URI.js/about-uris.html)
* adding tests for fragment abuse and splitting tests into separate scopes

Note: QUnit seems to be having some difficulties on IE8. While the jQuery-plugin tests fail, the plugin itself works. We're still trying to figure out what's making QUnit "lose its config state".
Expand Down
4 changes: 4 additions & 0 deletions jquery-1.7.2.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/index.html
Expand Up @@ -11,6 +11,7 @@
QUnit.testSuites([
"test.URI.html",
"test.jQuery.html",
"test.jQuery-1.7.html",
"test.fragmentQuery.html",
"test.fragmentURI.html"
]);
Expand Down
2 changes: 1 addition & 1 deletion test/test.URI.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>URI Test Suite</title>
<title>URI.js - URI Test Suite</title>
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../src/punycode.js"></script>
<script type="text/javascript" src="../src/IPv6.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/test.fragmentQuery.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>URI Test Suite</title>
<title>fragmentQuery - URI Test Suite</title>
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../src/punycode.js"></script>
<script type="text/javascript" src="../src/IPv6.js"></script>
Expand Down
30 changes: 30 additions & 0 deletions test/test.jQuery-1.7.html
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>jQuery Plugin 1.7 - URI Test Suite</title>
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../src/punycode.js"></script>
<script type="text/javascript" src="../src/IPv6.js"></script>
<script type="text/javascript" src="../src/SecondLevelDomains.js"></script>
<script type="text/javascript" src="../src/URI.js"></script>
<script type="text/javascript" src="../src/URITemplate.js"></script>
<script type="text/javascript" src="../jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../src/jquery.URI.js"></script>
<script type="text/javascript" src="qunit/qunit.js"></script>

<!--
as the plugins alter core URI functionality,
it is necessary to re-test URI itself was well
-->
<script type="text/javascript" src="urls.js"></script>
<script type="text/javascript" src="test.js"></script>
<script type="text/javascript" src="test_jim.js"></script>
<script type="text/javascript" src="test_template.js"></script>
<script type="text/javascript" src="test_jquery.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion test/test.jQuery.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" />
<title>URI Test Suite</title>
<title>jQuery Plugin 1.8 - URI Test Suite</title>
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../src/punycode.js"></script>
<script type="text/javascript" src="../src/IPv6.js"></script>
Expand Down

0 comments on commit c69458e

Please sign in to comment.