[Test]
[Category("P1")]
- [Description("Check IsAvailableDirection returns without any exceptions.")]
- [Property("SPEC", "ElmSharp.ContextPopup.IsAvailableDirection M")]
- [Property("SPEC_URL", "-")]
- [Property("CRITERIA", "MR")]
- [Property("AUTHOR", "Wenfeng Ge, wenfeng.ge@samsung.com")]
- public void IsAvailableDirection_RETURN()
- {
- var first = ContextPopupDirection.Up;
- var second = ContextPopupDirection.Down;
- var third = ContextPopupDirection.Left;
- var fourth = ContextPopupDirection.Right;
- Assert.IsInstanceOf<bool>(_contextPopup.IsAvailableDirection(first));
- Assert.IsInstanceOf<bool>(_contextPopup.IsAvailableDirection(second));
- Assert.IsInstanceOf<bool>(_contextPopup.IsAvailableDirection(third));
- Assert.IsInstanceOf<bool>(_contextPopup.IsAvailableDirection(fourth));
- }
-
- [Test]
- [Category("P1")]
[Description("Check SetDirectionPriorty without any exceptions.")]
[Property("SPEC", "ElmSharp.ContextPopup.SetDirectionPriorty M")]
[Property("SPEC_URL", "-")]