diff --git a/Examples/Application/ApplicationExample.cxx b/Examples/Application/ApplicationExample.cxx index 07b5f19c3831a0236dfd2cd44596be8a085e54c1..c01c061b4c09df82f14c49f454925995bb2ff3da 100644 --- a/Examples/Application/ApplicationExample.cxx +++ b/Examples/Application/ApplicationExample.cxx @@ -56,7 +56,7 @@ namespace Wrapper // Software Guide : EndLatex // Software Guide : BeginCodeSnippet -class ExampleApplication : public Application +class ApplicationExample : public Application // Software Guide : EndCodeSnippet { public: @@ -66,7 +66,7 @@ public: // Software Guide : EndLatex // Software Guide : BeginCodeSnippet - typedef ExampleApplication Self; + typedef ApplicationExample Self; typedef Application Superclass; typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<const Self> ConstPointer; @@ -260,7 +260,7 @@ private: // Finally \code{OTB\_APPLICATION\_EXPORT} is called. // Software Guide : EndLatex // Software Guide :BeginCodeSnippet -OTB_APPLICATION_EXPORT(otb::Wrapper::ExampleApplication) +OTB_APPLICATION_EXPORT(otb::Wrapper::ApplicationExample) // Software Guide :EndCodeSnippet diff --git a/Examples/Application/test/CMakeLists.txt b/Examples/Application/test/CMakeLists.txt index 734afa7ca6100310aaf676cd040bc7fb9708fd37..30faf6c2d20bc3c78f76a0d55d41f8a52c213ef8 100644 --- a/Examples/Application/test/CMakeLists.txt +++ b/Examples/Application/test/CMakeLists.txt @@ -3,3 +3,5 @@ otb_test_application(NAME apTeGenerateAnApplicationExample APP ApplicationExample OPTIONS -in ${OTB_DATA_ROOT}/Examples/QB_Suburb.png -out ${TEMP}/apTeGenerateAnApplicationExampleOutput.png) + +set_tests_properties(apTeGenerateAnApplicationExample PROPERTIES DEPENDS otbapp_ApplicationExample)