{"size": 571, "ext": "js", "max_stars_repo_path": "drillbit/tests/yahoo.js", "max_stars_repo_name": "yuni/titanium_mobile", "max_stars_repo_stars_event_min_datetime": "2018-03-02T15:24:54.000Z", "max_stars_repo_stars_event_max_datetime": "2018-03-02T15:24:54.000Z", "max_issues_repo_path": "drillbit/tests/yahoo.js", "max_issues_repo_name": "yuni/titanium_mobile", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "drillbit/tests/yahoo.js", "max_forks_repo_name": "yuni/titanium_mobile", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8260869565, "max_line_length": 104, "alphanum_fraction": 0.6094570928}
describe("Ti.Yahoo tests", {
	yqlFlickrCats: asyncTest({
		start: function() {
			Ti.Yahoo.yql('select * from flickr.photos.search where text="Cat" limit 10', this.async(function(e) {
				if (e.error) {
					throw e.error;
				}
				
				var data = e.data;
				valueOf(data).shouldNotBeNull();
				valueOf(data.photo).shouldNotBeNull();
				valueOf(data.photo.length).shouldBe(10);
				
				for (var i = 0; i < 10; i++) {
					valueOf(data.photo[i].id).shouldBeString();
				}
			}));
		},
		
		timeout: 10000,
		timeoutError: "Timed out waiting for YQL response"
	})
});