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

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

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

SnapIntersectionTest03.prototype = new TdbTest();

SnapIntersectionTest03.prototype.test00 = function() {
    qDebug('running SnapIntersectionTest03.test00()...');
    this.setUp();
    this.importFile('scripts/Snap/SnapIntersection/Tests/data/polyline.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.82912, 22.52294);
    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.78324, 25.675562);
    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(14.512172, 27.026685);
    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(25.095974, 26.801498);
    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);
    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.416199, 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(53.019195, 26.125936);
    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.900749, 27.47706);
    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.140918, 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(86.121723, 27.251873);
    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.155899, 26.351124);
    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.587079, 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(112.919007, 22.748127);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.LeftButton, 1, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.LeftButton, 0, 0);
    var p = new RVector(78.014981, 37.835674);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.RightButton, 2, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.RightButton, 0, 0);
    var p = new RVector(78.91573, 39.637172);
    this.sendMouseEventModelPos(QEvent.MouseButtonPress, p, Qt.RightButton, 2, 0);
    this.sendMouseEventModelPos(QEvent.MouseButtonRelease, p, Qt.RightButton, 0, 0);
    this.verifyDrawing('SnapIntersectionTest03_000.dxf');
    this.tearDown();
    qDebug('finished SnapIntersectionTest03.test00()');
};

