Slicer: 2145-support-for-installing-extension-from-file 3fc0d33a

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-10-03 16:25:21 2145-support-for-installing-extension-from-file 66bfbbfa
Changeset

BUG: Fix vtkMRMLModelHierarchyNodeTest1

Since calling GetID() on a newly instantiated node is expected to
return NULL and that attempting to print a NULL string on windows
results in a crash. The test was failing only on windows.

This commit remove the print statement in the test and also add test
test for GetID and GetNodeTagName to EXERCISE_BASIC_MRML_METHODS so that
the default value for every node is verified.

Since there is already a test printing the value if it fails, also
remove extra debug statement printing the number of children in
the hierarchy node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22586 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Core/Testing/vtkMRMLModelHierarchyNodeTest1.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLCoreTestingMacros.h Diff File