yql.js revision a84da2b5e3085afeeba88cd36ade0485890b31d3
var template = {
name: 'YQL Test',
setUp : function() {
},
tearDown : function() {
},
test_load: function() {
},
test_query: function() {
var returnedQuery;
Y.YQL('select * from weather.forecast where location=62896', function(r) {
returnedQuery = r;
});
var wait = function() {
};
},
test_failed: function() {
var returnedQuery;
Y.YQL('select * from weatherFOO.forecast where location=62896', function(r) {
returnedQuery = r;
});
var wait = function() {
};
},
test_escaped: function() {
var returnedQuery;
Y.YQL("select * from html where url = \"http://instantwatcher.com/genres/506\" and xpath='//div[@id=\"titles\"]/ul/li/a'", function(r) {
returnedQuery = r;
});
var wait = function() {
};
}
};
});