[Xamarin.Manual][Non-ACR] Fix MasterDetail/TextCell TC 13/186113/1
authorSeungkeun Lee <sngn.lee@samsung.com>
Tue, 7 Aug 2018 08:26:55 +0000 (17:26 +0900)
committerSeungkeun Lee <sngn.lee@samsung.com>
Tue, 7 Aug 2018 09:23:46 +0000 (09:23 +0000)
 - Fix teardown code on MasterDetail TC
 - Add more items for space on TextCell TC

Change-Id: Ia0e8a27f0a4ae9c9252c02860429f0d483da9f1d

tct-suite-vs/Tizen.XamarinForms.Manual.Tests/testcase/TSMasterDetailPage.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.XamarinForms.Manual.Tests/testcase/TSTextCell.cs [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 96e6fde..08ac9a2
@@ -139,8 +139,11 @@ namespace Xamarin.Forms.Core.UnitTests
         [TearDown]
         public void TearDown()
         {
-            _masterpage.IsGestureEnabled = true;
-            _masterpage = null;
+            if (_masterpage != null)
+            {
+                _masterpage.IsGestureEnabled = true;
+                _masterpage = null;
+            }
             Console.WriteLine("MasterDetailPageTests --------------- TearDown()");
         }
 
@@ -584,4 +587,4 @@ namespace Xamarin.Forms.Core.UnitTests
             ManualTest.Confirm();
         }
     }
-}
\ No newline at end of file
+}
old mode 100755 (executable)
new mode 100644 (file)
index 7d8f555..f7083e3
@@ -504,12 +504,18 @@ namespace Xamarin.Forms.Core.UnitTests
                 Text = "Tap this text.",
             };
 
+            var _textCell0 = new TextCell
+            {
+                Text = "dummy for space",
+            };
+
             _tableView1 = new TableView
             {
                 Intent = TableIntent.Settings,
                 Root = new TableRoot("Table View Form") {
                     new TableSection ("Section 1 Title") {
-                     _textCell1
+                        _textCell0,
+                        _textCell1
                     }
                 }
             };
@@ -554,12 +560,18 @@ namespace Xamarin.Forms.Core.UnitTests
                 Text = "Tap this text.",
             };
 
+            var _textCell0 = new TextCell
+            {
+                Text = "dummy for space",
+            };
+
             _tableView1 = new TableView
             {
                 Intent = TableIntent.Settings,
                 Root = new TableRoot("Table View Form") {
                     new TableSection ("Section 1 Title") {
-                     _textCell1
+                        _textCell0,
+                        _textCell1
                     }
                 }
             };