LivelyKernel/LivelyKernel — pull request #103 by levjj (2013-02-04 20:33:31+00:00)
Title: Added conditional waiting support for asyncronous tests

Example usage:

```javascript
AsyncTestCase.subclass('DragonTest', {
testSlaysDragon: function() {
var dragonAlive = true;
var siegfried = function() { dragonAlive = false; };
this.delay(siegfried, Math.random() * 42);
this.waitFor(
function() { return !dragonAlive; }, // guard funtion
10, // interval
function() { this.done(); }); // callback
}
});
```