[NUI.Components][Non-ACR] Fixed warnings and remove unused 22/231922/4
authorzhouleonlei <zhouleon.lei@samsung.com>
Sun, 26 Apr 2020 12:13:40 +0000 (20:13 +0800)
committerTan Nguyen <nguyen.vtan@samsung.com>
Wed, 6 May 2020 04:12:59 +0000 (04:12 +0000)
Change-Id: Id3a6b8d311ad1f922c13ebaefe4f31fc8b5683a3

31 files changed:
tct-suite-vs/Tizen.NUI.Components.Tests/Program.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSButton.ClickEventArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSButton.StateChangedEventArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSButton.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSButtonStyle.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSLoading.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSLoadingStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSPopup.ButtonClickEventArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSPopup.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSPopupStyle.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSProgress.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSProgressStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollBar.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollBarStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSlider.SlidingFinishedArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSlider.StateChangedArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSlider.ValueChangedArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSlider.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSliderStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSStyleBase.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSStyleManager.ThemeChangeEventArgs.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSStyleManager.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSwitch.SelectEventArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSwitch.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSSwitchStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSTab.ItemChangedEventArgs.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSTab.TabItemData.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSTab.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSTabStyle.cs [changed mode: 0644->0755]
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSToast.cs
tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSToastStyle.cs [changed mode: 0644->0755]

index b47e3c15748825d4de0c9103a127ae74257c92ff..ec63c711da415e0402476ed7c6f251fd74720705 100755 (executable)
@@ -89,26 +89,6 @@ namespace Tizen.NUI.Components.Test
             //Tizen.Log.Fatal("NUI", "### OnCreate() END!");
         }
 
-        static public async Task MainTitleChangeBackgroundColor(Color color)
-        {
-            //if (color == null)
-            //{
-            //    Random rand = new Random();
-            //    color = new Color(rand.Next(250) / 255.0f, rand.Next(250) / 255.0f, rand.Next(250) / 255.0f, 1.0f);
-            //}
-            //MainTitle.BackgroundColor = color;
-            //await Task.Delay(1000);
-        }
-
-        static public async Task MainTitleChangeText(string title)
-        {
-            //MainTitle.Text = Title + title;
-            //MainTitle.PixelSize = TextSize;
-            //await Task.Delay(1000);
-
-            //Tizen.Log.Fatal("NUI", $"{title} Process ID: {Process.GetCurrentProcess().Id} Thread ID: {Thread.CurrentThread.ManagedThreadId}");
-        }
-
         protected override void OnResume()
         {
             base.OnResume();
index 3b85575d55776b879236ec481e5dc4fd365f743d..28b42b0c3f332f7d7743aae973e705424ad6a17c 100755 (executable)
@@ -19,9 +19,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ButtonClickEventArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
-
         }
 
         [TearDown]
index 88d1b9b3a164f066e53a58d3eb7e27ada3679029..c645be331d94a52750a8b5c812a1b220418c96f0 100755 (executable)
@@ -18,9 +18,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("ButtonStateChangedEventArgsTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
-\r
         }\r
 \r
         [TearDown]\r
old mode 100644 (file)
new mode 100755 (executable)
index 69e4838..de794b8
@@ -17,12 +17,6 @@ namespace Tizen.NUI.Components.Tests
         private const string TAG = "Components";
         private bool _stateChangedEvent = false;
         private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
-        private static bool _focusGainedFlag = false;
-        private static bool _focusLostFlag = false;
-        private static bool _updateFlag = false;
-        private static bool _themeFlag = false;
-        private static bool _measureTextFlag = false;
-        private static bool _layoutChildFlag = false;
         private static bool _flagGetViewStyle = false;
         private static bool _flagOnThemeChangedEvent = false;
 
@@ -31,9 +25,6 @@ namespace Tizen.NUI.Components.Tests
         {
             _stateChangedEvent = false;
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("CommonButtonTests");
-            App.MainTitleChangeBackgroundColor(null);
-
         }
 
         [TearDown]
@@ -93,8 +84,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the Exception: There is no style of defaultButtonX !");
             }
             catch(InvalidOperationException e)
