create();
showShape();
TestViewer::viewWindow()->onTopView();
+ QTest::mouseMove( TestViewer::viewWindow() );
OCCViewer_ViewWindow* aMain = TestViewer::viewWindow()->getView( OCCViewer_ViewFrame::MAIN_VIEW );
OCCViewer_ViewPort3d* vp = aMain->getViewPort();
qApp->processEvents();
CPPUNIT_ASSERT_OVERVIEW( "overview_zoomed_1" );
- QTest::qWait( 50000 );
+ QTest::mouseMove( myOverview->getViewPort(false), QPoint( 150, 50 ) );
+ QTest::mouseClick( myOverview->getViewPort(false), Qt::LeftButton, Qt::KeyboardModifiers(), QPoint( 150, 50 ) );
+ qApp->processEvents();
+
+ CPPUNIT_ASSERT_OVERVIEW( "overview_drag" );
+
+ //QTest::qWait( 50000 );
}