(d6d (d0d d-1d ))
(d6d (d2d d-1d ))
(d6d (d3d d-1d ))
-(d10d (d4d ))
+(d11d (d4d ))
(d6d (d5d d-1d (a3a )))
(d6d (d3d d-1d ))
-(d10d (d4d ))
+(d11d (d4d ))
(d6d (d5d d-1d (a6a )))
-(d10d (d4d ))
+(d11d (d4d ))
(d6d (d6d d-1d (a8a )))
(d6d (d7d d-1d ))
-(d12d (d8d "V1" ))
+(d13d (d8d "V1" ))
(d6d (d9d d-1d ))
(d6d (d10d d-1d (a11a )))
-(d9d (d10d "StaticChild" zz ))
+(d10d (d10d "StaticChild" zz ))
(d6d (d10d d-1d ))
(d6d (d10d d-1d ('c' )))
(d6d (d10d d-1d ))
(d6d (d10d d-1d ))
(d6d (d10d d-1d ))
+(d6d (d10d d-1d ))
(d6d (d12d d-1d ))
-(d20d (d20d d123d ))
-(d20d (d20d h123h ))
-(d20d (d20d e123e ))
-(d20d (d20d e123e ))
-(d20d (d20d j123j ))
-(d20d (d20d k123k ))
-(d20d (d20d mFalsem ))
-(d20d (d20d l01:02:03l ))
-(d20d (d20d 'c' ))
-(d20d (d20d c1c ))
-(d20d (d20d c1c ))
-(d20d (d20d f1f ))
-(d20d (d20d b1b ))
-(d20d (d20d "http://www.samsung.net/" ))
-(d20d (d20d n123n ))
-(d6d (d10d d-1d (a20a )))
+(d21d (d21d d123d ))
+(d21d (d21d h123h ))
+(d21d (d21d e123e ))
+(d21d (d21d e123e ))
+(d21d (d21d j123j ))
+(d21d (d21d k123k ))
+(d21d (d21d mFalsem ))
+(d21d (d21d l01:02:03l ))
+(d21d (d21d 'c' ))
+(d21d (d21d c1c ))
+(d21d (d21d c1c ))
+(d21d (d21d f1f ))
+(d21d (d21d b1b ))
+(d21d (d21d "http://www.samsung.net/" ))
+(d21d (d21d n123n ))
+(d6d (d10d d-1d (a21a )))
(d6d (d13d d-1d ))
(d6d (d10d d-1d ))
(d6d (d13d d-1d ))
(d6d (d14d d-1d ))
(d6d (d10d d-1d ))
(d6d (d15d d-1d (d0d )))
-(d6d (d10d d-1d (a27a )))
+(d6d (d10d d-1d (a28a )))
(d6d (d10d d-1d ))
-(d6d (d10d d-1d (a29a )))
+(d6d (d10d d-1d (a30a )))
(d6d (d10d d0d (d1d "str" j2j )))
(d6d (d10d d1d ))
-(d23d (a16a "t1" ))
-(d23d (a17a "t2" ))
-(d23d (a18a "t3" ))
-(d14d (d0d d0d a10a ))
-(d22d (d10d "floatToStringConverter" a1a ))
-(d22d (d10d "positionKey" "200, 200" ))
-(d9d (d4d zz "ResourceUrlProperty" ))
-(d14d (d4d d3d a33a ))
-(d14d (d4d d4d "*Resource*/arrow.jpg" ))
-(d9d (d1d zz "PositionXProperty" ))
-(d14d (d2d d1d a34a ))
-(d14d (d2d d2d "200" ))
-(d13d (d4d "Setters" ))
-(d21d (d0d a2a ))
-(d13d (d9d "Triggers" ))
-(d21d (d1d a4a ))
-(d9d (d4d zz "ResourceUrlProperty" ))
-(d14d (d7d d3d a35a ))
-(d14d (d7d d4d "*Resource*/arrow.jpg" ))
-(d9d (d1d zz "PositionXProperty" ))
-(d14d (d5d d1d a36a ))
-(d14d (d5d d2d "500" ))
-(d13d (d7d "Setters" ))
-(d21d (d2d a5a ))
-(d13d (d9d "Triggers" ))
-(d21d (d3d a7a ))
-(d22d (d10d "CustomStyle" a9a ))
-(d14d (d0d d0d a10a ))
-(d18d (d13d d0d d0d d3d ))
-(d20d (d12d "123" ))
-(d20d (d12d "456" ))
-(d14d (d13d d5d a12a ))
-(d19d (d0d a13a d2d ))
-(d14d (d15d d6d a14a ))
-(d19d (d0d a15a d2d ))
-(d6d (d16d d-1d ("Size.Width" zz a1a zz "{0:N0}" zz )))
-(d16d (d16d d0d d37d ))
-(d14d (d16d d7d a17a ))
-(d19d (d0d a16a d2d ))
+(d24d (a16a "t1" ))
+(d24d (a17a "t2" ))
+(d24d (a18a "t3" ))
+(d24d (a19a "t4" ))
+(d15d (d0d d0d a10a ))
+(d23d (d10d "floatToStringConverter" a1a ))
+(d23d (d10d "positionKey" "200, 200" ))
+(d10d (d4d zz "ResourceUrlProperty" ))
+(d15d (d4d d3d a34a ))
+(d15d (d4d d4d "*Resource*/arrow.jpg" ))
+(d10d (d1d zz "PositionXProperty" ))
+(d15d (d2d d1d a35a ))
+(d15d (d2d d2d "200" ))
+(d14d (d4d "Setters" ))
+(d22d (d0d a2a ))
+(d14d (d9d "Triggers" ))
+(d22d (d1d a4a ))
+(d10d (d4d zz "ResourceUrlProperty" ))
+(d15d (d7d d3d a36a ))
+(d15d (d7d d4d "*Resource*/arrow.jpg" ))
+(d10d (d1d zz "PositionXProperty" ))
+(d15d (d5d d1d a37a ))
+(d15d (d5d d2d "500" ))
+(d14d (d7d "Setters" ))
+(d22d (d2d a5a ))
+(d14d (d9d "Triggers" ))
+(d22d (d3d a7a ))
+(d23d (d10d "CustomStyle" a9a ))
+(d15d (d0d d0d a10a ))
+(d19d (d13d d0d d0d d3d ))
+(d21d (d12d "123" ))
+(d21d (d12d "456" ))
+(d15d (d13d d5d a12a ))
+(d20d (d0d a13a d2d ))
+(d15d (d15d d6d a14a ))
+(d20d (d0d a15a d2d ))
+(d6d (d16d d-1d (".Size.Width" zz a1a zz "{0:N0}" zz )))
+(d17d (d16d d0d d38d ))
+(d15d (d16d d7d a17a ))
+(d20d (d0d a16a d2d ))
(d6d (d17d d-1d ))
-(d11d (a38a "300, 200" ))
-(d14d (d17d d8d a39a ))
-(d17d (d17d d1d "positionKey" ))
-(d19d (d0d a17a d2d ))
+(d12d (a39a "300, 200" ))
+(d15d (d17d d8d a40a ))
+(d18d (d17d d1d "positionKey" ))
+(d20d (d0d a17a d2d ))
(d6d (d16d d-1d ("Size.Height" zz a1a zz "{0:N0}" a17a )))
-(d16d (d18d d0d d40d ))
-(d19d (d0d a18a d2d ))
-(d9d (d1d zz "PositionProperty" ))
-(d14d (d19d d9d a41a ))
-(d19d (d0d a19a d2d ))
-(d18d (d21d d0d d0d d4d ))
-(d20d (d20d d123d ))
-(d20d (d20d h123h ))
-(d20d (d20d e123e ))
-(d20d (d20d e123e ))
-(d20d (d20d j123j ))
-(d20d (d20d k123k ))
-(d20d (d20d mFalsem ))
-(d20d (d20d l01:02:03l ))
-(d20d (d20d 'c' ))
-(d20d (d20d c1c ))
-(d20d (d20d c1c ))
-(d20d (d20d f1f ))
-(d20d (d20d b1b ))
-(d20d (d20d "http://www.samsung.net/" ))
-(d20d (d20d n123n ))
-(d19d (d0d a21a d2d ))
-(d15d (d23d d2d zz ))
-(d14d (d22d d10d "123" ))
-(d13d (d23d "CustomList" ))
-(d21d (d4d a22a ))
-(d13d (d23d "CustomList" ))
-(d21d (d5d "456" ))
-(d19d (d0d a23a d2d ))
-(d14d (d24d d10d "123" ))
-(d20d (d25d a24a ))
-(d20d (d25d "456" ))
-(d14d (d26d d11d a25a ))
-(d19d (d0d a26a d2d ))
-(d19d (d0d a28a d2d ))
-(d19d (d0d a30a d2d ))
-(d19d (d0d a31a d2d ))
-(d19d (d0d a32a d2d ))
+(d17d (d18d d0d d41d ))
+(d20d (d0d a18a d2d ))
+(d6d (d16d d-1d ("StringIndexer.[0]" zz zz zz zz a17a )))
+(d17d (d19d d0d d42d ))
+(d20d (d0d a19a d2d ))
+(d10d (d1d zz "PositionProperty" ))
+(d15d (d20d d9d a43a ))
+(d20d (d0d a20a d2d ))
+(d19d (d22d d0d d0d d4d ))
+(d21d (d21d d123d ))
+(d21d (d21d h123h ))
+(d21d (d21d e123e ))
+(d21d (d21d e123e ))
+(d21d (d21d j123j ))
+(d21d (d21d k123k ))
+(d21d (d21d mFalsem ))
+(d21d (d21d l01:02:03l ))
+(d21d (d21d 'c' ))
+(d21d (d21d c1c ))
+(d21d (d21d c1c ))
+(d21d (d21d f1f ))
+(d21d (d21d b1b ))
+(d21d (d21d "http://www.samsung.net/" ))
+(d21d (d21d n123n ))
+(d20d (d0d a22a d2d ))
+(d16d (d24d d2d zz ))
+(d15d (d23d d10d "123" ))
+(d14d (d24d "CustomList" ))
+(d22d (d4d a23a ))
+(d14d (d24d "CustomList" ))
+(d22d (d5d "456" ))
+(d20d (d0d a24a d2d ))
+(d15d (d25d d10d "123" ))
+(d21d (d26d a25a ))
+(d21d (d26d "456" ))
+(d15d (d27d d11d a26a ))
+(d20d (d0d a27a d2d ))
+(d20d (d0d a29a d2d ))
+(d20d (d0d a31a d2d ))
+(d20d (d0d a32a d2d ))
+(d20d (d0d a33a d2d ))
tlog.Debug(tag, $"RenderTaskSetScreenToFrameBufferFunction END (OK)");
}
- [Test]
- [Category("P1")]
- [Description("RenderTask SetScreenToFrameBufferMappingView.")]
- [Property("SPEC", "Tizen.NUI.RenderTask.SetScreenToFrameBufferMappingView M")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "MR")]
- [Property("AUTHOR", "guowei.wang@samsung.com")]
- public void RenderTaskSetScreenToFrameBufferMappingView()
- {
- tlog.Debug(tag, $"RenderTaskSetScreenToFrameBufferMappingView START");
-
- using (View view = new View() { Size = new Size(100, 50) })
- {
- var testingTarget = new RenderTask(view.SwigCPtr.Handle, false);
- Assert.IsNotNull(testingTarget, "Can't create success object RenderTask.");
- Assert.IsInstanceOf<RenderTask>(testingTarget, "Should return RenderTask instance.");
-
- try
- {
- testingTarget.SetScreenToFrameBufferMappingView(view);
-
- var result = testingTarget.GetScreenToFrameBufferMappingView();
- tlog.Debug(tag, "ScreenToFrameBufferMappingView : " + result);
- }
- catch (Exception e)
- {
- tlog.Debug(tag, e.Message.ToString());
- Assert.Fail("Caught Exception : Failed!");
- }
-
- testingTarget.Dispose();
- }
-
- tlog.Debug(tag, $"RenderTaskSetScreenToFrameBufferMappingView END (OK)");
- }
+ //[Test]
+ //[Category("P1")]
+ //[Description("RenderTask SetScreenToFrameBufferMappingView.")]
+ //[Property("SPEC", "Tizen.NUI.RenderTask.SetScreenToFrameBufferMappingView M")]
+ //[Property("SPEC_URL", "-")]
+ //[Property("CRITERIA", "MR")]
+ //[Property("AUTHOR", "guowei.wang@samsung.com")]
+ //public void RenderTaskSetScreenToFrameBufferMappingView()
+ //{
+ // tlog.Debug(tag, $"RenderTaskSetScreenToFrameBufferMappingView START");
+
+ // using (View view = new View() { Size = new Size(100, 50) })
+ // {
+ // var testingTarget = new RenderTask(view.SwigCPtr.Handle, false);
+ // Assert.IsNotNull(testingTarget, "Can't create success object RenderTask.");
+ // Assert.IsInstanceOf<RenderTask>(testingTarget, "Should return RenderTask instance.");
+
+ // try
+ // {
+ // testingTarget.SetScreenToFrameBufferMappingView(view);
+
+ // var result = testingTarget.GetScreenToFrameBufferMappingView();
+ // tlog.Debug(tag, "ScreenToFrameBufferMappingView : " + result);
+ // }
+ // catch (Exception e)
+ // {
+ // tlog.Debug(tag, e.Message.ToString());
+ // Assert.Fail("Caught Exception : Failed!");
+ // }
+
+ // testingTarget.Dispose();
+ // }
+
+ // tlog.Debug(tag, $"RenderTaskSetScreenToFrameBufferMappingView END (OK)");
+ //}
[Test]
[Category("P1")]
-// using global::System;
-// using NUnit.Framework;
-// using NUnit.Framework.TUnit;
-// using Tizen.NUI.Components;
-// using Tizen.NUI.BaseComponents;
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
-// namespace Tizen.NUI.Devel.Tests
-// {
-// using tlog = Tizen.Log;
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
-// [TestFixture]
-// [Description("Internal/EXaml/LoadEXaml")]
-// public class InternalLoadEXamlTest
-// {
-// private const string tag = "NUITEST";
-// private string eXamlString = "<?xml?><?xml-stylesheet?>";
+ [TestFixture]
+ [Description("Internal/EXaml/LoadEXaml")]
+ public class InternalLoadEXamlTest
+ {
+ private const string tag = "NUITEST";
-// [SetUp]
-// public void Init()
-// {
-// tlog.Info(tag, "Init() is called!");
-// }
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
-// [TearDown]
-// public void Destroy()
-// {
-// tlog.Info(tag, "Destroy() is called!");
-// }
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
-// [Test]
-// [Category("P1")]
-// [Description("LoadEXaml GatherDataList.")]
-// [Property("SPEC", "Tizen.NUI.LoadEXaml.GatherDataList M")]
-// [Property("SPEC_URL", "-")]
-// [Property("CRITERIA", "MR")]
-// [Property("AUTHOR", "guowei.wang@samsung.com")]
-// public void LoadEXamlGatherDataList()
-// {
-// tlog.Debug(tag, $"LoadEXamlGatherDataList START");
-
-// try
-// {
-// Tizen.NUI.EXaml.LoadEXaml.GatherDataList(eXamlString);
-// }
-// catch (Exception e)
-// {
-// tlog.Debug(tag, e.Message.ToString());
-// Assert.Fail("Caught Exception : Failed!");
-// }
-
-// tlog.Debug(tag, $"LoadEXamlGatherDataList END (OK)");
-// }
-// }
-// }
+ // To implement
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/FadeTransitionItem")]
+ public class InternalFadeTransitionItemTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FadeTransitionItem constructor.")]
+ [Property("SPEC", "Tizen.NUI.FadeTransitionItem.FadeTransitionItem C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void FadeTransitionItemConstructor()
+ {
+ tlog.Debug(tag, $"FadeTransitionItemConstructor START");
+
+ using (View view = new View() { Size = new Size(100, 200) })
+ {
+ using (TimePeriod timePeriod = new TimePeriod(300))
+ {
+ using (AlphaFunction alphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Default))
+ {
+ var testingTarget = new FadeTransitionItem(view, 0.8f, true, timePeriod, alphaFunction);
+ Assert.IsNotNull(testingTarget, "Can't create success object FadeTransitionItem.");
+ Assert.IsInstanceOf<FadeTransitionItem>(testingTarget, "Should return FadeTransitionItem instance.");
+
+ testingTarget.Dispose();
+ }
+ }
+ }
+
+ tlog.Debug(tag, $"FadeTransitionItemConstructor END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/ScaleTransitionItem")]
+ public class InternalScaleTransitionItemTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ScaleTransitionItem constructor.")]
+ [Property("SPEC", "Tizen.NUI.ScaleTransitionItem.ScaleTransitionItem C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ScaleTransitionItemConstructor()
+ {
+ tlog.Debug(tag, $"ScaleTransitionItemConstructor START");
+
+ using (View view = new View() { Size = new Size(100, 200) })
+ {
+ using (TimePeriod timePeriod = new TimePeriod(300))
+ {
+ using (AlphaFunction alphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Default))
+ {
+ var testingTarget = new ScaleTransitionItem(view, 0.8f, true, timePeriod, alphaFunction);
+ Assert.IsNotNull(testingTarget, "Can't create success object ScaleTransitionItem.");
+ Assert.IsInstanceOf<ScaleTransitionItem>(testingTarget, "Should return ScaleTransitionItem instance.");
+
+ testingTarget.Dispose();
+ }
+ }
+ }
+
+ tlog.Debug(tag, $"ScaleTransitionItemConstructor END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/SlideTransitionItem")]
+ public class InternalSlideTransitionItemTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("SlideTransitionItem constructor.")]
+ [Property("SPEC", "Tizen.NUI.SlideTransitionItem.SlideTransitionItem C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void SlideTransitionItemConstructor()
+ {
+ tlog.Debug(tag, $"SlideTransitionItemConstructor START");
+
+ using (View view = new View() { Size = new Size(100, 200) })
+ {
+ using (Vector2 direction = new Vector2(50, 80))
+ {
+ using (TimePeriod timePeriod = new TimePeriod(300))
+ {
+ using (AlphaFunction alphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Default))
+ {
+ var testingTarget = new SlideTransitionItem(view, direction, true, timePeriod, alphaFunction);
+ Assert.IsNotNull(testingTarget, "Can't create success object SlideTransitionItem.");
+ Assert.IsInstanceOf<SlideTransitionItem>(testingTarget, "Should return SlideTransitionItem instance.");
+
+ testingTarget.Dispose();
+ }
+ }
+ }
+ }
+
+ tlog.Debug(tag, $"SlideTransitionItemConstructor END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/TransitionGroupItem ")]
+ public class InternalTransitionGroupItemTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("TransitionGroupItem constructor.")]
+ [Property("SPEC", "Tizen.NUI.TransitionGroupItem.TransitionGroupItem C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void TransitionGroupItemConstructor()
+ {
+ tlog.Debug(tag, $"TransitionGroupItemConstructor START");
+
+ using (View view = new View() { Size = new Size(100, 200) })
+ {
+ using (TimePeriod timePeriod = new TimePeriod(300))
+ {
+ using (AlphaFunction alphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Default))
+ {
+ List<TransitionBase> list = new List<TransitionBase>();
+
+ using (TransitionBase tb = new TransitionBase())
+ {
+ tb.TimePeriod = new TimePeriod(300);
+ tb.AlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Bounce);
+
+ list.Add(tb);
+
+ var testingTarget = new TransitionGroupItem(view, list, true, true, true, true, timePeriod, alphaFunction);
+ Assert.IsNotNull(testingTarget, "Can't create success object TransitionGroupItem.");
+ Assert.IsInstanceOf<TransitionGroupItem>(testingTarget, "Should return TransitionGroupItem instance.");
+
+ tlog.Debug(tag, "TransitionCount : " + testingTarget.TransitionCount);
+
+ var result = testingTarget.GetTransitionAt(0);
+ tlog.Debug(tag, "GetTransitionAt : " + result);
+
+ testingTarget.Dispose();
+ }
+
+ list = null;
+ }
+ }
+ }
+
+ tlog.Debug(tag, $"TransitionGroupItemConstructor END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+using System.IO;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/images/ImageLoading")]
+ public class InternalImageLoadingTest
+ {
+ private const string tag = "NUITEST";
+ private string imageurl = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string bmp_path = "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d&word=bmp%E4%B8%8B%E8%BD%BD%20%E4%BD%8D%E5%9B%BE&step_word=&hs=2&pn=0&spn=0&di=30360&pi=0&rn=1&tn=baiduimagedetail&is=0%2C0&istype=2&ie=utf-8&oe=utf-8&in=&cl=2&lm=-1&st=-1&cs=506847219%2C2820013657&os=4205693751%2C1065126395&simid=0%2C0&adpicid=0&lpn=0&ln=389&fr=&fmq=1389861203899_R&fm=&ic=0&s=undefined&hd=undefined&latest=undefined©right=undefined&se=&sme=&tab=0&width=&height=&face=undefined&ist=&jit=&cg=&bdtype=0&oriquery=bmp%E4%B8%8B%E8%BD%BD&objurl=https%3A%2F%2Fgimg2.baidu.com%2Fimage_search%2Fsrc%3Dhttp%3A%2F%2Fbpic.ooopic.com%2F17%2F52%2F38%2F17523837-6a28a5a38920964a54ed89d8e93c3a3c-0.jpg%26refer%3Dhttp%3A%2F%2Fbpic.ooopic.com%26app%3D2002%26size%3Df9999%2C10000%26q%3Da80%26n%3D0%26g%3D0n%26fmt%3Djpeg%3Fsec%3D1624445232%26t%3Db9e3c91e4753f12d81e73c7142181326&fromurl=ippr_z2C%24qAzdH3FAzdH3Fooo_z%26e3B555rtv_z%26e3Bv54AzdH3Ffij3ty7wgf7AzdH3F80cdnbn0_z%26e3Bip4s&gsm=1&rpstart=0&rpnum=0&islist=&querylist=&force=undefined";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ private Stream FileToStream(string fileName)
+ {
+ FileStream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
+ byte[] bytes = new byte[fileStream.Length];
+ fileStream.Read(bytes, 0, bytes.Length);
+ fileStream.Close();
+ Stream stream = new MemoryStream(bytes);
+
+ return stream;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ImageLoading LoadImageFromFile.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ImageLoadingLoadImageFromFile()
+ {
+ tlog.Debug(tag, $"ImageLoadingLoadImageFromFile START");
+
+ var testingTarget = ImageLoading.LoadImageFromFile(imageurl);
+ Assert.IsNotNull(testingTarget, "Can't create success object PixelBuffer.");
+ Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ImageLoadingLoadImageFromFile END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ImageLoading LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ImageLoadingLoadImageFromBufferWithOrientationCorrection()
+ {
+ tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrection START");
+
+ var stream = FileToStream(imageurl);
+
+ using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
+ {
+ var testingTarget = ImageLoading.LoadImageFromBuffer(stream, size2d, FittingModeType.ScaleToFill, SamplingModeType.Linear, true);
+ Assert.IsNotNull(testingTarget, "Can't create success object PixelBuffer.");
+ Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
+
+ testingTarget.Dispose();
+ }
+
+ tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrection END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ImageLoading GetClosestImageSize.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ImageLoadingGetClosestImageSize()
+ {
+ tlog.Debug(tag, $"ImageLoadingGetClosestImageSize START");
+
+ var testingTarget = ImageLoading.GetClosestImageSize("picture");
+ Assert.IsNotNull(testingTarget, "Can't create success object Size2D.");
+ Assert.IsInstanceOf<Size2D>(testingTarget, "Should return Size2D instance.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ImageLoadingGetClosestImageSize END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ImageLoading GetOriginalImageSize.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoading.GetOriginalImageSize M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ImageLoadingGetOriginalImageSize()
+ {
+ tlog.Debug(tag, $"ImageLoadingGetOriginalImageSize START");
+
+ var testingTarget = ImageLoading.GetOriginalImageSize("picture");
+ Assert.IsNotNull(testingTarget, "Can't create success object Size2D.");
+ Assert.IsInstanceOf<Size2D>(testingTarget, "Should return Size2D instance.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ImageLoadingGetOriginalImageSize END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ImageLoading DownloadImageSynchronously.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ [Obsolete]
+ public void ImageLoadingDownloadImageSynchronously()
+ {
+ tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronously START");
+
+
+ var testingTarget = ImageLoading.DownloadImageSynchronously(bmp_path);
+ Assert.IsNotNull(testingTarget, "Can't create success object PixelBuffer.");
+ Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronously END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/ApplicationAnimation/ApplicationTransitionManager")]
+ public class PublicApplicationTransitionManagerTest
+ {
+ private const string tag = "NUITEST";
+ private string imageurl = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ApplicationTransitionManager Instance.")]
+ [Property("SPEC", "Tizen.NUI.ApplicationTransitionManager.Instance A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ApplicationTransitionManagerInstance()
+ {
+ tlog.Debug(tag, $"ApplicationTransitionManagerInstance START");
+
+ var testingTarget = ApplicationTransitionManager.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ApplicationTransitionManager>(testingTarget, "Should be an instance of ApplicationTransitionManager type.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ApplicationTransitionManagerInstance END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ApplicationTransitionManager SourceView.")]
+ [Property("SPEC", "Tizen.NUI.ApplicationTransitionManager.SourceView A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ApplicationTransitionManagerSourceView()
+ {
+ tlog.Debug(tag, $"ApplicationTransitionManagerSourceView START");
+
+ var testingTarget = ApplicationTransitionManager.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ApplicationTransitionManager>(testingTarget, "Should be an instance of ApplicationTransitionManager type.");
+
+ using (View view = new View() { Size = new Size(100, 200) })
+ {
+ testingTarget.SourceView = view;
+ tlog.Debug(tag, "SourceView : " + testingTarget.SourceView);
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ApplicationTransitionManagerSourceView END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ApplicationTransitionManager TransitionWindow.")]
+ [Property("SPEC", "Tizen.NUI.ApplicationTransitionManager.TransitionWindow A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ApplicationTransitionManagerTransitionWindow()
+ {
+ tlog.Debug(tag, $"ApplicationTransitionManagerTransitionWindow START");
+
+ var testingTarget = ApplicationTransitionManager.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ApplicationTransitionManager>(testingTarget, "Should be an instance of ApplicationTransitionManager type.");
+
+ // mainWindow == value
+ testingTarget.TransitionWindow = Window.Instance;
+ tlog.Debug(tag, "TransitionWindow : " + testingTarget.TransitionWindow);
+
+ // null == value
+ testingTarget.TransitionWindow = null;
+ tlog.Debug(tag, "TransitionWindow : " + testingTarget.TransitionWindow);
+
+ using (Rectangle rec = new Rectangle(20, 20, 20, 20))
+ {
+ using (Window win = new Window(rec, true))
+ {
+ testingTarget.TransitionWindow = win;
+ tlog.Debug(tag, "TransitionWindow : " + testingTarget.TransitionWindow);
+ }
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ApplicationTransitionManagerTransitionWindow END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ApplicationTransitionManager ApplicationFrameType.")]
+ [Property("SPEC", "Tizen.NUI.ApplicationTransitionManager.ApplicationFrameType A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ApplicationTransitionManagerApplicationFrameType()
+ {
+ tlog.Debug(tag, $"ApplicationTransitionManagerApplicationFrameType START");
+
+ var testingTarget = ApplicationTransitionManager.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ApplicationTransitionManager>(testingTarget, "Should be an instance of ApplicationTransitionManager type.");
+
+ testingTarget.ApplicationFrameType = FrameType.FrameBroker;
+ tlog.Debug(tag, "FrameType : " + testingTarget.ApplicationFrameType);
+
+ using (TransitionBase appearing = new TransitionBase())
+ {
+ appearing.TimePeriod = new TimePeriod(300);
+ appearing.AlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseIn);
+
+ tlog.Debug(tag, "AppearingTransition : " + testingTarget.AppearingTransition);
+
+ testingTarget.AppearingTransition = appearing;
+ tlog.Debug(tag, "AppearingTransition : " + testingTarget.AppearingTransition);
+ }
+
+ using (TransitionBase disappearing = new TransitionBase())
+ {
+ disappearing.TimePeriod = new TimePeriod(300);
+ disappearing.AlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseInOut);
+
+ tlog.Debug(tag, "DisappearingTransition : " + testingTarget.DisappearingTransition);
+
+ testingTarget.DisappearingTransition = disappearing;
+ tlog.Debug(tag, "DisappearingTransition : " + testingTarget.DisappearingTransition);
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ApplicationTransitionManagerApplicationFrameType END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ApplicationTransitionManager ApplicationFrameType.")]
+ [Property("SPEC", "Tizen.NUI.ApplicationTransitionManager.ApplicationFrameType A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ApplicationTransitionManagerApplicationFrameTypeAsFrameProvider()
+ {
+ tlog.Debug(tag, $"ApplicationTransitionManagerApplicationFrameTypeAsFrameProvider START");
+
+ var testingTarget = ApplicationTransitionManager.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ApplicationTransitionManager>(testingTarget, "Should be an instance of ApplicationTransitionManager type.");
+
+ testingTarget.ApplicationFrameType = FrameType.FrameProvider;
+ tlog.Debug(tag, "FrameType : " + testingTarget.ApplicationFrameType);
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ApplicationTransitionManagerApplicationFrameTypeAsFrameProvider END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Events/GestureOptions")]
+ public class PublicGestureOptionsTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions Instance.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.Instance A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsInstance()
+ {
+ tlog.Debug(tag, $"GestureOptionsInstance START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ tlog.Debug(tag, $"GestureOptionsInstance END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGesturePredictionMode.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGesturePredictionMode M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGesturePredictionMode()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGesturePredictionMode START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGesturePredictionMode(0);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGesturePredictionMode END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGesturePredictionAmount.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGesturePredictionAmount M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGesturePredictionAmount()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGesturePredictionAmount START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGesturePredictionMode(1);
+ testingTarget.SetPanGesturePredictionAmount(300);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGesturePredictionAmount END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureMaximumPredictionAmount.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureMaximumPredictionAmount M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureMaximumPredictionAmount()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMaximumPredictionAmount START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureMaximumPredictionAmount(1000);
+ testingTarget.SetPanGestureMinimumPredictionAmount(0);
+ testingTarget.SetPanGesturePredictionAmountAdjustment(500);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMaximumPredictionAmount END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureSmoothingMode.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureSmoothingMode M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureSmoothingMode()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureSmoothingMode START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureSmoothingMode(0);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureSmoothingMode END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureSmoothingAmount.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureSmoothingAmount M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureSmoothingAmount()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureSmoothingAmount START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureSmoothingAmount(1.0f);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureSmoothingAmount END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureUseActualTimes.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureUseActualTimes M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureUseActualTimes()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureUseActualTimes START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureUseActualTimes(true);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureUseActualTimes END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureInterpolationTimeRange.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureInterpolationTimeRange M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureInterpolationTimeRange()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureInterpolationTimeRange START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureInterpolationTimeRange(5000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureInterpolationTimeRange END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureScalarOnlyPredictionEnabled.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureScalarOnlyPredictionEnabled M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureScalarOnlyPredictionEnabled()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureScalarOnlyPredictionEnabled START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureScalarOnlyPredictionEnabled(true);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureScalarOnlyPredictionEnabled END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureTwoPointPredictionEnabled.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureTwoPointPredictionEnabled M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureTwoPointPredictionEnabled()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointPredictionEnabled START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureTwoPointPredictionEnabled(true);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointPredictionEnabled END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureTwoPointInterpolatePastTime.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureTwoPointInterpolatePastTime M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureTwoPointInterpolatePastTime()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointInterpolatePastTime START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureTwoPointInterpolatePastTime(100);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointInterpolatePastTimed END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureTwoPointVelocityBias.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureTwoPointVelocityBias M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureTwoPointVelocityBias()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointVelocityBias START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureTwoPointVelocityBias(0.8f);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointVelocityBias END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureTwoPointAccelerationBias.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureTwoPointAccelerationBias M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureTwoPointAccelerationBias()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointAccelerationBias START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureTwoPointAccelerationBias(0.8f);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureTwoPointAccelerationBias END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureMultitapSmoothingRange.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureMultitapSmoothingRange M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureMultitapSmoothingRange()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMultitapSmoothingRange START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureMultitapSmoothingRange(1000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMultitapSmoothingRange END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureMinimumDistance.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureMinimumDistance M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureMinimumDistance()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMinimumDistance START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureMinimumDistance(1000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMinimumDistance END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPanGestureMinimumPanEvents.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPanGestureMinimumPanEvents M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPanGestureMinimumPanEvents()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMinimumPanEvents START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPanGestureMinimumPanEvents(2);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMinimumPanEvents END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPinchGestureMinimumDistance.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPinchGestureMinimumDistance M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPinchGestureMinimumDistance()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumDistance START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPinchGestureMinimumDistance(1000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumDistance END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPinchGestureMinimumTouchEvents.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPinchGestureMinimumTouchEvents M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPinchGestureMinimumTouchEvents()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPanGestureMinimumPanEvents START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPinchGestureMinimumTouchEvents(2);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumTouchEvents END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetPinchGestureMinimumTouchEventsAfterStart.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetPinchGestureMinimumTouchEventsAfterStart M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetPinchGestureMinimumTouchEventsAfterStart()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumTouchEventsAfterStart START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetPinchGestureMinimumTouchEventsAfterStart(2);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumTouchEventsAfterStart END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetRotationGestureMinimumTouchEvents.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetRotationGestureMinimumTouchEvents M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetRotationGestureMinimumTouchEvents()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetPinchGestureMinimumTouchEventsAfterStart START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetRotationGestureMinimumTouchEvents(2);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetRotationGestureMinimumTouchEvents END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetRotationGestureMinimumTouchEventsAfterStart.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetRotationGestureMinimumTouchEventsAfterStart M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetRotationGestureMinimumTouchEventsAfterStart()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetRotationGestureMinimumTouchEventsAfterStart START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetRotationGestureMinimumTouchEventsAfterStart(2);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetRotationGestureMinimumTouchEventsAfterStart END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetLongPressMinimumHoldingTime.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetLongPressMinimumHoldingTime M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetLongPressMinimumHoldingTime()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetRotationGestureMinimumTouchEventsAfterStart START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetLongPressMinimumHoldingTime(2000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetLongPressMinimumHoldingTime END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("GestureOptions SetDoubleTapTimeout.")]
+ [Property("SPEC", "Tizen.NUI.GestureOptions.SetDoubleTapTimeout M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void GestureOptionsSetDoubleTapTimeout()
+ {
+ tlog.Debug(tag, $"GestureOptionsSetRotationGestureMinimumTouchEventsAfterStart START");
+
+ var testingTarget = GestureOptions.Instance;
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<GestureOptions>(testingTarget, "Should be an instance of GestureOptions type.");
+
+ try
+ {
+ testingTarget.SetDoubleTapTimeout(1000);
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ tlog.Debug(tag, $"GestureOptionsSetDoubleTapTimeout END (OK)");
+ }
+ }
+}
[TestFixture]
[Description("public/Images/ImageLoader")]
- public class PublicImageLoadingTest
+ public class PublicImageLoaderTest
{
private const string tag = "NUITEST";
private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromFile.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFile()
+ public void ImageLoaderLoadImageFromFile()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFile START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFile START");
var testingTarget = ImageLoader.LoadImageFromFile(image_path);
Assert.IsNotNull(testingTarget, "Can't create success object PixelBuffer.");
Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
testingTarget.Dispose();
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFile END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFile END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromFile. With Size.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile. With Size.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFileWithSize()
+ public void ImageLoaderLoadImageFromFileWithSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithSize START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
Assert.Pass("Catch ArgumentNullException, Pass!");
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithSize END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromFile. With FittingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile. With FittingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFileWithFittingMode()
+ public void ImageLoaderLoadImageFromFileWithFittingMode()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithFittingMode START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithFittingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
Assert.Pass("Catch ArgumentNullException, Pass!");
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithFittingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithFittingMode END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromFile. With SamplingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile. With SamplingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFileWithSamplingMode()
+ public void ImageLoaderLoadImageFromFileWithSamplingMode()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithSamplingMode START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithSamplingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
Assert.Pass("Catch ArgumentNullException, Pass!");
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithSamplingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithSamplingMode END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromFile. With orientationCorrection.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile. With orientationCorrection.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFileWithOrientationCorrection()
+ public void ImageLoaderLoadImageFromFileWithOrientationCorrection()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithOrientationCorrection START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithOrientationCorrection START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithOrientationCorrection END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithOrientationCorrection END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromFile. With orientationCorrection.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromFile M")]
+ [Description("ImageLoader LoadImageFromFile. With orientationCorrection.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromFile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromFileWithOrientationCorrectionAndNullSize()
+ public void ImageLoaderLoadImageFromFileWithOrientationCorrectionAndNullSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithOrientationCorrectionAndNullSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithOrientationCorrectionAndNullSize START");
try
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromFileWithOrientationCorrectionAndNullSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromFileWithOrientationCorrectionAndNullSize END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithOrientationCorrection()
+ public void ImageLoaderLoadImageFromBufferWithOrientationCorrection()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrection START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrection START");
var stream = FileToStream(image_path);
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrection END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrection END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullBuffer()
+ public void ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullBuffer START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullBuffer END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullSize()
+ public void ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullSize START");
var stream = FileToStream(image_path);
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithOrientationCorrectionNullSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithOrientationCorrectionNullSize END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSamplingMode()
+ public void ImageLoaderLoadImageFromBufferWithSamplingMode()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingMode START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingMode START");
var stream = FileToStream(image_path);
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingMode END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSamplingModeNullBuffer()
+ public void ImageLoaderLoadImageFromBufferWithSamplingModeNullBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingModeNullBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingModeNullBuffer START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingModeNullBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingModeNullBuffer END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSamplingModeNullSize()
+ public void ImageLoaderLoadImageFromBufferWithSamplingModeNullSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingModeNullSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingModeNullSize START");
var stream = FileToStream(image_path);
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSamplingModeNullSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSamplingModeNullSize END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithFittingMode()
+ public void ImageLoaderLoadImageFromBufferWithFittingMode()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingMode START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingMode START");
var stream = FileToStream(image_path);
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingMode END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithFittingModeNullBuffer()
+ public void ImageLoaderLoadImageFromBufferWithFittingModeNullBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingModeNullBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingModeNullBuffer START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingModeNullBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingModeNullBuffer END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithFittingModeNullSize()
+ public void ImageLoaderLoadImageFromBufferWithFittingModeNullSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingModeNullSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingModeNullSize START");
var stream = FileToStream(image_path);
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithFittingModeNullSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithFittingModeNullSize END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSize()
+ public void ImageLoaderLoadImageFromBufferWithSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSize START");
var stream = FileToStream(image_path);
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSize END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSizeNullBuffer()
+ public void ImageLoaderLoadImageFromBufferWithSizeNullBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSizeNullBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSizeNullBuffer START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSizeNullBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSizeNullBuffer END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithSizeNullSize()
+ public void ImageLoaderLoadImageFromBufferWithSizeNullSize()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSizeNullSize START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSizeNullSize START");
var stream = FileToStream(image_path);
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithSizeNullSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithSizeNullSize END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBuffer()
+ public void ImageLoaderLoadImageFromBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBuffer START");
var stream = FileToStream(image_path);
Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
testingTarget.Dispose();
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBuffer END (OK)");
}
[Test]
[Category("P2")]
- [Description("ImageLoading LoadImageFromBuffer.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.LoadImageFromBuffer M")]
+ [Description("ImageLoader LoadImageFromBuffer.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.LoadImageFromBuffer M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingLoadImageFromBufferWithNullBuffer()
+ public void ImageLoaderLoadImageFromBufferWithNullBuffer()
{
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithNullBuffer START");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithNullBuffer START");
try
{
catch (ArgumentNullException e)
{
tlog.Debug(tag, e.Message.ToString());
- tlog.Debug(tag, $"ImageLoadingLoadImageFromBufferWithNullBuffer END (OK)");
+ tlog.Debug(tag, $"ImageLoaderLoadImageFromBufferWithNullBuffer END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetClosestImageSize.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Description("ImageLoader GetClosestImageSize.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetClosestImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetClosestImageSize()
+ public void ImageLoaderGetClosestImageSize()
{
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSize START");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSize START");
var testingTarget = ImageLoader.GetClosestImageSize(file_name);
Assert.IsNotNull(testingTarget, "Can't create success object Size2D.");
Assert.IsInstanceOf<Size2D>(testingTarget, "Should return Size2D instance.");
testingTarget.Dispose();
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSize END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetClosestImageSize. With Size.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Description("ImageLoader GetClosestImageSize. With Size.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetClosestImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetClosestImageSizeWithSize()
+ public void ImageLoaderGetClosestImageSizeWithSize()
{
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithSize START");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithSize START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithSize END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetClosestImageSize. With FittingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Description("ImageLoader GetClosestImageSize. With FittingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetClosestImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetClosestImageSizeWithFittingMode()
+ public void ImageLoaderGetClosestImageSizeWithFittingMode()
{
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithFittingMode START");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithFittingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithFittingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithFittingMode END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetClosestImageSize. With SamplingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Description("ImageLoader GetClosestImageSize. With SamplingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetClosestImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetClosestImageSizeWithSamplingMode()
+ public void ImageLoaderGetClosestImageSizeWithSamplingMode()
{
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithSamplingMode START");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithSamplingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithSamplingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithSamplingMode END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetClosestImageSize. With orientationCorrection.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetClosestImageSize M")]
+ [Description("ImageLoader GetClosestImageSize. With orientationCorrection.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetClosestImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetClosestImageSizeWithOrientationCorrection()
+ public void ImageLoaderGetClosestImageSizeWithOrientationCorrection()
{
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithOrientationCorrection START");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithOrientationCorrection START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingGetClosestImageSizeWithOrientationCorrection END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetClosestImageSizeWithOrientationCorrection END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading GetOriginalImageSize.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.GetOriginalImageSize M")]
+ [Description("ImageLoader GetOriginalImageSize.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.GetOriginalImageSize M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingGetOriginalImageSize()
+ public void ImageLoaderGetOriginalImageSize()
{
- tlog.Debug(tag, $"ImageLoadingGetOriginalImageSize START");
+ tlog.Debug(tag, $"ImageLoaderGetOriginalImageSize START");
var testingTarget = ImageLoader.GetOriginalImageSize(file_name);
Assert.IsNotNull(testingTarget, "Can't create success object Size2D.");
Assert.IsInstanceOf<Size2D>(testingTarget, "Should return Size2D instance.");
testingTarget.Dispose();
- tlog.Debug(tag, $"ImageLoadingGetOriginalImageSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderGetOriginalImageSize END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronously()
+ public void ImageLoaderDownloadImageSynchronously()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronously START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronously START");
var testingTarget = ImageLoader.DownloadImageSynchronously(bmp_path);
Assert.IsInstanceOf<PixelBuffer>(testingTarget, "Should return PixelBuffer instance.");
testingTarget.Dispose();
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronously END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronously END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously. With Size.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With Size.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyWithSize()
+ public void ImageLoaderDownloadImageSynchronouslyWithSize()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithSize START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithSize START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
testingTarget.Dispose();
}
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithSize END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithSize END (OK)");
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously. With FittingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With FittingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyWithFittingMode()
+ public void ImageLoaderDownloadImageSynchronouslyWithFittingMode()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithFittingMode START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithFittingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
}
catch (ArgumentNullException)
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithFittingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithFittingMode END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously. With SamplingModeType.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With SamplingModeType.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyWithSamplingMode()
+ public void ImageLoaderDownloadImageSynchronouslyWithSamplingMode()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithSamplingMode START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithSamplingMode START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
}
catch (ArgumentNullException)
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithSamplingMode END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithSamplingMode END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously. With orientationCorrection.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With orientationCorrection.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyWithOrientationCorrection()
+ public void ImageLoaderDownloadImageSynchronouslyWithOrientationCorrection()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithOrientationCorrection START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithOrientationCorrection START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
}
catch (ArgumentNullException)
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyWithOrientationCorrection END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyWithOrientationCorrection END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P1")]
- [Description("ImageLoading DownloadImageSynchronously. With Uri.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With Uri.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyByUrl()
+ public void ImageLoaderDownloadImageSynchronouslyByUrl()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyByUrl START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyByUrl START");
using (Size2D size2d = new Size2D(NUIApplication.GetDefaultWindow().WindowSize.Width, NUIApplication.GetDefaultWindow().WindowSize.Height))
{
}
catch (ArgumentNullException)
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyByUrl END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyByUrl END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
[Test]
[Category("P2")]
- [Description("ImageLoading DownloadImageSynchronously. With Uri.")]
- [Property("SPEC", "Tizen.NUI.ImageLoading.DownloadImageSynchronously M")]
+ [Description("ImageLoader DownloadImageSynchronously. With Uri.")]
+ [Property("SPEC", "Tizen.NUI.ImageLoader.DownloadImageSynchronously M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "guowei.wang@samsung.com")]
- public void ImageLoadingDownloadImageSynchronouslyByNullUrl()
+ public void ImageLoaderDownloadImageSynchronouslyByNullUrl()
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyByNullUrl START");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyByNullUrl START");
try
{
}
catch (ArgumentNullException)
{
- tlog.Debug(tag, $"ImageLoadingDownloadImageSynchronouslyByNullUrl END (OK)");
+ tlog.Debug(tag, $"ImageLoaderDownloadImageSynchronouslyByNullUrl END (OK)");
Assert.Pass("Caught ArgumentNullException : Passed!");
}
}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/FadeTransition")]
+ public class PublicFadeTransitionTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FadeTransition constructor.")]
+ [Property("SPEC", "Tizen.NUI.FadeTransition.FadeTransition C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FadeTransitionConstructor()
+ {
+ tlog.Debug(tag, $"FadeTransitionConstructor START");
+
+ var testingTarget = new FadeTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<FadeTransition>(testingTarget, "Should be an instance of FadeTransition type.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"FadeTransitionConstructor END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FadeTransition Opacity.")]
+ [Property("SPEC", "Tizen.NUI.FadeTransition.Opacity A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FadeTransitionOpacity()
+ {
+ tlog.Debug(tag, $"FadeTransitionOpacity START");
+
+ var testingTarget = new FadeTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<FadeTransition>(testingTarget, "Should be an instance of FadeTransition type.");
+
+ testingTarget.Opacity = 0.3f;
+ tlog.Debug(tag, "Opacity : " + testingTarget.Opacity);
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"FadeTransitionOpacity END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/ScaleTransition")]
+ public class PublicScaleTransitionTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ScaleTransition constructor.")]
+ [Property("SPEC", "Tizen.NUI.ScaleTransition.ScaleTransition C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ScaleTransitionConstructor()
+ {
+ tlog.Debug(tag, $"ScaleTransitionConstructor START");
+
+ var testingTarget = new ScaleTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ScaleTransition>(testingTarget, "Should be an instance of ScaleTransition type.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ScaleTransitionConstructor END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("ScaleTransition ScaleFactor.")]
+ [Property("SPEC", "Tizen.NUI.ScaleTransition.ScaleFactor A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void ScaleTransitionScaleFactor()
+ {
+ tlog.Debug(tag, $"ScaleTransitionScaleFactor START");
+
+ var testingTarget = new ScaleTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<ScaleTransition>(testingTarget, "Should be an instance of ScaleTransition type.");
+
+ using (Vector2 sf = new Vector2(100.0f, 200.0f))
+ {
+ testingTarget.ScaleFactor = sf;
+ tlog.Debug(tag, "Opacity : " + testingTarget.ScaleFactor);
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"ScaleTransitionScaleFactor END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/SlideTransition")]
+ public class PublicSlideTransitionTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("SlideTransition constructor.")]
+ [Property("SPEC", "Tizen.NUI.SlideTransition.SlideTransition C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void SlideTransitionConstructor()
+ {
+ tlog.Debug(tag, $"SlideTransitionConstructor START");
+
+ var testingTarget = new SlideTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<SlideTransition>(testingTarget, "Should be an instance of SlideTransition type.");
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"SlideTransitionConstructor END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("SlideTransition Direction.")]
+ [Property("SPEC", "Tizen.NUI.SlideTransition.Direction A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void SlideTransitionDirection()
+ {
+ tlog.Debug(tag, $"SlideTransitionDirection START");
+
+ var testingTarget = new SlideTransition();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<SlideTransition>(testingTarget, "Should be an instance of SlideTransition type.");
+
+ using (Vector2 dir = new Vector2(100.0f, 200.0f))
+ {
+ testingTarget.Direction = dir;
+ tlog.Debug(tag, "Opacity : " + testingTarget.Direction);
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"SlideTransitionDirection END (OK)");
+ }
+ }
+}
--- /dev/null
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Transition/TransitionGroup")]
+ public class PublicTransitionGroupTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("TransitionGroup constructor.")]
+ [Property("SPEC", "Tizen.NUI.TransitionGroup.TransitionGroup C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void TransitionGroupConstructor()
+ {
+ tlog.Debug(tag, $"TransitionGroupConstructor START");
+
+ var testingTarget = new TransitionGroup();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<TransitionGroup>(testingTarget, "Should be an instance of TransitionGroup type.");
+
+ testingTarget.UseGroupTimePeriod = true;
+ tlog.Debug(tag, "UseGroupTimePeriod : " + testingTarget.UseGroupTimePeriod);
+
+ testingTarget.StepTransition = true;
+ tlog.Debug(tag, "StepTransition : " + testingTarget.StepTransition);
+
+ testingTarget.UseGroupAlphaFunction = true;
+ tlog.Debug(tag, "UseGroupAlphaFunction : " + testingTarget.UseGroupAlphaFunction);
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"TransitionGroupConstructor END (OK)");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("TransitionGroup AddTransition.")]
+ [Property("SPEC", "Tizen.NUI.TransitionGroup.AddTransition M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void TransitionGroupAddTransition()
+ {
+ tlog.Debug(tag, $"TransitionGroupAddTransition START");
+
+ var testingTarget = new TransitionGroup();
+ Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
+ Assert.IsInstanceOf<TransitionGroup>(testingTarget, "Should be an instance of TransitionGroup type.");
+
+ try
+ {
+ using (TransitionBase tb = new TransitionBase())
+ {
+ tb.TimePeriod = new TimePeriod(300);
+ tb.AlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.Bounce);
+
+ testingTarget.AddTransition(tb);
+ }
+ }
+ catch (Exception e)
+ {
+ tlog.Debug(tag, e.Message.ToString());
+ Assert.Fail("Caught Exception : Failed!");
+ }
+
+ testingTarget.Dispose();
+ tlog.Debug(tag, $"TransitionGroupAddTransition END (OK)");
+ }
+ }
+}
[Test]
[Category("P1")]
- [Description("GraphicsTypeManager ConvertToPixel.")]
- [Property("SPEC", "Tizen.NUI.GraphicsTypeManager.ConvertToPixel M")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "MR")]
- [Property("AUTHOR", "guowei.wang@samsung.com")]
- public void GraphicsTypeManagerConvertToPixel()
- {
- tlog.Debug(tag, $"GraphicsTypeManagerConvertToPixel START");
-
- try
- {
- GraphicsTypeManager.Instance.ConvertToPixel(160.0f);
- }
- catch (Exception e)
- {
- tlog.Debug(tag, e.Message.ToString());
- Assert.Fail("Caught Exception: Failed!");
- }
-
- tlog.Debug(tag, $"GraphicsTypeManagerConvertToPixel END (OK)");
- }
-
- [Test]
- [Category("P1")]
- [Description("GraphicsTypeManager ConvertFromPixel.")]
- [Property("SPEC", "Tizen.NUI.GraphicsTypeManager.ConvertFromPixel M")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "MR")]
- [Property("AUTHOR", "guowei.wang@samsung.com")]
- public void GraphicsTypeManagerConvertFromPixel()
- {
- tlog.Debug(tag, $"GraphicsTypeManagerConvertFromPixel START");
-
- try
- {
- GraphicsTypeManager.Instance.ConvertFromPixel(160.0f);
- }
- catch (Exception e)
- {
- tlog.Debug(tag, e.Message.ToString());
- Assert.Fail("Caught Exception: Failed!");
- }
-
- tlog.Debug(tag, $"GraphicsTypeManagerConvertFromPixel END (OK)");
- }
-
- [Test]
- [Category("P1")]
[Description("GraphicsTypeManager RegisterCustomConverterForDynamicResourceBinding.")]
[Property("SPEC", "Tizen.NUI.GraphicsTypeManager.RegisterCustomConverterForDynamicResourceBinding M")]
[Property("SPEC_URL", "-")]
[Test]
[Category("P1")]
- [Description("WebView ScrollPosition.")]
- [Property("SPEC", "Tizen.NUI.WebView.ScrollPosition A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("COVPARAM", "")]
- [Property("AUTHOR", "guowei.wang@samsung.com")]
- public void WebViewScrollPosition()
- {
- tlog.Debug(tag, $"WebViewScrollPosition START");
-
- webView.ScrollPosition = new Position(600, 0);
- tlog.Debug(tag, "ScrollPositionX : " + webView.ScrollPosition.X);
- tlog.Debug(tag, "ScrollPositionY : " + webView.ScrollPosition.Y);
-
- tlog.Debug(tag, $"WebViewScrollPosition END (OK)");
- }
-
- [Test]
- [Category("P1")]
[Description("WebView ScrollSize.")]
[Property("SPEC", "Tizen.NUI.WebView.ScrollSize A")]
[Property("SPEC_URL", "-")]