Skip to content

Commit

Permalink
ensure that all tests are executed against the pure javascript resolv…
Browse files Browse the repository at this point in the history
…er version ('nwmatcher-noqsa.js'), that is the preferred code to be tested
  • Loading branch information
dperini committed Apr 26, 2017
1 parent 35a5ce7 commit c9b3563
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/css3-compat/css3-compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var CDN = 'http://ajax.googleapis.com/ajax/libs/',
engines = {
'querySelectorAll': [ 'document.querySelectorAll(s)', '' ],

'nwmatcher-1.4.0beta': [ 'NW.Dom.select(s)', '../../src/nwmatcher.js' ]
'nwmatcher-1.4.0beta': [ 'NW.Dom.select(s)', '../../src/nwmatcher-noqsa.js' ]

// 'base2-2.0alpha1': [ 'base2.dom.querySelectorAll(c,s)', 'lib/base2+dom.js' ],
// 'prototype-1.6.1': [ '$$(s)', CDN + 'prototype/1.6.1.0/prototype.js' ],
Expand Down
2 changes: 1 addition & 1 deletion test/html5/html5test.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NWMatcher HTML5 elements selection test</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<!--
<script type="text/javascript" src="../../src/nwmatcher-base.js"></script>
<script type="text/javascript" src="../../src/modules/nwmatcher-pseudos.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/html5/negationtest.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NWMatcher HTML5 elements selection test</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<!--
<script type="text/javascript" src="../../src/nwmatcher-base.js"></script>
<script type="text/javascript" src="../../src/modules/nwmatcher-pseudos.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/jquery/jquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ol#empty { opacity: 0; filter:Alpha(opacity=0); } /* for testing opacity set in styles in IE */
</style>
<!-- Includes -->
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<!--
<script type="text/javascript" src="../../src/nwmatcher-base.js"></script>
<script type="text/javascript" src="../../src/modules/nwmatcher-pseudos.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/prototype/nwmatcher-proto-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>NWMatcher Unit Test</title>
<link rel="stylesheet" href="test.css" type="text/css" media="screen" charset="utf-8" />
<script src="../../src/nwmatcher.js" type="text/javascript" charset="utf-8"></script>
<script src="../../src/nwmatcher-noqsa.js" type="text/javascript" charset="utf-8"></script>
<!--
<script src="../../src/nwmatcher-base.js" type="text/javascript" charset="utf-8"></script>
<script src="../../src/modules/nwmatcher-pseudos.js" type="text/javascript" charset="utf-8"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/prototype/selector_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="assets/prototype.js?1267715612" type="text/javascript" charset="utf-8"></script>
<script src="lib_assets/unittest.js?1267715612" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="lib_assets/unittest.css?1267715612" type="text/css" />
<script src="../../src/nwmatcher.js" type="text/javascript" charset="utf-8"></script>
<script src="../../src/nwmatcher-noqsa.js" type="text/javascript" charset="utf-8"></script>
<!--
<script src="../../src/nwmatcher-base.js" type="text/javascript" charset="utf-8"></script>
<script src="../../src/modules/nwmatcher-pseudos.js" type="text/javascript" charset="utf-8"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/quirks/test-class-attribute-quirks.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NWMatcher HTML5 elements selection test</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<!--
<script type="text/javascript" src="../../src/nwmatcher-base.js"></script>
<script type="text/javascript" src="../../src/modules/nwmatcher-pseudos.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/quirks/test-class-attribute-standard.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NWMatcher HTML5 elements selection test</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<!--
<script type="text/javascript" src="../../src/nwmatcher-base.js"></script>
<script type="text/javascript" src="../../src/modules/nwmatcher-pseudos.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/scotch/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NWMatcher Tests</title>
<link rel="stylesheet" type="text/css" href="assets/style.css" media="screen" />
<script type="text/javascript" src="../../src/nwmatcher.js"></script>
<script type="text/javascript" src="../../src/nwmatcher-noqsa.js"></script>
<script type="text/javascript" src="scotch.js"></script>
<script type="text/javascript" src="test.js"></script>
</head>
Expand Down

0 comments on commit c9b3563

Please sign in to comment.