-            {
-                Assert.Pass("InvalidOperationException: passed!");
+            {\r
+                if (e != null)
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }\r
             }
         }
 
@@ -337,7 +331,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(NullReferenceException e)
             {
-                Assert.Pass("NullReferenceException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }
             }
         }
 
@@ -387,8 +384,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the NullReferenceException!");
             }
             catch (NullReferenceException e)
-            {
-                Assert.Pass("NullReferenceException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }\r
             }
         }
 
@@ -445,8 +445,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the NullReferenceException!");
             }
             catch(NullReferenceException e)
-            {
-                Assert.Pass("NullReferenceException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }\r
             }
         }
 
@@ -496,8 +499,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the NullReferenceException!");
             }
             catch(NullReferenceException e)
-            {
-                Assert.Pass("NullReferenceException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }\r
             }
         }
 
@@ -546,8 +552,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the NullReferenceException!");
             }
             catch(NullReferenceException e)
-            {
-                Assert.Pass("NullReferenceException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }\r
             }
         }
 
@@ -605,11 +614,11 @@ namespace Tizen.NUI.Components.Tests
             Assert.IsNotNull(button, "Should be not null");
             Assert.IsInstanceOf<Components.Button>(button, "Should be equal!");
 
-            button.Style.IconPadding = new Extents(0, 0, 10, 10);
-            Assert.AreEqual(0, button.Style.IconPadding.Start, "Retrieved IconPadding.Start should be equal to set value");
-            Assert.AreEqual(0, button.Style.IconPadding.End, "Retrieved IconPadding.End should be equal to set value");
-            Assert.AreEqual(10, button.Style.IconPadding.Top, "Retrieved IconPadding.Top should be equal to set value");
-            Assert.AreEqual(10, button.Style.IconPadding.Bottom, "Retrieved IconPadding.Bottom should be equal to set value");
+            button.IconPadding = new Extents(0, 0, 10, 10);
+            Assert.AreEqual(0, button.IconPadding.Start, "Retrieved IconPadding.Start should be equal to set value");
+            Assert.AreEqual(0, button.IconPadding.End, "Retrieved IconPadding.End should be equal to set value");
+            Assert.AreEqual(10, button.IconPadding.Top, "Retrieved IconPadding.Top should be equal to set value");
+            Assert.AreEqual(10, button.IconPadding.Bottom, "Retrieved IconPadding.Bottom should be equal to set value");
         }
 
         [Test]
@@ -626,11 +635,11 @@ namespace Tizen.NUI.Components.Tests
             Assert.IsNotNull(button, "Should be not null");
             Assert.IsInstanceOf<Components.Button>(button, "Should be equal!");
 
-            button.Style.TextPadding = new Extents(0, 0, 10, 10);
-            Assert.AreEqual(0, button.Style.TextPadding.Start, "Retrieved TextPadding.Start should be equal to set value");
-            Assert.AreEqual(0, button.Style.TextPadding.End, "Retrieved TextPadding.End should be equal to set value");
-            Assert.AreEqual(10, button.Style.TextPadding.Top, "Retrieved TextPadding.Top should be equal to set value");
-            Assert.AreEqual(10, button.Style.TextPadding.Bottom, "Retrieved TextPadding.Bottom should be equal to set value");
+            button.TextPadding = new Extents(0, 0, 10, 10);
+            Assert.AreEqual(0, button.TextPadding.Start, "Retrieved TextPadding.Start should be equal to set value");
+            Assert.AreEqual(0, button.TextPadding.End, "Retrieved TextPadding.End should be equal to set value");
+            Assert.AreEqual(10, button.TextPadding.Top, "Retrieved TextPadding.Top should be equal to set value");
+            Assert.AreEqual(10, button.TextPadding.Bottom, "Retrieved TextPadding.Bottom should be equal to set value");
         }
 
         [Test]
