[XamarinForms][Non-ACR][Removed static keyword] 42/188342/1
authorSanghoon Lee <shooney.lee@samsung.com>
Tue, 4 Sep 2018 05:47:23 +0000 (14:47 +0900)
committerSanghoon Lee <shooney.lee@samsung.com>
Tue, 4 Sep 2018 05:47:23 +0000 (14:47 +0900)
Change-Id: I45f2a1680c604943e6b150c160b5159e58a81721

tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSFocusEventArgs.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSFont.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSFontSizeConverter.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSFontTypeConverter.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSFrame.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSGrid.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSImage.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSImageCell.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSImageSource.cs
tct-suite-vs/Tizen.XamarinForms3.Tests/testcase/TSImageSourceConverter.cs

index 30e6cc4..24c8aff 100755 (executable)
@@ -24,8 +24,8 @@ namespace Xamarin.Forms.Core.UnitTests
     [Description("Xamarin.Forms.FocusEventArgs test")]
     public class FocusEventArgsTest
     {
-        private static FocusEventArgs _focusEventArgs;
-        private static Label _label;
+        private FocusEventArgs _focusEventArgs;
+        private Label _label;
         [SetUp]
         public void Setup()
         {
index 506e21e..d324c21 100755 (executable)
@@ -23,7 +23,6 @@ namespace Xamarin.Forms.Core.UnitTests
     [TestFixture]
     class FontTests
     {      
-
         [SetUp]
         public void SetUp()
         {
index 7067916..0fe179f 100755 (executable)
@@ -24,17 +24,17 @@ namespace Xamarin.Forms.Core.UnitTests
     [Description("Xamarin.Forms.FontSizeConverter Tests")]
     public class FontSizeConverterTests
     {
-        private static FontSizeConverter _fontSizeConverter;
+        private FontSizeConverter _fontSizeConverter;
 
         [SetUp]
-        public static void SetUp()
+        public void SetUp()
         {
             Console.WriteLine("FontSizeConverterTests --------------- Setup()");
             _fontSizeConverter = new FontSizeConverter();
         }
 
         [TearDown]
-        public static void TearDown()
+        public void TearDown()
         {
             Console.WriteLine("FontSizeConverterTests --------------- TearDown()");
         }
index a035d68..d5fb5cd 100755 (executable)
@@ -42,7 +42,7 @@ namespace Xamarin.Forms.Core.UnitTests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "CONSTR")]
         [Property("AUTHOR", "Razin Farhan Hussain, razin.fh@samsung.com")]
-        public static void FontTypeConverter_INIT()
+        public void FontTypeConverter_INIT()
         {
             /* TEST CODE */
             var fontTypeConverter = new FontTypeConverter();
index c0c3681..0ed7240 100755 (executable)
@@ -22,7 +22,7 @@ namespace Xamarin.Forms.Core.UnitTests
     [TestFixture]
     public class FrameTests
     {
-        private static Frame _frame;
+        private Frame _frame;
         [SetUp]
         public void SetUp()
         {
@@ -121,7 +121,7 @@ namespace Xamarin.Forms.Core.UnitTests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PCST")]
         [Property("AUTHOR", "Arindom Kumar Chanda Sajal, arindom.ch@samsung.com")]
-        public static void CornerRadiusProperty_CHECK_BINDABLE()
+        public void CornerRadiusProperty_CHECK_BINDABLE()
         {
             /* TEST CODE */
             Button button = new Button();
index f7287ba..b6ae394 100755 (executable)
@@ -25,7 +25,7 @@ namespace Xamarin.Forms.Core.UnitTests
     public class GridTests
     {
         private Grid _grid;
-        private static bool _flagLayoutChildren, _flagOnAdded, _flagOnBindingContextChanged, _flagOnRemoved, _flagOnSizeRequest;
+        private bool _flagLayoutChildren, _flagOnAdded, _flagOnBindingContextChanged, _flagOnRemoved, _flagOnSizeRequest;
         [SetUp]
         public void SetUp()
         {
index dea899e..03e9280 100755 (executable)
@@ -27,7 +27,7 @@ namespace Xamarin.Forms.Core.UnitTests
     {
         private Image _image;
         private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
-        private static bool _flagOnSizeRequest, _flagOnBindingContextChanged;
+        private bool _flagOnSizeRequest, _flagOnBindingContextChanged;
         [SetUp]
         public void SetUp()
         {
index 9da7963..4759d38 100755 (executable)
@@ -25,7 +25,7 @@ namespace Xamarin.Forms.Core.UnitTests
     {
         private ImageCell _imageCell;
         private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
-        private static bool _flagOnBindingContextChanged;
+        private bool _flagOnBindingContextChanged;
         [SetUp]
         public void SetUp()
         {
index c649205..8c16860 100755 (executable)
@@ -30,7 +30,7 @@ namespace Xamarin.Forms.Core.UnitTests
     {
         private ImageSource _imageSource;
         private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
-        private static bool _flagOnLoadingStarted, _flagOnLoadingCompleted, _flagOnSourceChanged;
+        private bool _flagOnLoadingStarted, _flagOnLoadingCompleted, _flagOnSourceChanged;
 
         [SetUp]
         public void SetUp()
@@ -246,63 +246,5 @@ namespace Xamarin.Forms.Core.UnitTests
             imageSource = (Uri)uri;
             Assert.AreEqual(uri, ((UriImageSource)imageSource).Uri, "Can't setup implicit method");
         }
-
-        //[Test]
-        [Category("P1")]
-        [Description("Invoke OnLoadingCompleted method, and check whether OnLoadingCompleted method is invoked or not.")]
-        [Property("SPEC", "Xamarin.Forms.ImageSource.OnLoadingCompleted M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MCST")]
-        [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
-        public void OnLoadingCompleted_CHECK()
-        {
-            /* TEST CODE */
-            //Assert.True(false, "[NA] Can't inherit this api for test");
-            var source = "foo://example.com:8042/over/there?name=ferret#nose";
-            var uri = new Uri(source);
-            var subImageSoure = new SubImageSource();
-
-            subImageSoure.Cancel();
-            Assert.IsTrue(_flagOnLoadingCompleted, "Fail to cancel the image of loading");
-        }
-
-        //[Test]
-        [Category("P1")]
-        [Description("Invoke OnLoadingStarted method, and check whether OnLoadingStarted method is invoked or not.")]
-        [Property("SPEC", "Xamarin.Forms.ImageSource.OnLoadingStarted M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MCST")]
-        [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
-        public void OnLoadingStarted_CHECK()
-        {
-            /* TEST CODE */
-            Assert.True(false, "[NA] Can't inherit this api for test");
-        }
-
-        //[Test]
-        [Category("P1")]
-        [Description("Invoke OnSourceChanged method, and check whether OnSourceChanged method is invoked or not.")]
-        [Property("SPEC", "Xamarin.Forms.ImageSource.OnSourceChanged M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MCST")]
-        [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
-        public async Task OnSourceChanged_CHECK()
-        {
-            /* TEST CODE */
-            Assert.True(false, "[NA] Can't inherit this api for test");
-        }
-
-        //[Test]
-        [Category("P1")]
-        [Description("Invoke CancellationTokenSource method, and check whether CancellationTokenSource method is invoked or not.")]
-        [Property("SPEC", "Xamarin.Forms.ImageSource.CancellationTokenSource M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MCST")]
-        [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
-        public void CancellationTokenSource_CHECK()
-        {
-            /* TEST CODE */
-            Assert.True(false, "[NA] Can't inherit this api for test");
-        }
     }
 }
index 904c500..bc1afca 100755 (executable)
@@ -42,7 +42,7 @@ namespace Xamarin.Forms.Core.UnitTests
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "CONSTR")]
         [Property("AUTHOR", "Razin Farhan Hussain, razin.fh@samsung.com")]
-        public static void ImageSourceConverter_INIT()
+        public void ImageSourceConverter_INIT()
         {
             /* TEST CODE */
             var imgSrcConvert = new ImageSourceConverter();