Commit 45253cd0 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

TEST:change bool lRead to lWrite for kmlTestCanRead

parent 9825a725
......@@ -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;
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