[NUI] Fix build error of Devel.NUI.Tests
authorguowei.wang <guowei.wang@samsung.com>
Wed, 7 Jul 2021 07:51:37 +0000 (15:51 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 9 Jul 2021 10:39:50 +0000 (19:39 +0900)
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/Application/TSApplication.cs
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/Application/TSComponentApplication.cs

index 8363cb3..df3d12c 100755 (executable)
@@ -690,32 +690,6 @@ namespace Tizen.NUI.Devel.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Application AddResourceChangedCallback.")]
-        [Property("SPEC", "Tizen.NUI.Application.AddResourceChangedCallback A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRO")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void ApplicationAddResourceChangedCallback()
-        {
-            tlog.Debug(tag, $"ApplicationAddResourceChangedCallback START");
-
-            try
-            {
-                Application.AddResourceChangedCallback(new ImageView() as object, AddResourceChangedCallback);      
-            }
-            catch (Exception e)
-            {
-                tlog.Debug(tag, e.Message.ToString());
-                Assert.Fail("Caught Exception: Failed!");
-            }
-
-            tlog.Debug(tag, $"ApplicationAddResourceChangedCallback END (OK)");
-        }
-
-        private void AddResourceChangedCallback(object sender, ResourcesChangedEventArgs e) { }
-
-        [Test]
-        [Category("P1")]
         [Description("Application Paused.")]
         [Property("SPEC", "Tizen.NUI.Application.Paused A")]
         [Property("SPEC_URL", "-")]
index be348b5..0c78d6b 100755 (executable)
@@ -142,6 +142,7 @@ namespace Tizen.NUI.Devel.Tests
             try
             {
                 testingTarget.OnDispose(DisposeTypes.Explicit);
+                testingTarget.OnDispose(DisposeTypes.Explicit);
             }
             catch (Exception e)
             {