protected:
utc_blink_ewk_view_orientation_send()
: utc_blink_ewk_base()
- , g_orientation(-1)
+ , g_orientation(0)
{
}
ASSERT_EQ(EINA_TRUE, ewk_view_url_set(GetEwkWebView(), full_path.c_str()));
ASSERT_EQ(Success, EventLoopStart());
+ // 0 is default value, so we need to change it before
+ // checking ewk_view_orientation_send with 0 as argument
+ if (g_orientation == 0) {
+ ewk_view_orientation_send(GetEwkWebView(), 90);
+
+ ASSERT_EQ(Success, EventLoopStart());
+ ASSERT_EQ(g_orientation, 90);
+ }
utc_message("[utc_blink_ewk_view_orientation_send TEST_0DG] :: ewk_view_orientation_send");
ewk_view_orientation_send(GetEwkWebView(), 0);