restored try-catch in the i/o test
authorVadim Pisarevsky <no@email>
Tue, 3 Apr 2012 13:05:16 +0000 (13:05 +0000)
committerVadim Pisarevsky <no@email>
Tue, 3 Apr 2012 13:05:16 +0000 (13:05 +0000)
modules/core/test/test_io.cpp

index a380a60..9a79e07 100644 (file)
@@ -386,7 +386,7 @@ public:
 protected:
     void run(int)
     {
-        //try
+        try
         {
             FileStorage fs("test.xml", FileStorage::WRITE);
             vector<int> mi, mi2, mi3, mi4;
@@ -412,10 +412,10 @@ protected:
             double n = norm(mv3[0], mv4[0], CV_C);
             CV_Assert( n == 0 );
         }
-        /*catch(...)
+        catch(...)
         {
             ts->set_failed_test_info(cvtest::TS::FAIL_MISMATCH);
-        }*/
+        }
     }
 };