Commit 124bddd0 authored by finetjul's avatar finetjul

BUG: Fix qMRMLDisplayNodeViewComboBoxTest

The cleanup() method can't delete the scene in the testResetScene() case

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21587 3bd1e089-480b-0410-8dfb-8563597acbee
parent cf8212ba
......@@ -173,8 +173,10 @@ void qMRMLDisplayNodeViewComboBoxTester::testAddNode()
// ----------------------------------------------------------------------------
void qMRMLDisplayNodeViewComboBoxTester::testResetScene()
{
vtkMRMLScene* scene = this->ComboBox->mrmlScene();
this->ComboBox->setMRMLScene(0);
QCOMPARE(this->ComboBox->checkedViewNodes().count(), 0);
scene->Delete();
}
// ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment