mv_machine_learning: rename test cases for face recognition
authorInki Dae <inki.dae@samsung.com>
Tue, 9 Aug 2022 08:15:17 +0000 (17:15 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 2 Sep 2022 08:09:25 +0000 (17:09 +0900)
[Issue type] : code cleanup

Renamed the test case names just for cleanup.

Change-Id: I446963fcc5f2b2d7fa81896d380f963cd7fbb409
Signed-off-by: Inki Dae <inki.dae@samsung.com>
test/testsuites/machine_learning/face_recognition/test_face_recognition.cpp

index 8a0261d..f1be72d 100644 (file)
@@ -77,7 +77,7 @@ static void RemoveModelResources(void)
        remove(FV_FILE_PATH);
 }
 
-TEST(FaceRecognitionTest, FaceRecognitionSimpleTest)
+TEST(FaceRecognitionTest, CreateAndDestroyShouldBeOk)
 {
        mv_face_recognition_h handle;
 
@@ -88,7 +88,7 @@ TEST(FaceRecognitionTest, FaceRecognitionSimpleTest)
        ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
 }
 
-TEST(FaceRecognitionTest, FaceRecognitionClassShouldBeOk)
+TEST(FaceRecognitionTest, InferenceAfterTrainingShouldBeOk)
 {
        mv_face_recognition_h handle;
        vector<string> answers = {
@@ -160,7 +160,7 @@ TEST(FaceRecognitionTest, FaceRecognitionClassShouldBeOk)
        RemoveModelResources();
 }
 
-TEST(FaceRecognitionTest, NoLabelShouldBeOk)
+TEST(FaceRecognitionTest, InferenceWithoutLabelShouldBeOk)
 {
        mv_face_recognition_h handle;
 
@@ -196,7 +196,7 @@ TEST(FaceRecognitionTest, NoLabelShouldBeOk)
        ASSERT_EQ(ret, MEDIA_VISION_ERROR_NONE);
 }
 
-TEST(FaceRecognitionTest, FaceRecognitionClassWithEachLabelRemovalShouldBeOk)
+TEST(FaceRecognitionTest, LabelRemovalShouldBeOk)
 {
        vector<string> labels = { "3448", "2929", "7779" };
        vector<vector<string>> answers = {