events-tests.js revision 0a7df5b558190d35dd32d49c8ccdb9dadc7d0529
name: 'Transaction flow test',
testSuccess: function() {
var actual = [], t = this;
this.compare = function() {
for (var i=0; i < 4; i++) {
}
};
on: {
start: function() {
},
complete: function() {
},
success: function() {
},
end: function() {
}
}
});
this.wait(null, 1000);
},
test404Failure: function() {
var actual = [], t = this;
this.compare = function() {
for (var i=0; i < 4; i++) {
}
};
Y.io('404.html', {
on: {
start: function() {
},
complete: function() {
},
failure: function() {
},
end: function() {
}
}
});
this.wait(null, 1000);
},
test500Failure: function() {
var actual = [], t = this;
this.compare = function() {
for (var i=0; i < 4; i++) {
}
};
on: {
start: function() {
},
},
},
end: function() {
}
}
});
this.wait(null, 1000);
},
testHttpException: function() {
var actual = [], t = this;
this.compare = function() {
for (var i=0; i < 4; i++) {
}
};
on: {
start: function() {
},
complete: function() {
},
},
end: function() {
}
}
});
this.wait(null, 1000);
},
test304: function() {
var actual = [], t = this;
this.compare = function() {
for (var i=0; i < 3; i++) {
}
};
on: {
start: function() {
},
complete: function() {
},
end: function() {
}
}
});
this.wait(null, 1000);
}
}));
});