<test_definition>
<suite name="tct-tv-window-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
<set name="TVWindow_tv" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
- <capability name="http://tizen.org/feature/tv.pip"/>
- </capabilities>
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
+ <capability name="http://tizen.org/feature/tv.pip"/>
+ </capabilities>
<testcase purpose="Check if is possible to call AvailableWindowListCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_notexist">
<description>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_notexist.html</test_script_entry>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManagerObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener">
- <description>
- <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Change VideoResolution of TV using remote controller</step_desc>
- <expected>PASS</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_TypeMismatch.html</test_script_entry>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_type_Invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly with optional arguments" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener_with_type">
- <description>
- <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Change VideoResolution of TV using remote controller</step_desc>
- <expected>PASS</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_with_type.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Test whether the object WindowManager can have new properties added it" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_extend">
<description>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_extend.html</test_script_entry>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_with_type.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getVideoResolution method of TVWindowManager works properly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getVideoResolution() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getVideoResolution_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getVideoResolution with invalid type throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getVideoResolution_type_Invalid">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_type_Invalid.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check TVWindowManager::getVideoResolution(type) with optional arguments" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_with_type.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if method hide of TVWindowManager works properly" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide">
<description>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide.html</test_script_entry>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether TVWindowManager::removeVideoResolutionChangeListener() works well" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_removeVideoResolutionChangeListener">
- <description>
- <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Change VideoResolution of TV using remote controller</step_desc>
- <expected>PASS</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if TVWindowManager::removeVideoResolutionChangeListener() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_removeVideoResolutionChangeListener_exist">
<description>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener_exist.html</test_script_entry>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if is possible to call WindowRectangleSuccessCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_notexist">
+ <description>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_notexist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if callback is called and if its arguments have proper type - WindowRectangleSuccessCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_onsuccess">
+ <description>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_onsuccess.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
+ <set name="TVWindow_tv_tuner" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
+ <capability name="http://tizen.org/feature/tv.pip"/>
+ <capability name="http://tizen.org/feature/tv.tuner"/>
+ </capabilities>
+ <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener">
+ <description>
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>
+ <expected>PASS</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly with optional arguments" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener_with_type">
+ <description>
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>
+ <expected>PASS</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_with_type.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check whether TVWindowManager::removeVideoResolutionChangeListener() works well" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_removeVideoResolutionChangeListener">
+ <description>
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>
+ <expected>PASS</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener.html</test_script_entry>
+ </description>
+ </testcase>
<testcase purpose="Test whether VideoResolutionChangeCallback::onchanged is called with argument of proper type" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P3" id="VideoResolutionChangeCallback_onchanged">
<description>
<pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>
<test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_onchanged.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if is possible to call WindowRectangleSuccessCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_notexist">
+ <testcase purpose="Check if getVideoResolution method of TVWindowManager works properly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution">
<description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - WindowRectangleSuccessCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_onsuccess">
+ <testcase purpose="Check if TVWindowManager::getVideoResolution() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getVideoResolution_exist">
<description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if TVWindowManager::getVideoResolution with invalid type throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getVideoResolution_type_Invalid">
+ <description>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_type_Invalid.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check TVWindowManager::getVideoResolution(type) with optional arguments" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution_with_type">
+ <description>
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_with_type.html</test_script_entry>
</description>
</testcase>
</set>