summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-05-18 15:43:51 -0700
committerPhilip Chimento <philip@endlessm.com>2015-05-18 15:43:51 -0700
commitf2ffc2d1fa2aefd6b674da3d4abfd9a9b59218db (patch)
tree140e4ecf915bac48476026c0a1b3161381883cf3
parent4f65022c488db67049bf9e9b95ca43995472e913 (diff)
No need to time out tests
Jasmine has its own timeout timer on each spec, so we don't need to set one up ourselves. [endlessm/eos-sdk#3171]
-rw-r--r--test/webhelper/testTranslate.js6
-rw-r--r--test/webhelper/testUpdateFontSize.js6
-rw-r--r--test/webhelper/testWebActions.js6
3 files changed, 0 insertions, 18 deletions
diff --git a/test/webhelper/testTranslate.js b/test/webhelper/testTranslate.js
index f4d4f68..da8c77a 100644
--- a/test/webhelper/testTranslate.js
+++ b/test/webhelper/testTranslate.js
@@ -33,12 +33,6 @@ const WebHelperApplicationWithTranslatableText = new Lang.Class({
this.quit();
}
}));
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function() {
- this.quit();
- }));
}
});
diff --git a/test/webhelper/testUpdateFontSize.js b/test/webhelper/testUpdateFontSize.js
index 4aaaefb..8bd26be 100644
--- a/test/webhelper/testUpdateFontSize.js
+++ b/test/webhelper/testUpdateFontSize.js
@@ -33,12 +33,6 @@ const WebUpdateFontSizeTestApplication = new Lang.Class({
if (this.accept_callback !== null)
this.accept_callback(this.win, this.websettings.default_font_size);
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function () {
- this.quit();
- }));
},
accept_callback: null,
diff --git a/test/webhelper/testWebActions.js b/test/webhelper/testWebActions.js
index c543a43..e937fb6 100644
--- a/test/webhelper/testWebActions.js
+++ b/test/webhelper/testWebActions.js
@@ -24,12 +24,6 @@ const WebActionTestApplication = new Lang.Class({
this.scrolled = new Gtk.ScrolledWindow();
this.scrolled.add(this.webview);
this.win.page_manager.add(this.scrolled);
-
- // Add an upper bound on how long the app runs, in case app.quit() does
- // not get called
- GLib.timeout_add_seconds(GLib.PRIORITY_HIGH, 5, Lang.bind(this, function() {
- this.quit();
- }));
}
});