Commit c7d38a3a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

restored try-catch in the i/o test

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