From c7d38a3aab8872586fd072115e4a443b6c5e984e Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 3 Apr 2012 13:05:16 +0000 Subject: [PATCH] restored try-catch in the i/o test --- modules/core/test/test_io.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/test/test_io.cpp b/modules/core/test/test_io.cpp index a380a60..9a79e07 100644 --- a/modules/core/test/test_io.cpp +++ b/modules/core/test/test_io.cpp @@ -386,7 +386,7 @@ public: protected: void run(int) { - //try + try { FileStorage fs("test.xml", FileStorage::WRITE); vector 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); - }*/ + } } }; -- 2.7.4