#endif
#include <cppunit/TestAssert.h>
+#include <QApplication>
OCCViewer_ViewManager* TestViewer::myViewManager = 0;
OCCViewer_ViewFrame* TestViewer::myViewWindow = 0;
GS->Erase();
}
}
+ viewer()->setTrihedronShown( false );
+ qApp->processEvents();
}
void TestViewer::show( const Handle(AIS_InteractiveObject)& theObject,
if( !aNewKey.isEmpty() )
{
myKey = aNewKey;
- eraseAll( false );
+ eraseAll( false, true );
}
if( theSelectionMode > 0 )
QString anExpectedRefFilePath = REF_DATA_PATH;
anExpectedRefFilePath += "/" + theBaseName;
+#ifdef WIN32
QString anActualFilePath = QDir::tempPath() + "/" + theBaseName;
+#else
+ QString anActualFilePath = QDir::tempPath() + "/hydro/" + theBaseName;
+#endif
QFile anExpected( anExpectedRefFilePath );
QFile anActual( anActualFilePath );