1 using NUnit.Framework;
2 using System.Collections.Generic;
4 namespace Tizen.NUI.Devel.Tests
6 using tlog = Tizen.Log;
9 [Description("public/Theme/DictionaryExternalTheme")]
10 internal class PublicDictionaryExternalThemeTest
12 private const string tag = "NUITEST";
17 tlog.Info(tag, "Init() is called!");
23 tlog.Info(tag, "Destroy() is called!");
29 [Description("Create a DictionaryExternalTheme object.")]
30 [Property("SPEC", "Tizen.NUI.DictionaryExternalTheme.DictionaryExternalTheme C")]
31 [Property("SPEC_URL", "-")]
32 [Property("CRITERIA", "CONSTR")]
33 [Property("COVPARAM", "")]
34 public void DictionaryExternalThemeConstructor()
36 tlog.Debug(tag, $"DictionaryExternalThemeConstructor START");
37 string id = "id1"; string version = "version1";
38 Dictionary<string, string> theme = new Dictionary<string, string>
44 DictionaryExternalTheme a1 = new DictionaryExternalTheme(id, version, theme);
46 tlog.Debug(tag, $"DictionaryExternalThemeConstructor END (OK)");
47 Assert.Pass("DictionaryExternalThemeConstructor");
52 [Description("test DictionaryExternalTheme Id.")]
53 [Property("SPEC", "Tizen.NUI.DictionaryExternalTheme.Id A")]
54 [Property("SPEC_URL", "-")]
55 [Property("CRITERIA", "PRW")]
56 [Property("COVPARAM", "")]
57 public void DictionaryExternalThemeId()
59 tlog.Debug(tag, $"DictionaryExternalThemeId START");
61 string id = "id1"; string version = "version1";
62 Dictionary<string, string> theme = new Dictionary<string, string>
68 DictionaryExternalTheme a1 = new DictionaryExternalTheme(id, version, theme);
71 tlog.Debug(tag, $"DictionaryExternalThemeId END (OK)");
72 Assert.Pass("DictionaryExternalThemeId");
77 [Description("test DictionaryExternalTheme Version.")]
78 [Property("SPEC", "Tizen.NUI.DictionaryExternalTheme.Version A")]
79 [Property("SPEC_URL", "-")]
80 [Property("CRITERIA", "PRW")]
81 [Property("COVPARAM", "")]
82 public void DictionaryExternalThemeVersion()
84 tlog.Debug(tag, $"DictionaryExternalThemeVersion START");
86 string id = "id1"; string version = "version1";
87 Dictionary<string, string> theme = new Dictionary<string, string>
93 DictionaryExternalTheme a1 = new DictionaryExternalTheme(id, version, theme);
94 string b1 = a1.Version;
96 tlog.Debug(tag, $"DictionaryExternalThemeVersion END (OK)");
97 Assert.Pass("DictionaryExternalThemeVersion");
102 [Description("test DictionaryExternalTheme GetValue.")]
103 [Property("SPEC", "Tizen.NUI.DictionaryExternalTheme.GetValue M")]
104 [Property("SPEC_URL", "-")]
105 [Property("CRITERIA", "MR")]
106 [Property("COVPARAM", "")]
107 public void DictionaryExternalThemeGetValue()
109 tlog.Debug(tag, $"DictionaryExternalThemeGetValue START");
111 string id = "id1"; string version = "version1";
112 Dictionary<string, string> theme = new Dictionary<string, string>
118 DictionaryExternalTheme a1 = new DictionaryExternalTheme(id, version, theme);
119 string b1 = a1.GetValue("aaa");
121 tlog.Debug(tag, $"DictionaryExternalThemeGetValue END (OK)");
122 Assert.Pass("DictionaryExternalThemeGetValue");