index 28abd6a2e0bc55eb1d5e334941ee36270ccf8e4a..d542fdab0342bc42aa954c729004dacc44f430a1 100755 (executable)
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ButtonStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 5851f74c3e61fcbf57175c7d2d8f0fe257ab9018..64663d4b8ea3bcb8fc4116a2845de27f541b233c 100755 (executable)
@@ -19,8 +19,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("LoadingTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -82,7 +80,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
old mode 100644 (file)
new mode 100755 (executable)
index 125dfbb..0215ae1
@@ -19,8 +19,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("LoadingStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 2d5a8b5c091e118a2ac379cc1fdf2eadb4fae27b..475354e74742da3f4cc5c64a45509c36af0b35c9 100755 (executable)
@@ -19,9 +19,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("PopupButtonClickEventArgsTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
-\r
         }\r
 \r
         [TearDown]\r
index 827fead1dea34369e5a4696bd32d99fff6a1a39d..3af19537199383d4bb1bc40a6035833ffc9424c5 100755 (executable)
@@ -17,11 +17,6 @@ namespace Tizen.NUI.Components.Tests
         private const string TAG = "Components";\r
         private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";\r
         private string _path = Tizen.Applications.Application.Current.DirectoryInfo.Resource;\r
-        private static bool _focusGainedFlag = false;\r
-        private static bool _focusLostFlag = false;\r
-        private static bool _updateFlag = false;\r
-        private static bool _layoutChildFlag = false;\r
-        private static bool _themeFlag = false;\r
         private static bool _flagGetViewStyle = false;\r
         private static bool _flagOnThemeChangedEvent = false;\r
 \r
@@ -29,9 +24,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("CommonPopupTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
-\r
         }\r
 \r
         [TearDown]\r
@@ -92,7 +84,10 @@ namespace Tizen.NUI.Components.Tests
             }\r
             catch(InvalidOperationException e)\r
             {\r
-                Assert.Pass("InvalidOperationException: passed!");\r
+                if (e != null)\r
+                {\r
+                    Assert.Pass("InvalidOperationException: passed!");\r
+                }\r
             }\r
         }\r
 \r
index 1a74c0bdcbe602d15efd37bed2b496c455444d8d..802879041f25474c5b4eac450540102779791656 100755 (executable)
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("PopupStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 5e6ef5bac8267d8029a2b35d2a1761074853d4e9..919b9b626eb386a90adeaec62b9a090a80c736aa 100755 (executable)
@@ -23,8 +23,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ProgressTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -83,7 +81,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
old mode 100644 (file)
new mode 100755 (executable)
index d3db729..8d437c0
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ProgressStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 09d903925a09a1e533cc42d25849046faa433bc4..ae8ad4cae5198d1c540c927257ce71d6e323176c 100755 (executable)
@@ -14,7 +14,6 @@ namespace Tizen.NUI.Components.Tests
     public class ScrollBarTests\r
     {\r
         private const string TAG = "NUI.Components";\r
-        private string _style = "";\r
         private string _trackImageUrl = "";\r
         private static bool _flagGetViewStyle = false;\r
         private static bool _flagOnThemeChangedEvent = false;\r
@@ -23,8 +22,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("ScrollBarTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
         }\r
 \r
         [TearDown]\r
@@ -85,7 +82,10 @@ namespace Tizen.NUI.Components.Tests
             }\r
             catch(InvalidOperationException e)\r
             {\r
-                Assert.Pass("InvalidOperationException: passed!");\r
+                if (e != null)\r
+                {\r
+                    Assert.Pass("InvalidOperationException: passed!");\r
+                }\r
             }\r
         }\r
 \r
@@ -342,7 +342,10 @@ namespace Tizen.NUI.Components.Tests
             }\r
             catch(ArgumentOutOfRangeException e)\r
             {\r
-                Assert.Pass("ArgumentOutOfRangeException: passed!");\r
+                if (e != null)\r
+                {\r
+                    Assert.Pass("ArgumentOutOfRangeException: passed!");\r
+                }\r
             }\r
         }\r
 \r
@@ -369,7 +372,10 @@ namespace Tizen.NUI.Components.Tests
             }\r
             catch(ArgumentOutOfRangeException e)\r
             {\r
-                Assert.Pass("ArgumentOutOfRangeException: passed!");\r
+                if (e != null)\r
+                {\r
+                    Assert.Pass("ArgumentOutOfRangeException: passed!");\r
+                }\r
             }\r
         }\r
 \r
