name: "DataSource Caching Tests",
setUp: function () {
},
testCacheDefaultMax: function() {
},
testCacheInitMax: function() {
},
testCacheSetMax: function() {
},
testLocalCache: function() {
var cached;
this.ds.sendRequest({
request: "a",
callback: {
success: function (e) {
}
}
});
},
testLocalCacheUnplug: function() {
var cached;
this.ds.sendRequest({
request: "a",
callback: {
success: function (e) {
}
}
});
this.ds.sendRequest({
request: "a",
callback: {
success: function (e) {
}
}
});
},
"cache retrieval should not overwrite callback": function () {
this.ds.sendRequest({
request: "a",
callback: {
success: function (e) {
callbackA = true;
}
}
});
this.ds.sendRequest({
request: "a",
callback: {
success: function (e) {
callbackB = true;
}
}
});
}
}));