Skip to content
Snippets Groups Projects
Commit 45253cd0 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

TEST:change bool lRead to lWrite for kmlTestCanRead

parent 9825a725
Branches
Tags
No related merge requests found
......@@ -25,8 +25,8 @@ int otbKMLVectorDataIOTestCanWrite(int argc, char* argv[])
typedef otb::VectorData<> VectorDataType;
typedef otb::KMLVectorDataIO<VectorDataType> KMLVectorDataIOType;
KMLVectorDataIOType::Pointer object = KMLVectorDataIOType::New();
bool lCanRead = object->CanWriteFile(argv[1]);
if ( lCanRead == false)
bool lCanWrite = object->CanWriteFile(argv[1]);
if ( lCanWrite == false)
{
std::cerr << "Erreur otb::KMLVectorDataIO : impossible to create the file "<<argv[1]<<"."<<std::endl;
return EXIT_FAILURE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment