[Pkg-javascript-commits] [dojo] 03/05: fixes #17968, remove failing jsonp rpc test due to yahoo search API service no longer being available
David Prévot
taffit at moszumanska.debian.org
Tue Dec 9 17:50:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.6.3
in repository dojo.
commit 7f50348f018a779faa8d2ac0e0d1ecadea58493f
Author: dylans <dylan at dojotoolkit.org>
Date: Fri May 9 16:29:24 2014 -0700
fixes #17968, remove failing jsonp rpc test due to yahoo search API service no longer being available
(cherry picked from commit 787848c1ca998a053260b55dd744c884f37a4ebb)
Conflicts:
tests/rpc.js
---
tests/rpc.js | 34 ----------------------------------
1 file changed, 34 deletions(-)
diff --git a/tests/rpc.js b/tests/rpc.js
index 0336b36..ccebcbc 100644
--- a/tests/rpc.js
+++ b/tests/rpc.js
@@ -106,40 +106,6 @@ doh.register("tests.rpc",
return new Error("Error loading and/or parsing an smd file");
}
}
- },
-
- {
- name: "JsonP_test",
- timeout: 10000,
- setUp: function(){
- this.svc = new dojo.rpc.JsonpService(dojo.moduleUrl("dojo.tests.resources","yahoo_smd_v1.smd"), {appid: "foo"});
- },
- runTest: function(){
- var d = new doh.Deferred();
-
- if (window.location.protocol=="file:") {
- var err= new Error("This Test requires a webserver and will fail intentionally if loaded from file://");
- d.errback(err);
- return d;
- }
-
- var td = this.svc.webSearch({query:"dojotoolkit"});
-
- td.addCallbacks(function(result){
- return true;
- if (result["ResultSet"]["Result"][0]["DisplayUrl"]=="dojotoolkit.org/") {
- return true;
- }else{
- return new Error("JsonRpc_SMD_Loading_Test failed, resultant content didn't match");
- }
- }, function(result){
- return new Error(result);
- });
-
- td.addBoth(d, "callback");
-
- return d;
- }
}
]
);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list