old mode 100644 (file)
new mode 100755 (executable)
index b86032c..eae41c3
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ScrollBarStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 6ffa2763bfcd3d36e8423cb1006b98c41ba55622..36f697b0199d6902b2e2e30a6636cfaa9951ebcd 100755 (executable)
@@ -14,8 +14,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("SlidingFinishedArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index e0823e07ad1cd82485ea00232111033ced7c6b65..769cf0a19e670ed0f08b667ef3049ab3c318a073 100755 (executable)
@@ -14,8 +14,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("StateChangedArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index f584b8abc4d9f802c503bf9d1a0590435b7072ff..13f084e515ccffa6ae7c396ec56ee7c3772f976b 100755 (executable)
@@ -14,8 +14,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ValueChangedArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index f711082ffab8cecd44ec27be1c909881f55abe45..b5f33ff7f03253d939d2c0b0c637dd94aa8e1654 100755 (executable)
@@ -11,9 +11,6 @@ namespace Tizen.NUI.Components.Tests
     [Description("Tizen.NUI.Components.Slider Tests")]
     public class SliderTests
     {
-        private bool _checkValue;
-        private bool _checkFinish;
-        private bool _checkMark;
         private const string TAG = "TCT";
         private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
         private static bool _flagGetViewStyle = false;
@@ -21,9 +18,6 @@ namespace Tizen.NUI.Components.Tests
 
         public SliderTests()
         {
-            _checkValue = false;
-            _checkFinish = false;
-            _checkMark = false;
         }
 
         ~SliderTests()
@@ -34,8 +28,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("SliderTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -44,17 +36,6 @@ namespace Tizen.NUI.Components.Tests
             Tizen.Log.Info(TAG, "Destroy() is called!");
         }
 
-        public bool OnSlidingFinish(object obj, Slider.SlidingFinishedArgs args)
-        {
-            _checkFinish = true;
-            return true;
-        }
-
-        public void OnSliderValueChange(object obj, Slider.ValueChangedArgs args)
-        {
-            _checkValue = true;
-        }
-
         [Test]
         [Category("P1")]
         [Description("Create a Slider object. Check whether Slider is successfully created or not.")]
@@ -105,7 +86,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
@@ -313,7 +297,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(NullReferenceException e)
             {
-                Assert.Pass("NullReferenceException: passed!");
+                if (e != null)
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }
             }
         }
 
old mode 100644 (file)
new mode 100755 (executable)
index c015851..2e11d26
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("SliderStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
old mode 100644 (file)
new mode 100755 (executable)
index 1b8fdf2..9fd1cd0
@@ -15,14 +15,11 @@ namespace Tizen.NUI.Components.Tests
     public class StyleBaseTests
     {
         private const string TAG = "Components";
-        private static bool flagGetViewStyle = false;
 
         [SetUp]
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("StyleBaseTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -79,7 +76,6 @@ namespace Tizen.NUI.Components.Tests
             }
             protected override ViewStyle GetViewStyle()
             {
-                flagGetViewStyle = true;
                 return new SliderStyle();
             }
         }
old mode 100644 (file)
new mode 100755 (executable)
index 5663282..27a96da
@@ -14,8 +14,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ThemeChangeEventArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 2eef4e33237e06629009fc855466dfe432f7900f..3dedbc7ee79ef866b66899dc43958ec9fa454b4c 100755 (executable)
@@ -21,8 +21,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("StyleManagerTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -129,7 +127,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch (InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
@@ -150,7 +151,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch (InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
@@ -170,7 +174,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch (ArgumentException e)
             {
-                Assert.Pass("ArgumentException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }
             }
         }
 
@@ -190,8 +197,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the InvalidOperationException!");
             }
             catch (InvalidOperationException e)
-            {
-                Assert.Pass("InvalidOperationException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }\r
             }
         }
 
@@ -252,8 +262,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the ArgumentException!");
             }
             catch (ArgumentException e)
-            {
-                Assert.Pass("ArgumentException: passed!");
+            {\r
+                if (e != null)
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }\r
             }
         }
 
@@ -273,7 +286,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch (ArgumentException e)
             {
-                Assert.Pass("ArgumentException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }
             }
         }
 
@@ -293,7 +309,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(ArgumentException e)
             {
-                Assert.Pass("ArgumentException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }
             }
         }
 
index ec7ddb260eb2e3079738ff4191e467ff124548e7..c925ec0a859fe22e2e5da167797e885ff8ef8ada 100755 (executable)
@@ -19,9 +19,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("SwitchSelectEventArgsTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
-\r
         }\r
 \r
         [TearDown]\r
index f8acd0340bddb07cc8e015df39ee483b63c327f9..dd083878e1a20a43f41cc33363af90144398db5b 100755 (executable)
@@ -23,8 +23,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()\r
         {\r
             Tizen.Log.Info(TAG, "Init() is called!");\r
-            App.MainTitleChangeText("CommonSwitchTests");\r
-            App.MainTitleChangeBackgroundColor(null);\r
         }\r
 \r
         [TearDown]\r
@@ -86,7 +84,10 @@ namespace Tizen.NUI.Components.Tests
             }\r
             catch(InvalidOperationException e)\r
             {\r
-                Assert.Pass("InvalidOperationException: passed!");\r
+                if (e != null)\r
+                {\r
+                    Assert.Pass("InvalidOperationException: passed!");\r
+                }\r
             }\r
         }\r
 \r
