summaryrefslogtreecommitdiff
path: root/harness
diff options
context:
space:
mode:
authorMike Pennisi <mike@mikepennisi.com>2015-06-26 12:34:04 -0400
committerMike Pennisi <mike@mikepennisi.com>2015-06-26 12:34:04 -0400
commitf8e18ccd76d0f9af8721f55c9b2b1a8e7582cf18 (patch)
tree56d74fbc97333314faedd60e470ef465187cb542 /harness
parentafd6450bd2e9cd7607fa3327242e57592ce6e23c (diff)
downloadqtdeclarative-testsuites-f8e18ccd76d0f9af8721f55c9b2b1a8e7582cf18.tar.gz
Remove unnecessary "include" file
The `fnExists` function defines a generic way to determine if any number of values are function instances. Because it is only used by a single test, the additional complexity required by the generalized code (and the organizational drawbacks to maintaining another "include" file) are not justified. Remove the file and update the test to assert the function's existence directly.
Diffstat (limited to 'harness')
-rw-r--r--harness/fnExists.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/harness/fnExists.js b/harness/fnExists.js
deleted file mode 100644
index 1f283b45d..000000000
--- a/harness/fnExists.js
+++ /dev/null
@@ -1,7 +0,0 @@
-//-----------------------------------------------------------------------------
-function fnExists(/*arguments*/) {
- for (var i = 0; i < arguments.length; i++) {
- if (typeof (arguments[i]) !== "function") return false;
- }
- return true;
-}