// Auto generated by Testing Dashboard
// File        : scripts/Modify/BreakOut/Tests/BreakOutTest17.js
// Timestamp   : 2021-05-15 16:12:08
// Description : 

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

function BreakOutTest17() {
    TdbTest.call(this, 'scripts/Modify/BreakOut/Tests/BreakOutTest17.js');
}

BreakOutTest17.prototype = new TdbTest();

BreakOutTest17.prototype.test00 = function() {
    qDebug('running BreakOutTest17.test00()...');
    this.setUp();
    this.importFile('scripts/Modify/BreakOut/Tests/data/full_circle_line.dxf');
    TdbTest.clickOnWidget('MainWindow::CadToolBar::MainToolsPanel::ModifyToolsPanelButton');
    TdbTest.clickOnWidget('MainWindow::CadToolBar::ModifyToolsPanel::BreakOutProButton');
    this.setToolOption('BreakOutPro/RemoveSegment', 'true');
    this.setToolOption('BreakOutPro/LineMode', 'false');
    this.updateToolOptions();
    this.setZoom(20.571428571428573, new RVector(-1.8055555555555571,-19.65972222222222));
    var p = new RVector(22.805556, 32.152778);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.verifyDrawing('BreakOutTest17_000.dxf');
    this.tearDown();
    qDebug('finished BreakOutTest17.test00()');
};

