[Non-ACR][MachineLearning] Remove a TC using TIZEN PPM API 73/288273/1
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 14 Feb 2023 09:20:50 +0000 (18:20 +0900)
committerYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 14 Feb 2023 09:20:50 +0000 (18:20 +0900)
- Remove a TC which uses PPM APIs - that will be deprecated since Tizen 7.5

REF:
https://mosaic.sec.samsung.net/kms/comty.do?comtyId=2305148&menuId=2305189&postId=2542952420&page=view&type=LIST

Change-Id: I27331ec4fbb703106b7e0ed1fc2a66c70f20c262
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
tct-suite-vs/Tizen.MachineLearning.Inference.Tests/testcase/TSPipeline.cs

index 846d8b0..4726730 100755 (executable)
@@ -213,47 +213,6 @@ namespace Tizen.MachineLearning.Inference.Tests {
         }
 
         [Test]
-        [Category("P2")]
-        [Description("Check InvalidOperationException when creating pipeline instance")]
-        [Property("SPEC", "Tizen.MachineLearning.Inference.Pipeline.Pipeline C")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "CONSTX")]
-        [Property("COVPARAM", "string")]
-        [Property("AUTHOR", "Gichan Jang, gichan2.jang@samsung.com")]
-        public void Pipeline_INIT_CHECK_UnauthorizedAccessException()
-        {
-            bool _isPrivacyPrivilegeSupported = false;
-            try
-            {
-                /* Check the privilege support */
-                Information.TryGetValue(PrivilegeFeatureKey, out _isPrivacyPrivilegeSupported);
-
-                string description = "tizencamvideosrc ! videoconvert ! videoscale ! video/x-raw,format=RGB,width=320,height=240 ! tensor_converter ! tensor_sink";
-
-                /* TEST CODE */
-                var pipeline_handle = new Pipeline(description);
-
-                Assert.True(false, "DO NOT COME HERE!");
-            }
-            catch (Exception e)
-            {
-                if (e is NotSupportedException)
-                {
-                    LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "NotSupportedException occurs");
-                    Assert.IsTrue(_isMachineLeanringInferenceSupported == false, "Invalid NotSupportedException");
-                }
-                else if (e is UnauthorizedAccessException)
-                {
-                    Assert.Pass("UnauthorizedAccessException: passed!");
-                }
-                else
-                {
-                    Assert.IsTrue(_isPrivacyPrivilegeSupported == false, e.Message);
-                }
-            }
-        }
-
-        [Test]
         [Category("P1")]
         [Description("Get the state of the pipeline and check exception")]
         [Property("SPEC", "Tizen.MachineLearning.Inference.Pipeline.State A")]