ObjectAssert = Y.ObjectAssert,
jsonData = '{"ResultSet":{"Result":[{"Title":"Madonna"}]}}';
name: "DataSource.IO Tests",
testConstructorIO: function() {
},
testIODefaults: function() {
}, config["arguments"]);
return id;
}
}),
request: null,
callback: {
success: function (e) {
}
}
});
},
testIOConfig: function() {
var ioCallback, failureCallback,
source: "x",
ioConfig: {
method: "POST",
data: "foo=bar",
timeout: 1
},
ioCallback = true;
}, config["arguments"]);
}
});
request: null,
callback: {
failure: function (e) {
tId: null,
request: null,
data: null,
response: null,
callback: null
}, e, "Expected all properties.");
failureCallback = true;
}
}
});
},
testIOPost: function() {
var ioCallback, successCallback,
ioCallback = true;
}, config["arguments"]);
}
});
callback: {
success: function (e) {
tId: null,
request: null,
data: null,
response: null,
callback: null
}, e, "Expected all properties.");
successCallback = true;
}
},
cfg: {
method: "POST",
data: "foo=bar"
}
});
},
testIOEvents: function() {
ioCallback = true;
}, config["arguments"]);
}
});
schema: {
resultListLocator: "ResultSet.Result",
resultFields: ["Title"]
}
});
requestCallback = true;
});
dataCallback = true;
});
responseCallback = true;
});
callback: "callback"
});
},
testIOError: function() {
}, config["arguments"]);
}
}),
schema: {
resultListLocator: "ResultSet.Result",
resultFields: ["Title"]
}
});
errorCallback = true;
});
request: "a",
callback: "callback"
});
}
}));