Nickolay - Test.Run-0.10

Documentation | Source
Class('Test.Run.Test.Todo', {
    
    isa         : Test.Run.Test,
    
    
    have : {
        parent              : null
    },
    
    
    methods : {
        
        addResult : function (result) {
            if (result instanceof Test.Run.Result.Assertion) result.isTodo = true
            
            this.parent.addResult(result)
        },
        
        
        beginAsync : function (time) {
            return this.parent.beginAsync(time)
        },
        
        
        endAsync : function (index) {
            return this.parent.endAsync(index)
        }
        
    }
        
})
//eof Test.Run.Test