mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2577 Test : Add test toolbar to launch unit tests and regression tests
This commit is contained in:
@@ -536,6 +536,15 @@ void RiuMainWindow::createToolBars()
|
||||
dsToolBar->addAction(m_showWellCellsAction);
|
||||
}
|
||||
|
||||
RiaApplication* app = RiaApplication::instance();
|
||||
if (app->preferences()->showTestToolbar())
|
||||
{
|
||||
QToolBar* toolbar = addToolBar(tr("Test"));
|
||||
toolbar->setObjectName(toolbar->windowTitle());
|
||||
toolbar->addAction(cmdFeatureMgr->action("RicLaunchUnitTestsFeature"));
|
||||
toolbar->addAction(cmdFeatureMgr->action("RicLaunchRegressionTestsFeature"));
|
||||
}
|
||||
|
||||
// Create animation toolbar
|
||||
m_animationToolBar = new caf::AnimationToolBar("Animation", this);
|
||||
addToolBar(m_animationToolBar);
|
||||
|
||||
Reference in New Issue
Block a user