// Auto generated by Testing Dashboard
// File        : scripts/Edit/ConvertUnit/Tests/ConvertUnitTest00.js
// Timestamp   : 2021-12-06 10:14:19
// Description : 

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

function ConvertUnitTest00() {
    TdbTest.call(this, 'scripts/Edit/ConvertUnit/Tests/ConvertUnitTest00.js');
}

ConvertUnitTest00.prototype = new TdbTest();

ConvertUnitTest00.prototype.test00 = function() {
    qDebug('running ConvertUnitTest00.test00()...');
    this.setUp();
    this.importFile('scripts/Edit/ConvertUnit/Tests/data/30x30mm.dxf');
    this.triggerCommand('convertunit');
    this.setToolOption('ConvertUnit/From', '4');
    this.setToolOption('ConvertUnit/To', '1');
    this.updateToolOptions();
    TdbTest.clickOnWidget('MainWindow::Convert');
    this.verifyDrawing('ConvertUnitTest00_000.dxf');
    this.tearDown();
    qDebug('finished ConvertUnitTest00.test00()');
};

