aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-util.js34
1 files changed, 1 insertions, 33 deletions
diff --git a/tests/test-util.js b/tests/test-util.js
index 6292e84..c2214d6 100644
--- a/tests/test-util.js
+++ b/tests/test-util.js
@@ -169,36 +169,4 @@ exports.ensureCSVRemoveEmpty = function (test) {
exports.ensureGetBugNo = function (test) {
var bugNo = util.getBugNo("https://bugzilla.redhat.com/show_bug.cgi?id=597141");
test.assertEqual(bugNo, 597141, "getting bug number");
-};
-
-//// testing util.loadText
-exports.ensureLoadText = function (test) {
- var url = "http://www.ceplovi.cz/matej/progs/data/doi.txt", text = "";
- test.waitUntilDone();
- util.loadText(url, function (txt) {
- test.assertEqual(txt, testString);
- test.done();
- });
-};
-
-// exports.ensureLoadTextUnicode = function (test) {
-// var url = "http://matej.ceplovi.cz/progs/data/pushkin.txt", text = "";
-// test.waitUntilDone();
-// util.loadText(url, function (txt) {
-// console.log(txt);
-// test.assertEqual(txt, pushkinTestString);
-// test.done();
-// });
-// };
-
-//// testing util.loadJSON
-exports.ensureLoadJSON = function (test) {
- var url = "http://www.ceplovi.cz/matej/progs/data/test.json",
- date = {};
- test.waitUntilDone();
- util.loadJSON(url, function (data) {
- test.assertEqual(JSON.stringify(data),
- JSON.stringify([1, 2, 3]));
- test.done();
- });
-};
+}; \ No newline at end of file