[NUI] Add test for TextConstants, TextMapHelper
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 23 Nov 2021 10:52:57 +0000 (19:52 +0900)
committerhuiyu <35286162+huiyueun@users.noreply.github.com>
Mon, 29 Nov 2021 08:55:55 +0000 (17:55 +0900)
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextMapHelper.cs [new file with mode: 0644]
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextUtils.cs

diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextMapHelper.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextMapHelper.cs
new file mode 100644 (file)
index 0000000..58ad7f7
--- /dev/null
@@ -0,0 +1,788 @@
+using global::System;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.NUI.Components;
+using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Text;
+using System.Collections.Generic;
+
+namespace Tizen.NUI.Devel.Tests
+{
+    using tlog = Tizen.Log;
+
+    [TestFixture]
+    [Description("public/BaseComponents/TextMapHelper")]
+    class PublicTextMapHelperTest
+    {
+        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("TextMapHelper GetFontWidthString.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontWidthString M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontWidthString()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontWidthString START");
+
+            string fontWidthString;
+
+            fontWidthString = TextMapHelper.GetFontWidthString(FontWidthType.ExtraCondensed);
+            Assert.AreEqual("extraCondensed", fontWidthString, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontWidthString END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontWeightString.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontWeightString M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontWeightString()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontWeightString START");
+
+            string fontWeightString;
+
+            fontWeightString = TextMapHelper.GetFontWeightString(FontWeightType.Light);
+            Assert.AreEqual("light", fontWeightString, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontWeightString END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontSlantString.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontSlantString M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontSlantString()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontSlantString START");
+
+            string fontSlantString;
+
+            fontSlantString = TextMapHelper.GetFontSlantString(FontSlantType.Italic);
+            Assert.AreEqual("italic", fontSlantString, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontSlantString END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontWidthType.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontWidthType M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontWidthType()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontWidthType START");
+
+            FontWidthType fontWidthType;
+            
+            fontWidthType = TextMapHelper.GetFontWidthType("ExtraCondensed");
+            Assert.AreEqual(FontWidthType.ExtraCondensed, fontWidthType, "Should be equal!");
+
+            fontWidthType = TextMapHelper.GetFontWidthType("InvalidType");
+            Assert.AreEqual(FontWidthType.None, fontWidthType, "If invalid type, should be None type!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontWidthType END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontWeightType.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontWeightType M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontWeightType()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontWeightType START");
+
+            FontWeightType fontWeightType;
+            
+            fontWeightType = TextMapHelper.GetFontWeightType("Light");
+            Assert.AreEqual(FontWeightType.Light, fontWeightType, "Should be equal!");
+
+            fontWeightType = TextMapHelper.GetFontWeightType("InvalidType");
+            Assert.AreEqual(FontWeightType.None, fontWeightType, "If invalid type, should be None type!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontWeightType END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontSlantType.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontSlantType M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontSlantType()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontSlantType START");
+
+            FontSlantType fontSlantType;
+            
+            fontSlantType = TextMapHelper.GetFontSlantType("Italic");
+            Assert.AreEqual(FontSlantType.Italic, fontSlantType, "Should be equal!");
+
+            fontSlantType = TextMapHelper.GetFontSlantType("InvalidType");
+            Assert.AreEqual(FontSlantType.None, fontSlantType, "If invalid type, should be None type!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontSlantType END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontStyleMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontStyleMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontStyleMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontStyleMap START");
+
+            var fontStyle = new Tizen.NUI.Text.FontStyle()
+            {
+                Width = FontWidthType.Expanded,
+                Weight = FontWeightType.Bold,
+                Slant = FontSlantType.Italic
+            };
+
+            var map = TextMapHelper.GetFontStyleMap(fontStyle);
+            map["width"].Get(out string width);
+            map["weight"].Get(out string weight);
+            map["slant"].Get(out string slant);
+
+            Assert.AreEqual("expanded", width, "Should be equal!");
+            Assert.AreEqual("bold", weight, "Should be equal!");
+            Assert.AreEqual("italic", slant, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontStyleMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontStyleStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontStyleStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontStyleStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontStyleStruct START");
+
+            var map = new PropertyMap();
+            map["width"] = new PropertyValue("expanded");
+            map["weight"] = new PropertyValue("bold");
+            map["slant"] = new PropertyValue("italic");
+
+            FontStyle fontStyle = TextMapHelper.GetFontStyleStruct(map);
+            Assert.AreEqual(FontWidthType.Expanded, fontStyle.Width, "Should be equal!");
+            Assert.AreEqual(FontWeightType.Bold, fontStyle.Weight, "Should be equal!");
+            Assert.AreEqual(FontSlantType.Italic, fontStyle.Slant, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontStyleStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetInputFilterMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetInputFilterMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetInputFilterMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetInputFilterMap START");
+
+            var inputFilter = new Tizen.NUI.Text.InputFilter()
+            {
+                Accepted = @"[\d]",
+                Rejected = "[0-3]"
+            };
+
+            var map = TextMapHelper.GetInputFilterMap(inputFilter);
+            map.Find(0).Get(out string accepted);
+            map.Find(1).Get(out string rejected);
+
+            Assert.AreEqual(accepted, inputFilter.Accepted, "Should be equal!");
+            Assert.AreEqual(rejected, inputFilter.Rejected, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetInputFilterMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetInputFilterStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetInputFilterStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGGetInputFilterStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetInputFilterStruct START");
+
+            var map = new PropertyMap();
+            map["accepted"] = new PropertyValue(@"[\d]");
+            map["rejected"] = new PropertyValue("[0-3]");
+
+            var inputFilter = TextMapHelper.GetInputFilterStruct(map);
+            Assert.AreEqual(@"[\d]", inputFilter.Accepted, "Should be equal!");
+            Assert.AreEqual("[0-3]", inputFilter.Rejected, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetInputFilterStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetUnderlineMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetUnderlineMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetUnderlineMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetUnderlineMap START");
+
+            var underline = new Tizen.NUI.Text.Underline()
+            {
+                Enable = true,
+                Color = new Color("#3498DB"),
+                Height = 2.0f
+            };
+
+            var map = TextMapHelper.GetUnderlineMap(underline);
+            var color = new Color();
+            map.Find(0, "enable").Get(out bool enable);
+            map.Find(0, "color").Get(color);
+            map.Find(0, "height").Get(out float height);
+
+            Assert.AreEqual(enable, underline.Enable, "Should be equal!");
+            Assert.AreEqual(height, underline.Height, "Should be equal!");
+            Assert.AreEqual(color.R, underline.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, underline.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, underline.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, underline.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetUnderlineMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetUnderlineStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetUnderlineStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetUnderlineStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetUnderlineStruct START");
+
+            var map = new PropertyMap();
+            var color = new Color("#3498DB");
+            map.Add("enable", new PropertyValue(true));
+            map.Add("color", new PropertyValue(color));
+            map.Add("height", new PropertyValue((float)2.0f));
+
+            var underline = TextMapHelper.GetUnderlineStruct(map);
+
+            Assert.AreEqual(true, underline.Enable, "Should be equal!");
+            Assert.AreEqual(2.0f, underline.Height, "Should be equal!");
+            Assert.AreEqual(color.R, underline.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, underline.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, underline.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, underline.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetUnderlineStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetShadowMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetShadowMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetShadowMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetShadowMap START");
+
+            var shadow = new Tizen.NUI.Text.Shadow()
+            {
+                Offset = new Vector2(3, 3),
+                Color = new Color("#F1C40F"),
+                BlurRadius = 2.0f,
+            };
+
+            var map = TextMapHelper.GetShadowMap(shadow);
+            var offset = new Vector2();
+            var color = new Color();
+            map.Find(0, "offset").Get(offset);
+            map.Find(0, "color").Get(color);
+            map.Find(0, "blurRadius").Get(out float blurRadius);
+
+            Assert.AreEqual(blurRadius, shadow.BlurRadius, "Should be equal!");
+            Assert.AreEqual(offset.X, shadow.Offset.X, "Should be equal!");
+            Assert.AreEqual(offset.Y, shadow.Offset.Y, "Should be equal!");
+            Assert.AreEqual(color.R, shadow.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, shadow.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, shadow.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, shadow.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetShadowMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetShadowStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetShadowStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetShadowStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetShadowStruct START");
+
+            var offset = new Vector2(5, 5);
+            var color = new Color("#F1C40F");
+            float blurRadius = 5.0f;
+
+            var map = new PropertyMap();
+            map.Add("offset", new PropertyValue(offset));
+            map.Add("color", new PropertyValue(color));
+            map.Add("blurRadius", new PropertyValue((float)blurRadius));
+
+            var shadow = TextMapHelper.GetShadowStruct(map);
+
+            Assert.AreEqual(blurRadius, shadow.BlurRadius, "Should be equal!");
+            Assert.AreEqual(offset.X, shadow.Offset.X, "Should be equal!");
+            Assert.AreEqual(offset.Y, shadow.Offset.Y, "Should be equal!");
+            Assert.AreEqual(color.R, shadow.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, shadow.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, shadow.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, shadow.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetShadowStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetOutlineMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetOutlineMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "guowei.wang@samsung.com")]
+        public void TextMapHelperGetOutlineMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetOutlineMap START");
+
+            var outline = new Tizen.NUI.Text.Outline()
+            {
+                Width = 2.0f,
+                Color = new Color("#45B39D"),
+            };
+
+            var map = TextMapHelper.GetOutlineMap(outline);
+            var color = new Color();
+            map.Find(0, "color").Get(color);
+            map.Find(0, "width").Get(out float width);
+
+            Assert.AreEqual(width, outline.Width, "Should be equal!");
+            Assert.AreEqual(color.R, outline.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, outline.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, outline.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, outline.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetOutlineMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetOutlineStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetOutlineStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "guowei.wang@samsung.com")]
+        public void TextMapHelperGetOutlineStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetOutlineStruct START");
+
+            var width = 2.0f;
+            var color = new Color("#45B39D");
+
+            var map = new PropertyMap();
+            map.Add("color", new PropertyValue(color));
+            map.Add("width", new PropertyValue((float)width));
+
+            var outline = TextMapHelper.GetOutlineStruct(map);
+            Assert.AreEqual(width, outline.Width, "Should be equal!");
+            Assert.AreEqual(color.R, outline.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, outline.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, outline.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, outline.Color.A, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetOutlineStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontSizeString.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontSizeString M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontSizeString()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontSizeString START");
+
+            string fontSizeTypeString = TextMapHelper.GetFontSizeString(FontSizeType.PointSize);
+            Assert.AreEqual("pointSize", fontSizeTypeString, "Should be equal!");
+
+            fontSizeTypeString = TextMapHelper.GetFontSizeString(FontSizeType.PixelSize);
+            Assert.AreEqual("pixelSize", fontSizeTypeString, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFontSizeString END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFontSizeType.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFontSizeType M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFontSizeType()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFontSizeType START");
+            FontSizeType fontSizeType;
+
+            fontSizeType = TextMapHelper.GetFontSizeType("PointSize");
+            Assert.AreEqual(FontSizeType.PointSize, fontSizeType, "Should be equal!");
+
+            fontSizeType = TextMapHelper.GetFontSizeType("PixelSize");
+            Assert.AreEqual(FontSizeType.PixelSize, fontSizeType, "Should be equal!");
+
+            fontSizeType = TextMapHelper.GetFontSizeType("InvalidType");
+            Assert.AreEqual(FontSizeType.PointSize, fontSizeType, "If invalid type, should be PointSize type!");
+      
+            tlog.Debug(tag, $"TextMapHelperGetFontSizeType END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetTextFitMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetTextFitMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetTextFitMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetTextFitMap START");
+
+            var textFit = new Tizen.NUI.Text.TextFit()
+            {
+                Enable = true,
+                MinSize = 10.0f,
+                MaxSize = 100.0f,
+                StepSize = 5.0f,
+                FontSizeType = FontSizeType.PointSize
+            };
+
+            var map = TextMapHelper.GetTextFitMap(textFit);
+            map.Find(0, "enable").Get(out bool enable);
+            map.Find(0, "minSize").Get(out float minSize);
+            map.Find(0, "maxSize").Get(out float maxSize);
+            map.Find(0, "stepSize").Get(out float stepSize);
+            map.Find(0, "fontSizeType").Get(out string fontSizeType);
+
+            Assert.AreEqual(enable, textFit.Enable, "Should be equal!");
+            Assert.AreEqual(minSize, textFit.MinSize, "Should be equal!");
+            Assert.AreEqual(maxSize, textFit.MaxSize, "Should be equal!");
+            Assert.AreEqual(stepSize, textFit.StepSize, "Should be equal!");
+            Assert.AreEqual(fontSizeType, "PointSize", "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetTextFitMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetTextFitStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetTextFitStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetTextFitStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetTextFitStruct START");
+
+            bool enable = true;
+            float minSize = 10.0f;
+            float maxSize = 100.0f;
+            float stepSize = 5.0f;
+
+            var map = new PropertyMap();
+            map.Add("enable", new PropertyValue(enable));
+            map.Add("minSize", new PropertyValue((float)minSize));
+            map.Add("maxSize", new PropertyValue((float)maxSize));
+            map.Add("stepSize", new PropertyValue((float)stepSize));
+            map.Add("fontSizeType", new PropertyValue("PixelSize"));
+
+            var textFit = TextMapHelper.GetTextFitStruct(map);
+
+            Assert.AreEqual(enable, textFit.Enable, "Should be equal!");
+            Assert.AreEqual(minSize, textFit.MinSize, "Should be equal!");
+            Assert.AreEqual(maxSize, textFit.MaxSize, "Should be equal!");
+            Assert.AreEqual(stepSize, textFit.StepSize, "Should be equal!");
+            Assert.AreEqual(FontSizeType.PixelSize, "PointSize", "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetTextFitStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetPlaceholderMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetPlaceholderMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetPlaceholderMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetPlaceholderMap START");
+
+            var placeholder = new Tizen.NUI.Text.Placeholder()
+            {
+                Text = "placeholder text",
+                TextFocused = "placeholder textFocused",
+                Color = new Color("#45B39D"),
+                FontFamily = "BreezeSans",
+                FontStyle = new Tizen.NUI.Text.FontStyle()
+                {
+                    Width = FontWidthType.Expanded,
+                    Weight = FontWeightType.Bold,
+                    Slant = FontSlantType.Italic,
+                },
+                PointSize = 25.0f,
+                Ellipsis = true
+            };
+
+            string text = "";
+            string textFocused = "";
+            Color color = new Color();
+            string fontFamily = null;
+            var fontStyle = new PropertyMap();
+            float pointSize;
+            bool ellipsis = false;
+
+            var map = TextMapHelper.GetPlaceholderMap(placeholder);
+            map.Find(0).Get(out text);
+            map.Find(1).Get(out textFocused);
+            map.Find(2).Get(color);
+            map.Find(3).Get(out fontFamily);
+            map.Find(4).Get(fontStyle);
+            map.Find(5).Get(out pointSize);
+            map.Find(7).Get(out ellipsis);
+
+            fontStyle["width"].Get(out string width);
+            fontStyle["weight"].Get(out string weight);
+            fontStyle["slant"].Get(out string slant);
+
+            Assert.AreEqual(text, placeholder.Text, "Should be equal!");
+            Assert.AreEqual(textFocused, placeholder.TextFocused, "Should be equal!");
+            Assert.AreEqual(color.R, placeholder.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, placeholder.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, placeholder.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, placeholder.Color.A, "Should be equal!");
+            Assert.AreEqual(fontFamily, placeholder.FontFamily, "Should be equal!");
+            Assert.AreEqual(width, "expanded", "Should be equal!");
+            Assert.AreEqual(weight, "bold", "Should be equal!");
+            Assert.AreEqual(slant, "italic", "Should be equal!");
+            Assert.AreEqual(pointSize, placeholder.PointSize, "Should be equal!");
+            Assert.AreEqual(ellipsis, placeholder.Ellipsis, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetPlaceholderMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetPlaceholderStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetPlaceholderStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetPlaceholderStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetPlaceholderStruct START");
+
+            string text = "placeholder text";
+            string textFocused = "placeholder textFocused";
+            Color color = new Color("#45B39D");
+            string fontFamily = "BreezeSans";
+            var fontStyle = new PropertyMap();
+            fontStyle.Add("width", new PropertyValue("expanded"));
+            fontStyle.Add("weight", new PropertyValue("bold"));
+            fontStyle.Add("slant", new PropertyValue("italic"));
+            float pointSize = 25.0f;
+            bool ellipsis = false;
+
+            var map = new PropertyMap();
+            map.Add("text", new PropertyValue(text));
+            map.Add("textFocused", new PropertyValue(textFocused));
+            map.Add("color", new PropertyValue(color));
+            map.Add("fontFamily", new PropertyValue(fontFamily));
+            map.Add("fontStyle", new PropertyValue(fontStyle));
+            map.Add("pointSize", new PropertyValue((float)pointSize));
+            map.Add("ellipsis", new PropertyValue(ellipsis));
+
+            var placeholder = TextMapHelper.GetPlaceholderStruct(map);
+
+            Assert.AreEqual(text, placeholder.Text, "Should be equal!");
+            Assert.AreEqual(textFocused, placeholder.TextFocused, "Should be equal!");
+            Assert.AreEqual(color.R, placeholder.Color.R, "Should be equal!");
+            Assert.AreEqual(color.G, placeholder.Color.G, "Should be equal!");
+            Assert.AreEqual(color.B, placeholder.Color.B, "Should be equal!");
+            Assert.AreEqual(color.A, placeholder.Color.A, "Should be equal!");
+            Assert.AreEqual(fontFamily, placeholder.FontFamily, "Should be equal!");
+            Assert.AreEqual(FontWidthType.Expanded, placeholder.FontStyle?.Width, "Should be equal!");
+            Assert.AreEqual(FontWeightType.Bold, placeholder.FontStyle?.Weight, "Should be equal!");
+            Assert.AreEqual(FontSlantType.Italic, placeholder.FontStyle?.Slant, "Should be equal!");
+            Assert.AreEqual(pointSize, placeholder.PointSize, "Should be equal!");
+            Assert.AreEqual(ellipsis, false, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetPlaceholderStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetHiddenInputMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetHiddenInputMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetHiddenInputMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetHiddenInputMap START");
+
+            var hiddenInput = new Tizen.NUI.Text.HiddenInput()
+            {
+                Mode = HiddenInputModeType.ShowLastCharacter,
+                SubstituteCharacter = '★',
+                SubstituteCount = 0,
+                ShowLastCharacterDuration = 1000
+            };
+
+            var map = TextMapHelper.GetHiddenInputMap(hiddenInput);
+
+            map.Find(0).Get(out int mode);
+            map.Find(1).Get(out int substituteCharacter);
+            map.Find(2).Get(out int substituteCount);
+            map.Find(3).Get(out int showLastCharacterDuration);
+
+            Assert.AreEqual(mode, (int)hiddenInput.Mode, "Should be equal!");
+            Assert.AreEqual(substituteCharacter, Convert.ToInt32(hiddenInput.SubstituteCharacter), "Should be equal!");
+            Assert.AreEqual(substituteCount, hiddenInput.SubstituteCount, "Should be equal!");
+            Assert.AreEqual(showLastCharacterDuration, hiddenInput.ShowLastCharacterDuration, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetHiddenInputMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetHiddenInputStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetHiddenInputStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetHiddenInputStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetHiddenInputStruct START");
+
+            int mode = (int)HiddenInputModeType.ShowLastCharacter;
+            int substituteCharacter = Convert.ToInt32('★');
+            int substituteCount = 0;
+            int showLastCharacterDuration = 1000;
+
+            var map = new PropertyMap();
+            map.Add(0, new PropertyValue(mode));
+            map.Add(1, new PropertyValue(substituteCharacter));
+            map.Add(2, new PropertyValue(substituteCount));
+            map.Add(3, new PropertyValue(showLastCharacterDuration));
+
+            var hiddenInput = TextMapHelper.GetHiddenInputStruct(map);
+
+            Assert.AreEqual(mode, (int)hiddenInput.Mode, "Should be equal!");
+            Assert.AreEqual(substituteCharacter, Convert.ToInt32(hiddenInput.SubstituteCharacter), "Should be equal!");
+            Assert.AreEqual(substituteCount, hiddenInput.SubstituteCount, "Should be equal!");
+            Assert.AreEqual(showLastCharacterDuration, hiddenInput.ShowLastCharacterDuration, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetHiddenInputStruct END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetFileNameMap.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetFileNameMap M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetFileNameMap()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetFileNameMap START");
+
+            string url = "filePath";
+
+            var map = TextMapHelper.GetFileNameMap(url);
+            map.Find(0, "filename").Get(out string fileName);
+
+            Assert.AreEqual(url, fileName, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetFileNameMap END (OK)");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("TextMapHelper GetSelectionHandleImageStruct.")]
+        [Property("SPEC", "Tizen.NUI.TextMapHelper.GetSelectionHandleImageStruct M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "bowon.ryu@samsung.com")]
+        public void TextMapHelperGetSelectionHandleImageStruct()
+        {
+            tlog.Debug(tag, $"TextMapHelperGetSelectionHandleImageStruct START");
+
+            string leftImageUrl = "leftImageUrl";
+            string rightImageUrl = "rightImageUrl";
+
+            var leftImageMap = new PropertyMap().Add("filename", new PropertyValue(leftImageUrl));
+            var rightImageMap = new PropertyMap().Add("filename", new PropertyValue(rightImageUrl));
+
+            var selectionHandleImage = TextMapHelper.GetSelectionHandleImageStruct(leftImageMap, rightImageMap);
+
+            Assert.AreEqual(leftImageUrl, selectionHandleImage.LeftImageUrl, "Should be equal!");
+            Assert.AreEqual(rightImageUrl, selectionHandleImage.RightImageUrl, "Should be equal!");
+
+            tlog.Debug(tag, $"TextMapHelperGetSelectionHandleImageStruct END (OK)");
+        }
+    }
+}
index 4ca60c1..35fb835 100755 (executable)
@@ -1038,319 +1038,6 @@ namespace Tizen.NUI.Devel.Tests
 
         [Test]
         [Category("P1")]
-        [Description("TextUtils GetFontWidthString.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetFontWidthString M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetFontWidthString()
-        {
-            tlog.Debug(tag, $"TextUtilsGetFontWidthString START");
-
-            var result = TextUtils.GetFontWidthString(FontWidthType.ExtraCondensed);
-            tlog.Debug(tag, "GetFontWidthString : " + result);
-
-            result = TextUtils.GetFontWeightString(FontWeightType.UltraLight);
-            tlog.Debug(tag, "GetFontWeightString : " + result);
-
-            result = TextUtils.GetFontSlantString(FontSlantType.Italic);
-            tlog.Debug(tag, "GetFontSlantString : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetFontWidthString END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetFontWidthType.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetFontWidthType M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetFontWidthType()
-        {
-            tlog.Debug(tag, $"TextUtilsGetFontWidthType START");
-
-            var fontWidth = TextUtils.GetFontWidthType("ExtraCondensed");
-            tlog.Debug(tag, "GetFontWidthType : " + fontWidth);
-
-            var fontWeight = TextUtils.GetFontWeightType("UltraLight");
-            tlog.Debug(tag, "GetFontWeightType : " + fontWeight);
-
-            var fontSlant = TextUtils.GetFontSlantType("Italic");
-            tlog.Debug(tag, "GetFontSlantType : " + fontSlant);
-
-            tlog.Debug(tag, $"TextUtilsGetFontWidthType END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetFontStyleMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetFontStyleMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetFontStyleMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetFontStyleMap START");
-
-            var fontStyle = new Tizen.NUI.Text.FontStyle()
-            {
-                Width = FontWidthType.Expanded,
-                Weight = FontWeightType.Bold,
-                Slant = FontSlantType.Italic
-            };
-
-            var map = TextUtils.GetFontStyleMap(fontStyle);
-            tlog.Debug(tag, "GetFontStyleMap : " + map);
-
-            var result = TextUtils.GetFontStyleStruct(map);
-            tlog.Debug(tag, "GetFontStyleStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetFontStyleMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetInputFilterMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetInputFilterMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetInputFilterMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetInputFilterMap START");
-
-            var inputFilter = new Tizen.NUI.Text.InputFilter()
-            {
-                Accepted = @"[\d]",
-                Rejected = "[0-3]"
-            };
-
-            var map = TextUtils.GetInputFilterMap(inputFilter);
-            tlog.Debug(tag, "GetInputFilterMap : " + map);
-
-            var result = TextUtils.GetInputFilterStruct(map);
-            tlog.Debug(tag, "GetInputFilterStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetInputFilterMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetUnderlineMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetUnderlineMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetUnderlineMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetUnderlineMap START");
-
-            var underline = new Tizen.NUI.Text.Underline()
-            {
-                Enable = true,
-                Color = new Color("#3498DB"),
-                Height = 2.0f
-            };
-
-            var map = TextUtils.GetUnderlineMap(underline);
-            tlog.Debug(tag, "GetUnderlineMap : " + map);
-
-            var result = TextUtils.GetUnderlineStruct(map);
-            tlog.Debug(tag, "GetUnderlineStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetUnderlineMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetShadowMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetShadowMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetShadowMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetShadowMap START");
-
-            var shadow = new Tizen.NUI.Text.Shadow()
-            {
-                Offset = new Vector2(3, 3),
-                Color = new Color("#F1C40F")
-            };
-
-            TextField filed = new TextField()
-            {
-                Size = new Size(50, 80),
-                Text = "TextField"
-            };
-            filed.SetShadow(shadow);
-
-            var result = filed.GetShadow();
-            tlog.Debug(tag, "GetShadowStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetShadowMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetOutlineMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetOutlineMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetOutlineMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetOutlineMap START");
-
-            var outline = new Tizen.NUI.Text.Outline()
-            {
-                Width = 2.0f,
-                Color = new Color("#45B39D")
-            };
-
-            var map = TextUtils.GetOutlineMap(outline);
-            tlog.Debug(tag, "GetOutlineMap : " + map);
-
-            var result = TextUtils.GetOutlineStruct(map);
-            tlog.Debug(tag, "GetOutlineStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetOutlineMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetFontSizeString.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetFontSizeString M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetFontSizeString()
-        {
-            tlog.Debug(tag, $"TextUtilsGetFontSizeString START");
-
-            var str = TextUtils.GetFontSizeString(FontSizeType.PointSize);
-            tlog.Debug(tag, "GetFontSizeString : " + str);
-
-            var result = TextUtils.GetFontSizeType("PixelSize");
-            tlog.Debug(tag, "GetFontSizeType : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetFontSizeString END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetTextFitMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetTextFitMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetTextFitMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetTextFitMap START");
-
-            var textfit = new Tizen.NUI.Text.TextFit()
-            {
-                Enable = true,
-                MinSize = 10.0f,
-                MaxSize = 100.0f,
-                StepSize = 5.0f,
-                FontSizeType = FontSizeType.PointSize
-            };
-
-            var map = TextUtils.GetTextFitMap(textfit);
-            tlog.Debug(tag, "GetTextFitMap : " + map);
-
-            var result = TextUtils.GetTextFitStruct(map);
-            tlog.Debug(tag, "GetTextFitStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetTextFitMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetPlaceholderMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetPlaceholderMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetPlaceholderMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetTextFitMap START");
-
-            var placeholder = new Tizen.NUI.Text.Placeholder()
-            {
-                Text = "placeholder text",
-                TextFocused = "placeholder textFocused",
-                Color = new Color("#45B39D"),
-                FontFamily = "BreezeSans",
-                FontStyle = new Tizen.NUI.Text.FontStyle()
-                {
-                    Width = FontWidthType.Expanded,
-                    Weight = FontWeightType.ExtraLight,
-                    Slant = FontSlantType.Italic,
-                },
-                PointSize = 25.0f,
-                PixelSize = 50.0f,
-                Ellipsis = true
-            };
-
-            var map = TextUtils.GetPlaceholderMap(placeholder);
-            tlog.Debug(tag, "GetPlaceholderMap : " + map);
-
-            var result = TextUtils.GetPlaceholderStruct(map);
-            tlog.Debug(tag, "GetPlaceholderStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetPlaceholderMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetHiddenInputMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetHiddenInputMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetHiddenInputMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetHiddenInputMap START");
-
-            var hiddenInput = new Tizen.NUI.Text.HiddenInput()
-            {
-                Mode = HiddenInputModeType.ShowLastCharacter,
-                SubstituteCharacter = '★',
-                SubstituteCount = 0,
-                ShowLastCharacterDuration = 1000
-            };
-
-            var map = TextUtils.GetHiddenInputMap(hiddenInput);
-            tlog.Debug(tag, "GetHiddenInputMap : " + map);
-
-            var result = TextUtils.GetHiddenInputStruct(map);
-            tlog.Debug(tag, "GetHiddenInputStruct : " + result);
-
-            tlog.Debug(tag, $"TextUtilsGetHiddenInputMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("TextUtils GetFileNameMap.")]
-        [Property("SPEC", "Tizen.NUI.TextUtils.GetFileNameMap M")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "MR")]
-        [Property("AUTHOR", "guowei.wang@samsung.com")]
-        public void TextUtilsGetFileNameMap()
-        {
-            tlog.Debug(tag, $"TextUtilsGetFileNameMap START");
-
-            var map = TextUtils.GetFileNameMap(imageurl);
-            tlog.Debug(tag, "GetFileNameMap : " + map);
-
-            tlog.Debug(tag, $"TextUtilsGetFileNameMap END (OK)");
-        }
-
-        [Test]
-        [Category("P1")]
         [Description("TextUtils CopyToClipboard.")]
         [Property("SPEC", "Tizen.NUI.TextUtils.CopyToClipboard M")]
         [Property("SPEC_URL", "-")]