[Test]
[Category("P1")]
[Description("dali baseHandle Equality test, Check whether Equality works or not.")]
- [Property("SPEC", "Tizen.NUI.BaseHandle.Equality M")]
+ [Property("SPEC", "Tizen.NUI.BaseHandle.== M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
+ [Property("COVPARAM", "BaseHandle,BaseHandle")]
[Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
public void Equality_CHECK_RETURN_TYPE()
{
[Test]
[Category("P1")]
[Description("dali baseHandle Inequality test, Check whether the Inequality will return the right value or not.")]
- [Property("SPEC", "Tizen.NUI.BaseHandle.Inequality M")]
+ [Property("SPEC", "Tizen.NUI.BaseHandle.!= M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
+ [Property("COVPARAM", "BaseHandle,BaseHandle")]
[Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
public void Inequality_CHECK_RETURN_TYPE()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());
Assert.Fail("Caught Exception" + e.ToString());
}
-
}
[Test]
[Test]
[Category("P1")]
[Description("Test Equality, Check Equality operator by comparing two PaddingType instance.")]
- [Property("SPEC", "Tizen.NUI.PaddingType.Equality A")]
+ [Property("SPEC", "Tizen.NUI.PaddingType.== A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
+ [Property("COVPARAM", "PaddingType, PaddingType")]
[Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
public void Equality_CHECK_VALUE()
{
[Test]
[Category("P1")]
[Description("Test Inequality, Check Inequality operator by comparing two PaddingType instance.")]
- [Property("SPEC", "Tizen.NUI.PaddingType.Inequality A")]
+ [Property("SPEC", "Tizen.NUI.PaddingType.!= A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
+ [Property("COVPARAM", "PaddingType, PaddingType")]
[Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
public void Inequality_CHECK_VALUE()
{
[Test]
[Category("P1")]
- [Description("Test LineWrapMode.Check whether TextChanged ia readable and writable.")]
+ [Description("Test LineWrapMode.Check whether TextChanged is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.LineWrapMode A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Test]
[Category("P1")]
- [Description("Test TranslatablePlaceholderText.Check whether TranslatablePlaceholderText ia readable and writable.")]
+ [Description("Test TranslatablePlaceholderText.Check whether TranslatablePlaceholderText is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.TranslatablePlaceholderText A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Test]
[Category("P1")]
- [Description("Test TranslatableText.Check whether TranslatableText ia readable and writable.")]
+ [Description("Test TranslatableText.Check whether TranslatableText is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.TranslatableText A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
Window.Instance.Remove(textEditor);\r
}
}
+
+ [Test]
+ [Category("P1")]
+ [Description("Test MatchSystemLanguageDirectionProperty. Check whether MatchSystemLanguageDirectionProperty(BindableProperty) is working correctly or not.")]
+ [Property("SPEC", "Tizen.NUI.BaseComponents.TextEditor.MatchSystemLanguageDirectionProperty A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "Xianbing Teng, xb.teng@samsung.com")]
+ public void MatchSystemLanguageDirectionProperty_CHECK_VALUE()
+ {
+ var textEditor = new TextEditor();\r
+ Assert.IsNotNull(textEditor, "Can't create success object TextEditor");\r
+ Assert.IsInstanceOf<TextEditor>(textEditor, "Should be an instance of TextEditor type.");\r
+\r
+ textEditor.SetValue(TextEditor.MatchSystemLanguageDirectionProperty, false);\r
+ bool ret = (bool)textEditor.GetValue(TextEditor.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(false, ret, "should be same");\r
+\r
+ textEditor.SetValue(TextEditor.MatchSystemLanguageDirectionProperty, true);\r
+ ret = (bool)textEditor.GetValue(TextEditor.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(true, ret, "should be same");
+ }
}
}
[Test]
[Category("P1")]
- [Description("Test TranslatablePlaceholderText.Check whether TranslatablePlaceholderText ia readable and writable.")]
+ [Description("Test TranslatablePlaceholderText.Check whether TranslatablePlaceholderText is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextField.TranslatablePlaceholderText A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Test]
[Category("P1")]
- [Description("Test TranslatableText.Check whether TranslatableText ia readable and writable.")]
+ [Description("Test TranslatableText.Check whether TranslatableText is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextField.TranslatableText A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
Assert.Fail("Caught Exception" + e.ToString());
}
}
+
+ [Test]
+ [Category("P1")]
+ [Description("Test MatchSystemLanguageDirectionProperty. Check whether MatchSystemLanguageDirectionProperty(BindableProperty) is working correctly or not.")]
+ [Property("SPEC", "Tizen.NUI.BaseComponents.TextField.MatchSystemLanguageDirectionProperty A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "Xianbing Teng, xb.teng@samsung.com")]
+ public void MatchSystemLanguageDirectionProperty_CHECK_VALUE()
+ {
+ var textField = new TextField();\r
+ Assert.IsNotNull(textField, "Can't create success object TextField");\r
+ Assert.IsInstanceOf<TextField>(textField, "Should be an instance of TextField type.");\r
+\r
+ textField.SetValue(TextField.MatchSystemLanguageDirectionProperty, false);\r
+ bool ret = (bool)textField.GetValue(TextField.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(false, ret, "should be same");
+
+ textField.SetValue(TextField.MatchSystemLanguageDirectionProperty, true);\r
+ ret = (bool)textField.GetValue(TextField.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(true, ret, "should be same");
+ }
}
}
[Test]
[Category("P1")]
- [Description("Test LineWrapMode.Check whether TextChanged ia readable and writable.")]
+ [Description("Test LineWrapMode.Check whether TextChanged is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextLabel.LineWrapMode A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Test]
[Category("P1")]
- [Description("Test TranslatableText.Check whether TranslatableText ia readable and writable.")]
+ [Description("Test TranslatableText.Check whether TranslatableText is readable and writable.")]
[Property("SPEC", "Tizen.NUI.BaseComponents.TextLabel.TranslatableText A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
}
}
+ [Test]
+ [Category("P1")]
+ [Description("Test MatchSystemLanguageDirectionProperty. Check whether MatchSystemLanguageDirectionProperty(BindableProperty) is working correctly or not.")]
+ [Property("SPEC", "Tizen.NUI.BaseComponents.TextLabel.MatchSystemLanguageDirectionProperty A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "Xianbing Teng, xb.teng@samsung.com")]
+ public void MatchSystemLanguageDirectionProperty_CHECK_VALUE()
+ {
+ var textLabel = new TextLabel();\r
+ Assert.IsNotNull(textLabel, "Can't create success object textLabel");\r
+ Assert.IsInstanceOf<TextLabel>(textLabel, "Should be an instance of textLabel type.");\r
+\r
+ textLabel.SetValue(TextLabel.MatchSystemLanguageDirectionProperty, false);\r
+ bool ret = (bool)textLabel.GetValue(TextLabel.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(false, ret, "should be same");
+
+ textLabel.SetValue(TextLabel.MatchSystemLanguageDirectionProperty, true);\r
+ ret = (bool)textLabel.GetValue(TextLabel.MatchSystemLanguageDirectionProperty);\r
+ Assert.AreEqual(true, ret, "should be same");
+ }
}
public class MyTexLabel : TextLabel