[Test]
[Category("P1")]
- [Description("Test setting of alignment property.")]
- [Property("SPEC", "Tizen.NUI.LinearLayout.LinearAlignment A")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "PRW")]
- [Property("AUTHOR", "Agnelo Vaz, agnelo.vaz@samsung.com")]
- public void LinearAlignment_CHECK_RETURN_VALUE()
- {
- var linearLayout = new LinearLayout();
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.End;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.End, "Should be End.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.Center;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.Center, "Should be Center.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.Begin;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.Begin, "Should be Begin.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.CenterHorizontal;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.CenterHorizontal, "Should be CenterHorizontal.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.Top;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.Top, "Should be Top.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.Bottom;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.Bottom, "Should be Bottom.");
-
- linearLayout.LinearAlignment = LinearLayout.Alignment.CenterVertical;
- Assert.AreEqual(linearLayout.LinearAlignment, LinearLayout.Alignment.CenterVertical, "Should be CenterVertical.");
- }
-
- [Test]
- [Category("P1")]
[Description("Test setting cell padding")]
[Property("SPEC", "Tizen.NUI.LinearLayout.CellPadding A")]
[Property("SPEC_URL", "-")]