// Auto generated by Testing Dashboard
// File        : scripts/Block/AddBlock/Tests/AddBlockTest00.js
// Timestamp   : 2015-04-20 16:38:57
// Description : 

include('scripts/Developer/TestingDashboard/TdbTest.js');

function AddBlockTest00() {
    TdbTest.call(this, 'scripts/Block/AddBlock/Tests/AddBlockTest00.js');
}

AddBlockTest00.prototype = new TdbTest();

AddBlockTest00.prototype.test00 = function() {
    qDebug('running AddBlockTest00.test00()...');
    this.setUp();
    this.dlgStart();
    this.dlgAppendCode('var map = new MapCompat()');
    this.dlgAppendCode("map.put('DialogOpenedByTdb/BlockName', 'block 1')");
    this.dlgAppendCode("WidgetFactory.restoreState(dialog, 'DialogOpenedByTdb', undefined, false, undefined, map)");
    this.dlgEnd();
    TdbTest.clickOnWidget('MainWindow::BlockListDock::BlockListWidget::AddBlock');
    this.verifyDrawing('AddBlockTest00_000.dxf');
    this.tearDown();
    qDebug('finished AddBlockTest00.test00()');
};

