From 392a7b1d6a945b6fdf9958919f04066181430ab2 Mon Sep 17 00:00:00 2001 From: martindholmes Date: Wed, 13 May 2026 14:22:42 -0700 Subject: [PATCH] Fix for issue #356: remove obsolete test files. --- js/searchTest.html | 71 ---------------------------------------------- js/searchTest.js | 21 -------------- 2 files changed, 92 deletions(-) delete mode 100644 js/searchTest.html delete mode 100644 js/searchTest.js diff --git a/js/searchTest.html b/js/searchTest.html deleted file mode 100644 index a59a75a1..00000000 --- a/js/searchTest.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Search Engine Test Suite - - - - - -

Test suite for JavaScript Search Engine

-
- - - -
- -
    -
  • -
  • -
  • -
  • -
- - - - -
-
- -
-
- - diff --git a/js/searchTest.js b/js/searchTest.js deleted file mode 100644 index c345a8d8..00000000 --- a/js/searchTest.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; - -//Create an instance of the search object. -var Sch; - -var searchQueryTests = [ - 'appearance', - 'Hazlitt journalist', - '+document +flow +specialized', - 'note "document contains" flow specialized +context', - '+yellow -red "two colours" better Green ambiguous' -]; - -function setupTests(){ - Sch = new StaticSearch(); - if (document.getElementById('ssQuery').value == ''){ - document.getElementById('ssQuery').value = searchQueryTests[1]; - } -} - -window.addEventListener('load', setupTests);