Assert.Fail("Caught Exception" + e.ToString());
}
}
+
+ [Test]
+ [Category("P1")]
+ [Description("Window RenderingBehavior test, Check whether RenderingBehavior works or not.")]
+ [Property("SPEC", "Tizen.NUI.Window.RenderingBehavior A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "huiyu eun, huiyu.eun@samsung.com")]
+ public void RenderingBehavior_SET_GET_VALUE()
+ {
+ /* TEST CODE */
+ var window = Window.Instance;
+ try
+ {
+ window.RenderingBehavior = RenderingBehaviorType.Continuously;
+ Assert.AreEqual(window.RenderingBehavior, RenderingBehaviorType.Continuously, "The window.RenderingBehavior is not Continuously!");
+
+ window.RenderingBehavior = RenderingBehaviorType.IfRequired;
+ Assert.AreEqual(window.RenderingBehavior, RenderingBehaviorType.IfRequired, "The window.RenderingBehavior is not IfRequired!");
+ }
+ catch (Exception e)
+ {
+ Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());
+ LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());
+ Assert.Fail("Caught Exception" + e.ToString());
+ }
+ }
}
}