Skip to content
Snippets Groups Projects
Commit acc12c05 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

ENH: Add instanciation testing for otb::Sytem class (for Coverage)

parent a77633c8
Branches
Tags
No related merge requests found
......@@ -34,6 +34,12 @@ int otbSystemTest( int argc, char* argv[] )
const char * inputDirName = argv[2];
itk::OStringStream msg;
// Check instanciation test
otb::System * var(NULL);
var = new otb::System();
delete var;
var = NULL;
if ( otb::System::IsAFileName( inputFileName ) == false )
{
itkGenericExceptionMacro( <<"System::IsAFileName() error : the filename "<<inputFileName<<" is not detected.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment