var TestDirectX = function(name) {
    this._initialize(name);
}

extend(TestDirectX.prototype, new BaseTest(), {
    start : function() {
        if(this.testDirectX()) {
            try {
                if(!this.getVerifierApplet().testDirectX())
                    return this.notifyFailure("CHECKDIRECTX", "EXCEPTION", {});

                return this.notifySuccess() // no exception, we assume success
            } catch (e) {
                return this.notifyFailure("CHECKDIRECTX", "EXCEPTION", {exception: e});
            }
        } else {
            return this.notifySuccess(null, {skiped: true}) // no directx to test
        }

    }
})