events-tests.js revision 038c85d1f8981a1d1479152b76a7c47ff219417d
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++) {
}
};
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);
}
}));
});