From a722edfefcb440bf37d80044a5d9147d5096645e Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Tue, 3 Jan 2017 17:58:15 +0100
Subject: [PATCH] TEST: fix ListViewParameter settings

---
 Modules/Applications/AppTest/app/otbTestApplication.cxx | 4 ++--
 Modules/Applications/AppTest/test/CMakeLists.txt        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Modules/Applications/AppTest/app/otbTestApplication.cxx b/Modules/Applications/AppTest/app/otbTestApplication.cxx
index defc59c70a..314f244e70 100644
--- a/Modules/Applications/AppTest/app/otbTestApplication.cxx
+++ b/Modules/Applications/AppTest/app/otbTestApplication.cxx
@@ -87,8 +87,8 @@ private:
     MandatoryOff("il");
 
     AddParameter(ParameterType_ListView,  "cl", "Output Image channels");
-    AddChoice("cl.choice1", "cl.choice1");
-    AddChoice("cl.choice2", "cl.choice2");
+    AddChoice("cl.choice1", "Choice1");
+    AddChoice("cl.choice2", "Choice2");
     MandatoryOff("cl");
 
     AddParameter(ParameterType_ComplexInputImage,  "cin", "Input Complex Image");
diff --git a/Modules/Applications/AppTest/test/CMakeLists.txt b/Modules/Applications/AppTest/test/CMakeLists.txt
index 62bd8e7135..2ceb068dec 100644
--- a/Modules/Applications/AppTest/test/CMakeLists.txt
+++ b/Modules/Applications/AppTest/test/CMakeLists.txt
@@ -26,7 +26,7 @@ otb_test_application(NAME apTvTestApplicationOutputXML_All
           -ingroup.integer 4
           -outgroup.outputimage ${TEMP}/foo.tif double
           -il ${INPUTDATA}/anaglyphInput1.tif ${INPUTDATA}/anaglyphInput2.tif
-          -cl choice2
+          -cl Choice2
           -cin ${INPUTDATA}/RADARSAT2_ALTONA_300_300_VV.tif
           -cout ${TEMP}/fooCplx.tif
           -outxml ${TEMP}/apTvTestApplicationOutputXML_All.xml
-- 
GitLab