old mode 100644 (file)
new mode 100755 (executable)
index cc80bfd..2d52cb4
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("SwitchStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index a2dee7505d07e7db60be0fb6c8a0a7833c744a1a..165093dc903c7c4f58a14ab8bb26325e1f6ad045 100755 (executable)
@@ -14,8 +14,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ItemChangedEventArgsTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index 8470aff477cd68b230f14daa0c5aa80d01fbf06a..e2a4fc4ba62eb80cdb951339f4e16a4186bb7eec 100755 (executable)
@@ -13,8 +13,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("TabItemDataTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index dfcbf07af7d5b36709a2bce661c956721a2437e2..abca16b61569a9f9c0ecd5f4731c86138b37725f 100755 (executable)
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("TabTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -86,7 +84,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if (e != null)\r
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
@@ -167,8 +168,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the ArgumentException !");
             }
             catch(ArgumentException e)
-            {
-                Assert.Pass("ArgumentException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }
             }
         }
 
@@ -380,8 +384,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the NullReferenceException!");
             }
             catch(NullReferenceException e)
-            {
-                Assert.Pass("NullReferenceException: passed!");
+            {\r
+                if (e != null)\r
+                {
+                    Assert.Pass("NullReferenceException: passed!");
+                }
             }
         }
 
@@ -462,8 +469,11 @@ namespace Tizen.NUI.Components.Tests
                 Assert.Fail("Should throw the ArgumentException!");
             }
             catch (ArgumentException e)
-            {
-                Assert.Pass("ArgumentException: passed!");
+            {\r
+                if (e != null)
+                {
+                    Assert.Pass("ArgumentException: passed!");
+                }\r
             }
         }
 
old mode 100644 (file)
new mode 100755 (executable)
index 162b234..d0094fb
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("TabStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
index dca8f783a0e0b5eacbb3e52dee0904fbd695dee2..39d871dfc69174b11b6fd032ee730ce048168795 100755 (executable)
@@ -18,8 +18,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ToastTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]
@@ -79,7 +77,10 @@ namespace Tizen.NUI.Components.Tests
             }
             catch(InvalidOperationException e)
             {
-                Assert.Pass("InvalidOperationException: passed!");
+                if(e != null)\r
+                {
+                    Assert.Pass("InvalidOperationException: passed!");
+                }
             }
         }
 
old mode 100644 (file)
new mode 100755 (executable)
index fee81af..c0b09c0
@@ -20,8 +20,6 @@ namespace Tizen.NUI.Components.Tests
         public void Init()
         {
             Tizen.Log.Info(TAG, "Init() is called!");
-            App.MainTitleChangeText("ToastStyleTests");
-            App.MainTitleChangeBackgroundColor(null);
         }
 
         [TearDown]