X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FVTKTestRead.cxx;h=90f677b61774c8f4194e06768cf018cc7bb046d8;hb=d9f8b4b69e332d38e9c883ba60f40dc858883de9;hp=186afda0caedc9b23db178bc32a07c3d51fe1535;hpb=17a6bc13cc65fdb63733cf1b56dd95a1c1626e5e;p=gdcm.git diff --git a/Testing/VTKTestRead.cxx b/Testing/VTKTestRead.cxx index 186afda0..90f677b6 100644 --- a/Testing/VTKTestRead.cxx +++ b/Testing/VTKTestRead.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: VTKTestRead.cxx,v $ Language: C++ - Date: $Date: 2005/11/21 10:06:47 $ - Version: $Revision: 1.13 $ + Date: $Date: 2007/09/18 07:58:38 $ + Version: $Revision: 1.15 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,6 +27,7 @@ #include "vtkPNGWriter.h" #include +#include //Generated file: #include "gdcmDataImages.h" @@ -147,7 +148,7 @@ int VTKReadTest(vtkTesting *t,vtkImageViewer *viewer, //---------------------------------------------------------------------- // make test - ostrstream str; + std::ostringstream str; retVal = t->RegressionTest(image,0.0,str); image->UnRegister(NULL); @@ -155,7 +156,6 @@ int VTKReadTest(vtkTesting *t,vtkImageViewer *viewer, { std::cerr << str.str(); } - str.rdbuf()->freeze(1); if( retVal == vtkTesting::PASSED ) { @@ -205,7 +205,7 @@ int VTKTestRead(int argc, char *argv[]) return ret; } - gdcm::Debug::DebugOn(); // Comment out when no bug is to be tracked + //gdcm::Debug::DebugOn(); // Comment out when no bug is to be tracked // Test for all images int i = 0;