diff --git a/tests/ut/cpp/dataset/bounding_box_augment_op_test.cc b/tests/ut/cpp/dataset/bounding_box_augment_op_test.cc index dc59d39facf6b7e14c791842447e8ba1fe9e77ce..ff03481ce5d43584138a9de68ccade8aa9da4eb8 100644 --- a/tests/ut/cpp/dataset/bounding_box_augment_op_test.cc +++ b/tests/ut/cpp/dataset/bounding_box_augment_op_test.cc @@ -24,7 +24,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "BoundingBoxAugmentOp"; +const char kOpName[] = "bounding_box_augment_op"; class MindDataTestBoundingBoxAugmentOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/common/bboxop_common.cc b/tests/ut/cpp/dataset/common/bboxop_common.cc index b16c4c0615211a1f33c4e8f2a8901986cb577b8c..a8be551ba77c7ecc53df09996edfaa40a6b93a92 100644 --- a/tests/ut/cpp/dataset/common/bboxop_common.cc +++ b/tests/ut/cpp/dataset/common/bboxop_common.cc @@ -39,7 +39,7 @@ using tinyxml2::XMLError; const char kAnnotationsFolder[] = "/Annotations/"; const char kImagesFolder[] = "/JPEGImages/"; -const char kExpectedName[] = "Expected"; +const char kExpectedName[] = "apple_expect_"; const char kActualName[] = "Actual"; const char kAnnotExt[] = ".xml"; const char kImageExt[] = ".jpg"; diff --git a/tests/ut/cpp/dataset/random_crop_and_resize_with_bbox_op_test.cc b/tests/ut/cpp/dataset/random_crop_and_resize_with_bbox_op_test.cc index 4efdcb8b786f11b1617f7691a54b714d3dfd229a..b30184d1d26841e014c8982ee415a74aa4498433 100644 --- a/tests/ut/cpp/dataset/random_crop_and_resize_with_bbox_op_test.cc +++ b/tests/ut/cpp/dataset/random_crop_and_resize_with_bbox_op_test.cc @@ -26,7 +26,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "RandomResizedCropWithBBox_C"; +const char kOpName[] = "random_resized_crop_with_bbox_c"; class MindDataTestRandomCropAndResizeWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/random_crop_with_bbox_op_test.cc b/tests/ut/cpp/dataset/random_crop_with_bbox_op_test.cc index b3b46f09ecef2d17b2b8962cf4de9bb6296c23de..50212ac76d6782fa6089e1a52c46ce6510781576 100644 --- a/tests/ut/cpp/dataset/random_crop_with_bbox_op_test.cc +++ b/tests/ut/cpp/dataset/random_crop_with_bbox_op_test.cc @@ -27,7 +27,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "RandomCropWithBBox_C"; +const char kOpName[] = "random_crop_with_bbox_c"; class MindDataTestRandomCropWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/random_horizontal_flip_with_bbox_test.cc b/tests/ut/cpp/dataset/random_horizontal_flip_with_bbox_test.cc index ed4e866478cd4554906e595a1952882a1455e84a..0dbfbf1ed552be80dc668fc012e435f0689b8265 100644 --- a/tests/ut/cpp/dataset/random_horizontal_flip_with_bbox_test.cc +++ b/tests/ut/cpp/dataset/random_horizontal_flip_with_bbox_test.cc @@ -23,7 +23,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::LogStream; const bool kSaveExpected = false; -const char kOpName[] = "RandomHorizontalFlipWithBBox"; +const char kOpName[] = "random_horizontal_flip_with_bbox_c"; class MindDataTestRandomHorizontalFlipWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/random_resize_with_bbox_op_test.cc b/tests/ut/cpp/dataset/random_resize_with_bbox_op_test.cc index e106f57375f2c6ba290787c3443d0828f3212ae0..98defca48632e4d7abec36151843e1968eb13b5e 100644 --- a/tests/ut/cpp/dataset/random_resize_with_bbox_op_test.cc +++ b/tests/ut/cpp/dataset/random_resize_with_bbox_op_test.cc @@ -27,7 +27,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "RandomResizeWithBBox_C"; +const char kOpName[] = "random_resize_with_bbox_c"; class MindDataTestRandomResizeWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/random_vertical_flip_with_bbox_op_test.cc b/tests/ut/cpp/dataset/random_vertical_flip_with_bbox_op_test.cc index d1946ef700f8fc8655b27cafd7af434b84d03bfe..605daec7f8df7c03a27a4b2c34a8bf69b7b0b408 100644 --- a/tests/ut/cpp/dataset/random_vertical_flip_with_bbox_op_test.cc +++ b/tests/ut/cpp/dataset/random_vertical_flip_with_bbox_op_test.cc @@ -24,7 +24,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "RandomVerticalFlipWithBBox_C"; +const char kOpName[] = "random_vertical_flip_with_bbox_c"; class MindDataTestRandomVerticalFlipWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/cpp/dataset/resize_with_bbox_op_test.cc b/tests/ut/cpp/dataset/resize_with_bbox_op_test.cc index f9eaf85a550e8c5c961063e5d882206b5a4f7562..81baa2d9d49f2c4d3943d6044a9d69e0e518c62c 100644 --- a/tests/ut/cpp/dataset/resize_with_bbox_op_test.cc +++ b/tests/ut/cpp/dataset/resize_with_bbox_op_test.cc @@ -24,7 +24,7 @@ using mindspore::ExceptionType::NoExceptionType; using mindspore::MsLogLevel::INFO; const bool kSaveExpected = false; -const char kOpName[] = "ResizeWithBBox_C"; +const char kOpName[] = "resize_with_bbox_c"; class MindDataTestResizeWithBBoxOp : public UT::CVOP::BBOXOP::BBoxOpCommon { protected: diff --git a/tests/ut/data/dataset/imagefolder/ExpectedBoundingBoxAugmentOp0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_bounding_box_augment_op0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedBoundingBoxAugmentOp0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_bounding_box_augment_op0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedRandomCropWithBBox_C0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_random_crop_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedRandomCropWithBBox_C0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_random_crop_with_bbox_c0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedRandomHorizontalFlipWithBBox0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_random_horizontal_flip_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedRandomHorizontalFlipWithBBox0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_random_horizontal_flip_with_bbox_c0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedRandomResizeWithBBox_C0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_random_resize_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedRandomResizeWithBBox_C0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_random_resize_with_bbox_c0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedRandomResizedCropWithBBox_C0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_random_resized_crop_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedRandomResizedCropWithBBox_C0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_random_resized_crop_with_bbox_c0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedRandomVerticalFlipWithBBox_C0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_random_vertical_flip_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedRandomVerticalFlipWithBBox_C0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_random_vertical_flip_with_bbox_c0.jpg diff --git a/tests/ut/data/dataset/imagefolder/ExpectedResizeWithBBox_C0.jpg b/tests/ut/data/dataset/imagefolder/apple_expect_resize_with_bbox_c0.jpg similarity index 100% rename from tests/ut/data/dataset/imagefolder/ExpectedResizeWithBBox_C0.jpg rename to tests/ut/data/dataset/imagefolder/apple_expect_resize_with_bbox_c0.jpg