From: Jeonghyun Yun Date: Tue, 18 Feb 2020 00:47:32 +0000 (+0900) Subject: [ElmSharpWearable][Non-ACR] Modified to move the assert code in TC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b398445f38ee31e56187e0834b34958a28a25c9;p=test%2Ftct%2Fcsharp%2Fapi.git [ElmSharpWearable][Non-ACR] Modified to move the assert code in TC Change-Id: I732160f90baad63bb80fcf5b0ff758bf9ae69d04 --- diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs old mode 100755 new mode 100644 index 49a0211..449bfc6 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs @@ -97,11 +97,6 @@ namespace ElmSharp.Wearable.Tests { }; } - public void OnSelectedItem(object sender, RotarySelectorItemEventArgs e) - { - Assert.AreEqual(_selector.Items[0], e.Item, "The selected item should be equal to Items[0]."); - } - [Test] [Category("P1")] [Description("Create a RotarySelectorItemEventArgs instance. Check whether object is successfully created or not.")] @@ -130,6 +125,11 @@ namespace ElmSharp.Wearable.Tests { _selector.SelectedItem = _selector.Items[0]; _selector.Selected -= OnSelectedItem; + + void OnSelectedItem(object sender, RotarySelectorItemEventArgs e) + { + Assert.AreEqual(_selector.Items[0], e.Item, "The selected item should be equal to Items[0]."); + } } } }