}
}
+ [Test]
+ [Category("P1")]
+ [Description("Test IndicatorColor. Check whether IndicatorColor works or not.")]
+ [Property("SPEC", "Tizen.NUI.Components.Pagination.IndicatorColor A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "Jaehyun Cho, jae_hyun.cho@samsung.com")]
+ public void IndicatorColor_SET_GET_VALUE()
+ {
+ /* TEST CODE */
+ var pagination = new Pagination();
+ Assert.IsNotNull(pagination, "Should be not null!");
+ Assert.IsInstanceOf<Pagination>(pagination, "Pagination Contruct Fail");
+
+ var color = Color.Red;
+ Assert.IsNotNull(color, "Should be not null!");
+ Assert.IsInstanceOf<Color>(color, "Should be equal");
+
+ pagination.IndicatorColor = color;
+ Assert.AreEqual(color.R, pagination.IndicatorColor.R, "Retrieved IndicatorColor should be equal to set value");
+ Assert.AreEqual(color.G, pagination.IndicatorColor.G, "Retrieved IndicatorColor should be equal to set value");
+ Assert.AreEqual(color.B, pagination.IndicatorColor.B, "Retrieved IndicatorColor should be equal to set value");
+ Assert.AreEqual(color.A, pagination.IndicatorColor.A, "Retrieved IndicatorColor should be equal to set value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Test SelectedIndicatorColor. Check whether SelectedIndicatorColor works or not.")]
+ [Property("SPEC", "Tizen.NUI.Components.Pagination.SelectedIndicatorColor A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "Jaehyun Cho, jae_hyun.cho@samsung.com")]
+ public void SelectedIndicatorColor_SET_GET_VALUE()
+ {
+ /* TEST CODE */
+ var pagination = new Pagination();
+ Assert.IsNotNull(pagination, "Should be not null!");
+ Assert.IsInstanceOf<Pagination>(pagination, "Pagination Contruct Fail");
+
+ var color = Color.Red;
+ Assert.IsNotNull(color, "Should be not null!");
+ Assert.IsInstanceOf<Color>(color, "Should be equal");
+
+ pagination.SelectedIndicatorColor = color;
+ Assert.AreEqual(color.R, pagination.SelectedIndicatorColor.R, "Retrieved SelectedIndicatorColor should be equal to set value");
+ Assert.AreEqual(color.G, pagination.SelectedIndicatorColor.G, "Retrieved SelectedIndicatorColor should be equal to set value");
+ Assert.AreEqual(color.B, pagination.SelectedIndicatorColor.B, "Retrieved SelectedIndicatorColor should be equal to set value");
+ Assert.AreEqual(color.A, pagination.SelectedIndicatorColor.A, "Retrieved SelectedIndicatorColor should be equal to set value");
+ }
+
public class MyPagination : Pagination
{
public MyPagination() : base() {}