From a5c96d1da2436e044439866c2ee9c6fd79fda233 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 21 Feb 2015 09:41:57 +0100 Subject: [PATCH] COMP: fix test declaration after moving MachineLearningModel tests from SVMLearning to Supervised --- .../SVMLearning/test/otbSVMLearningTestDriver.cxx | 9 --------- .../Learning/Supervised/test/otbSupervisedTestDriver.cxx | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Modules/Learning/SVMLearning/test/otbSVMLearningTestDriver.cxx b/Modules/Learning/SVMLearning/test/otbSVMLearningTestDriver.cxx index 6aed4331cf..c29f732c71 100644 --- a/Modules/Learning/SVMLearning/test/otbSVMLearningTestDriver.cxx +++ b/Modules/Learning/SVMLearning/test/otbSVMLearningTestDriver.cxx @@ -18,15 +18,6 @@ void RegisterTests() REGISTER_TEST(otbSVMImageModelEstimatorTrainOneClass); REGISTER_TEST(otbSVMCrossValidationCostFunctionNew); REGISTER_TEST(otbSVMModelLoadSave); - REGISTER_TEST(otbLibSVMMachineLearningModelCanRead); - REGISTER_TEST(otbSVMMachineLearningModelCanRead); - REGISTER_TEST(otbRandomForestsMachineLearningModelCanRead); - REGISTER_TEST(otbBoostMachineLearningModelCanRead); - REGISTER_TEST(otbNeuralNetworkMachineLearningModelCanRead); - REGISTER_TEST(otbNormalBayesMachineLearningModelCanRead); - REGISTER_TEST(otbDecisionTreeMachineLearningModelCanRead); - REGISTER_TEST(otbGradientBoostedTreeMachineLearningModelCanRead); - REGISTER_TEST(otbKNNMachineLearningModelCanRead); REGISTER_TEST(otbSVMClassifierPointSet); REGISTER_TEST(otbSVMImageClassificationWithRuleFilterNew); REGISTER_TEST(otbSVMImageModelEstimatorTrain); diff --git a/Modules/Learning/Supervised/test/otbSupervisedTestDriver.cxx b/Modules/Learning/Supervised/test/otbSupervisedTestDriver.cxx index 0c4fa2511a..b9de86d89b 100644 --- a/Modules/Learning/Supervised/test/otbSupervisedTestDriver.cxx +++ b/Modules/Learning/Supervised/test/otbSupervisedTestDriver.cxx @@ -9,6 +9,15 @@ void RegisterTests() REGISTER_TEST(otbConfusionMatrixMeasurementsNew); REGISTER_TEST(otbConfusionMatrixMeasurementsTest); REGISTER_TEST(otbConfusionMatrixConcatenateTest); + REGISTER_TEST(otbLibSVMMachineLearningModelCanRead); + REGISTER_TEST(otbSVMMachineLearningModelCanRead); + REGISTER_TEST(otbRandomForestsMachineLearningModelCanRead); + REGISTER_TEST(otbBoostMachineLearningModelCanRead); + REGISTER_TEST(otbNeuralNetworkMachineLearningModelCanRead); + REGISTER_TEST(otbNormalBayesMachineLearningModelCanRead); + REGISTER_TEST(otbDecisionTreeMachineLearningModelCanRead); + REGISTER_TEST(otbGradientBoostedTreeMachineLearningModelCanRead); + REGISTER_TEST(otbKNNMachineLearningModelCanRead); REGISTER_TEST(otbLibSVMMachineLearningModelNew); REGISTER_TEST(otbLibSVMMachineLearningModel); REGISTER_TEST(otbSVMMachineLearningModelNew); -- GitLab