// Auto generated by Testing Dashboard
// File        : scripts/Snap/SnapIntersection/Tests/SnapIntersectionTest04.js
// Timestamp   : 2016-02-09 21:20:20
// Description : 

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

function SnapIntersectionTest04() {
    TdbTest.call(this, 'scripts/Snap/SnapIntersection/Tests/SnapIntersectionTest04.js');
}

SnapIntersectionTest04.prototype = new TdbTest();

SnapIntersectionTest04.prototype.test00 = function() {
    qDebug('running SnapIntersectionTest04.test00()...');
    this.setUp();
    this.importFile('scripts/Snap/SnapIntersection/Tests/data/spline.dxf');
    TdbTest.clickOnWidget('MainWindow::CadQToolBar::CadToolBar::MainToolsPanel::PointToolsPanelButton');
    TdbTest.clickOnWidget('MainWindow::CadQToolBar::CadToolBar::PointToolsPanel::Point1PButton');
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(4.153558, 22.973315);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(9.558052, 23.874064);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(13.386236, 25);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(24.420412, 25.900749);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(29.599719, 25.450375);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(49.866573, 25.450375);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(52.343633, 25.450375);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(60, 25.900749);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(79.366105, 25);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(85.671348, 24.774813);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(97.381086, 23.198502);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(104.136704, 21.847378);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    this.setZoom(4.4407484407484406, new RVector(5.75468, 24.7664, 0, true));
    var p = new RVector(114.270131, 20.721442);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    var p = new RVector(96.25515, 0.454588);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.RightButton, 2, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.RightButton, 0, 0);
    var p = new RVector(94.003277, 0.679775);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.RightButton, 2, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.RightButton, 0, 0);
    var p = new RVector(92.426966, -0.446161);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.RightButton, 2, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.RightButton, 0, 0);
    this.verifyDrawing('SnapIntersectionTest04_000.dxf');
    this.tearDown();
    qDebug('finished SnapIntersectionTest04.test00()');
};

