Comment 1 for bug 1040606

Revision history for this message
Matt Jones (workhorsy) wrote :

unittest {
    describe("thing",
        it("crash test suite", function() {
            set_timeout(function() {
                assert(false);
            }, 0.0f);
        })
    );
}

If you look at this code. You can see that what we need is two things. Firstly a way to flush all events inside the "it" function. Secondly a way to catch any exceptions throw from callbacks, and pass them to the "it" functions.