1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

move tests where they can be browsed by all online

This commit is contained in:
Raymond Hill 2018-11-04 18:25:38 -02:00
parent 0f27c0b977
commit e2b330f211
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
5 changed files with 29 additions and 2 deletions

13
docs/index.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>uBlock Origin pages</title>
</head>
<body>
<h1>uBlock Origin pages</h1>
<ul>
<li><a href="tests/">Tests</a>
</ul>
</body>
</html>

View File

@ -16,7 +16,7 @@
<!-- <script src="https://rawgithub.com/gorhill/uBlock/master/src/js/hntrie.js"></script> -->
<script src="https://rawcdn.githack.com/gorhill/uBlock/e83ffde5af29bd44ae529c5a60e2506970e7af34/src/js/hntrie.js"></script>
<script src="../src/js/hntrie.js"></script>
<script src="../../src/js/hntrie.js"></script>
<script src="hostname-pool.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.17.2/lodash.min.js"></script>

View File

@ -8,7 +8,7 @@
<div><button id="test" type="button">Test!</button></div>
<div id="stdout"></div>
<script src="https://rawcdn.githack.com/gorhill/uBlock/e83ffde5af29bd44ae529c5a60e2506970e7af34/src/js/hntrie.js"></script>
<script src="../src/js/hntrie.js"></script>
<script src="../../src/js/hntrie.js"></script>
<script src="hostname-pool.js"></script>
<script>
const createRandomLabel = function() {

14
docs/tests/index.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>uBlock Origin -- Tests</title>
</head>
<body>
<h1>uBlock Origin tests</h1>
<ul>
<li><a href="hntrie-test.html">HNTrie: tests</a>
<li><a href="hnset-benchmark.html">HNTrie: benchmarks</a>
</ul>
</body>
</html>