projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e15557
)
restored try-catch in the i/o test
author
Vadim Pisarevsky
<no@email>
Tue, 3 Apr 2012 13:05:16 +0000
(13:05 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 3 Apr 2012 13:05:16 +0000
(13:05 +0000)
modules/core/test/test_io.cpp
patch
|
blob
|
history
diff --git
a/modules/core/test/test_io.cpp
b/modules/core/test/test_io.cpp
index
a380a60
..
9a79e07
100644
(file)
--- 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<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);
- }
*/
+ }
}
};