the default value of FontSizeScale may be different depending on Theme(or profile).
in tizen_7.5, the default value is different from tizen_7.0 according to UX requirements.
but since tct has not yet branch out to tizen_7.0,
so I deleted the default value check tc to satisfy the 2 versions tc pass.
Change-Id: I796948cb067df33b6068d4eefdaa04cd800bbd31
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
[Test]
[Category("P1")]
- [Description("Test FontSizeScale. Check the default FontSizeScale and whether FontSizeScale is readable and writable.")]
+ [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.FontSizeScale A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
{
/* TEST CODE */
TextEditor textEditor = new TextEditor();
- Assert.AreEqual(1.0, textEditor.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
float scale = 0.5f;
textEditor.FontSizeScale = scale;
Assert.AreEqual(scale, textEditor.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");
[Test]
[Category("P1")]
- [Description("Test FontSizeScale. Check the default FontSizeScale whether FontSizeScale is readable and writable.")]
+ [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextField.FontSizeScale A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
{
/* TEST CODE */
TextField textField = new TextField();
- Assert.AreEqual(1.0, textField.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
float scale = 0.5f;
textField.FontSizeScale = scale;
Assert.AreEqual(scale, textField.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");
[Test]
[Category("P1")]
- [Description("Test FontSizeScale. Check the default FontSizeScale and whether FontSizeScale is readable and writable.")]
+ [Description("Test FontSizeScale. Check whether FontSizeScale is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextLabel.FontSizeScale A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
{
/* TEST CODE */
TextLabel textLabel = new TextLabel();
- Assert.AreEqual(1.0, textLabel.FontSizeScale, "Retrieved the default FontSizeScale should be equal to 1.0");
float scale = 0.5f;
textLabel.FontSizeScale = scale;
Assert.AreEqual(scale, textLabel.FontSizeScale, "Retrieved FontSizeScale should be equal to set value");