-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
- <suite name="tct-tv-window-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="TVWindow" type="js">
- <testcase purpose="Check if is possible to call AvailableWindowListCallback in new expresion" type="compliance" status="approved" 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>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AvailableWindowListCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - AvailableWindowListCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AvailableWindowListCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if is possible to call SourceChangedSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SourceChangedSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - SourceChangedSuccessCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SourceChangedSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface TVWindowManagerObject exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManagerObject_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManagerObject" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" type="compliance" status="approved" 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>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_addVideoResolutionChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if addVideoResolutionChangeListener of TVWindowManager called with missing non-optional arguments throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with invalid argument throws an exception" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_type_Invalid">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_type_Invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test whether the object WindowManager can have new properties added it" type="compliance" status="approved" 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>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method getAvailableWindows of TVWindowManager works properly" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getAvailableWindows method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getAvailableWindows_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getAvailableWindows method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getAvailableWindows(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method returns one of valid values" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getRect_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:getRect() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getRect method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for unit argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_unit_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_unit_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit, type)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_unit">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_unit.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method getSource of TVWindowManager works properly" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getSource() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getSource_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getSource method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getSource_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getSource(typo, errorCallback)" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_with_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method hide of TVWindowManager works properly" type="compliance" onload_delay="15" status="approved" 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>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::hide method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_hide_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:hide() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::hide method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::hide method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback, type)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if window exists in tizen.tv" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_in_tizen">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_in_tizen.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface TVWindowManager exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::removeVideoResolutionChangeListener() method exists" type="compliance" status="approved" 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>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="removeVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly without without non-optional arguments" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for sourceInfo argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::setSource() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_setSource_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly with errorCallback argument" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly with type argument" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with successCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::show() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_show_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager:show() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method show of TVWindowManager throws exception when an element of rectangle has invalid format" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_InvalidValuesError">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_InvalidValuesError.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method show throws exception when rectangle parameter is not within the boundary" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_NotSupportedError">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_NotSupportedError.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type rectangle for type argument of TVWindowManager:show(rectangle) method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when rectangle argument has incorrect data" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_invalid">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::show() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_invalid_cb.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::show() method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_type_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with errorCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with rectangle" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_rectangle">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_rectangle.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with type" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_type.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface VideoResolutionChangeCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="VideoResolutionChangeCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoResolutionChangeCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if is possible to call WindowRectangleSuccessCallback in new expresion" type="compliance" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="WindowRectangleSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - WindowRectangleSuccessCallback" type="compliance" onload_delay="15" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="WindowRectangleSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </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" type="compliance" onload_delay="15" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly with optional arguments" type="compliance" onload_delay="15" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check whether TVWindowManager::removeVideoResolutionChangeListener() works well" type="compliance" onload_delay="15" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="removeVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Test whether VideoResolutionChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P3" id="VideoResolutionChangeCallback_onchanged">
- <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/VideoResolutionChangeCallback_onchanged.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoResolutionChangeCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getVideoResolution method of TVWindowManager works properly" type="compliance" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getVideoResolution() method exists" type="compliance" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getVideoResolution with invalid type throws an exception" type="compliance" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check TVWindowManager::getVideoResolution(type) with optional arguments" type="compliance" status="approved" 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>
- <specs>
- <spec>
- <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute pictureSizeType of VideoResolution exists, has type string and is readonly" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="VideoResolution_pictureSizeType_attribute">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolution_pictureSizeType_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="VideoResolution" element_type="attribute" element_name="pictureSizeType" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- </suite>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+<test_definition>\r
+ <suite name="tct-tv-window-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">\r
+ <set name="TVWindow" type="js">\r
+ <testcase purpose="Check if is possible to call AvailableWindowListCallback in new expresion" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AvailableWindowListCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if callback is called and if its arguments have proper type - AvailableWindowListCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="AvailableWindowListCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if is possible to call SourceChangedSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="SourceChangedSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if callback is called and if its arguments have proper type - SourceChangedSuccessCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="SourceChangedSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface TVWindowManagerObject exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManagerObject_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManagerObject_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManagerObject" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_addVideoResolutionChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if addVideoResolutionChangeListener of TVWindowManager called with missing non-optional arguments throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with invalid argument throws an exception" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_type_Invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_type_Invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test whether the object WindowManager can have new properties added it" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_extend">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_extend.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method getAvailableWindows of TVWindowManager works properly" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getAvailableWindows method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getAvailableWindows_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method called with invalid arguments throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getAvailableWindows method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getAvailableWindows(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getAvailableWindows" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method returns one of valid values" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getRect_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:getRect() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getRect method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for unit argument of TVWindowManager::getRect method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_unit_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_unit_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit, type)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_unit">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_unit.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getRect" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method getSource of TVWindowManager works properly" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getSource() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getSource method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getSource_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getSource(typo, errorCallback)" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method hide of TVWindowManager works properly" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::hide method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_hide_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:hide() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::hide method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::hide method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback, type)" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="hide" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if window exists in tizen.tv" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_in_tizen">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_in_tizen.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface TVWindowManager exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::removeVideoResolutionChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_removeVideoResolutionChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="removeVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method works properly." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_rotateSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:rotateSource() throws an exception." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method throws exception when errorCallback is invalid" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::rotateSource() method exists." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_rotateSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() throws exception when argument is missing." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() with incorrect argument throws an exception." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_rotation_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_rotation_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:rotateSource() throws an exception." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method throws exception when successCallback is invalid" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method with errorCallback works properly." type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_rotateSource_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="rotateSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tvwindow.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly without without non-optional arguments" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for sourceInfo argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::setSource() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_setSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager:setSource() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly with errorCallback argument" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly with type argument" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="setSource" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with successCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::show() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when errorCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_show_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:show() method works properly without non-optional argument" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_misarg.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method show of TVWindowManager throws exception when an element of rectangle has invalid format" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_InvalidValuesError">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_InvalidValuesError.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method show throws exception when rectangle parameter is not within the boundary" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_NotSupportedError">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_NotSupportedError.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type rectangle for type argument of TVWindowManager:show(rectangle) method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when rectangle argument has incorrect data" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::show() method" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when successCallback is invalid" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::show() method" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with errorCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with rectangle" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_rectangle">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_rectangle.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with type" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="show" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if interface VideoResolutionChangeCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="VideoResolutionChangeCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="VideoResolutionChangeCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if is possible to call WindowRectangleSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="WindowRectangleSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if callback is called and if its arguments have proper type - WindowRectangleSuccessCallback" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="WindowRectangleSuccessCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ </set>\r
+ <set name="TVWindow_tv_tuner" type="js">\r
+ <capabilities>\r
+ <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>\r
+ <capability name="http://tizen.org/feature/tv.pip"/>\r
+ <capability name="http://tizen.org/feature/tv.tuner"/>\r
+ </capabilities>\r
+ <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if method addVideoResolutionChangeListener of TVWindowManager works properly with optional arguments" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_addVideoResolutionChangeListener_with_type">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="addVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check whether TVWindowManager::removeVideoResolutionChangeListener() works well" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_removeVideoResolutionChangeListener">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="removeVideoResolutionChangeListener" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Test whether VideoResolutionChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="15" status="approved" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P3" id="VideoResolutionChangeCallback_onchanged">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_onchanged.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="VideoResolutionChangeCallback" usage="true" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if getVideoResolution method of TVWindowManager works properly" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getVideoResolution() method exists" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getVideoResolution_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_exist.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getVideoResolution with invalid type throws an exception" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getVideoResolution_type_Invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_type_Invalid.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check TVWindowManager::getVideoResolution(type) with optional arguments" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_with_type.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="TVWindowManager" element_type="method" element_name="getVideoResolution" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ <testcase purpose="Check if attribute pictureSizeType of VideoResolution exists, has type string and is readonly" type="compliance" status="approved" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="VideoResolution_pictureSizeType_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolution_pictureSizeType_attribute.html</test_script_entry>\r
+ </description>\r
+ <specs>\r
+ <spec>\r
+ <spec_assertion interface="VideoResolution" element_type="attribute" element_name="pictureSizeType" specification="TVWindow" section="TV" category="Tizen Device API Specifications"/>\r
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tv-window.html</spec_url>\r
+ <spec_statement>TBD</spec_statement>\r
+ </spec>\r
+ </specs>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
</test_definition>
\ No newline at end of file
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<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>
- <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>
- </description>
- </testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - AvailableWindowListCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if is possible to call SourceChangedSuccessCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if callback is called and if its arguments have proper type - SourceChangedSuccessCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface TVWindowManagerObject exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManagerObject_notexist.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>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_addVideoResolutionChangeListener_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if addVideoResolutionChangeListener of TVWindowManager called with missing non-optional arguments throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with invalid argument throws an exception" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_type_Invalid">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_type_Invalid.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>
- </description>
- </testcase>
- <testcase purpose="Check if method getAvailableWindows of TVWindowManager works properly" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getAvailableWindows method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getAvailableWindows_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method called with invalid arguments throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getAvailableWindows method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getAvailableWindows() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getAvailableWindows(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method returns one of valid values" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getRect_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:getRect() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getRect method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getRect() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for unit argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_unit_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_unit_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit, type)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_unit">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_unit.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method getSource of TVWindowManager works properly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::getSource() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getSource_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getSource method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getSource_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager getSource(typo, errorCallback)" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource_with_type">
- <description>
- <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 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>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::hide method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_hide_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:hide() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::hide method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::hide() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::hide method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback, type)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if window exists in tizen.tv" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_in_tizen">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_in_tizen.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface TVWindowManager exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_notexist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_notexist.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>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly without without non-optional arguments" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for sourceInfo argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::setSource() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_setSource_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly with errorCallback argument" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:setSource() method works properly with type argument" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with successCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::show() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_show_exist">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager:show() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_misarg">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method show of TVWindowManager throws exception when an element of rectangle has invalid format" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_InvalidValuesError">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_InvalidValuesError.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method show throws exception when rectangle parameter is not within the boundary" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_NotSupportedError">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_NotSupportedError.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type rectangle for type argument of TVWindowManager:show(rectangle) method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when rectangle argument has incorrect data" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_invalid">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_invalid.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::show() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check type conversions for type argument of TVWindowManager::show() method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_type_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_type_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with errorCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_errorCallback">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with rectangle" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_rectangle">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_rectangle.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if TVWindowManager::show() method works properly with type" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_type">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_type.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if interface VideoResolutionChangeCallback exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="VideoResolutionChangeCallback_notexist">
- <description>
- <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>
- <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/VideoResolutionChangeCallback_onchanged.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 attribute pictureSizeType of VideoResolution exists, has type string and is readonly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="VideoResolution_pictureSizeType_attribute">
- <description>
- <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolution_pictureSizeType_attribute.html</test_script_entry>
- </description>
- </testcase>
- </set>
- </suite>
-</test_definition>
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>\r
+<test_definition>\r
+ <suite name="tct-tv-window-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">\r
+ <set name="TVWindow_tv" type="js">\r
+ <capabilities>\r
+ <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>\r
+ <capability name="http://tizen.org/feature/tv.pip"/>\r
+ </capabilities>\r
+ <testcase purpose="Check if is possible to call AvailableWindowListCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if callback is called and if its arguments have proper type - AvailableWindowListCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="AvailableWindowListCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/AvailableWindowListCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if is possible to call SourceChangedSuccessCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if callback is called and if its arguments have proper type - SourceChangedSuccessCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="SourceChangedSuccessCallback_onsuccess">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/SourceChangedSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface TVWindowManagerObject exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManagerObject_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManagerObject_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with incorrect Callback argument throws an exception" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_callback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_addVideoResolutionChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if addVideoResolutionChangeListener of TVWindowManager called with missing non-optional arguments throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::addVideoResolutionChangeListener() with invalid argument throws an exception" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_addVideoResolutionChangeListener_type_Invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_type_Invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_extend.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if method getAvailableWindows of TVWindowManager works properly" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getAvailableWindows method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getAvailableWindows_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method called with invalid arguments throws an exception" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getAvailableWindows method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getAvailableWindows() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getAvailableWindows_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getAvailableWindows(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getAvailableWindows_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getAvailableWindows_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method returns one of valid values" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getRect_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:getRect() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getRect method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getRect() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for unit argument of TVWindowManager::getRect method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getRect_unit_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_unit_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit, type)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getRect(successCallback, errorCallback, unit)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getRect_with_unit">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getRect_with_unit.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if method getSource of TVWindowManager works properly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getSource() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::getSource method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_getSource_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager getSource(typo, errorCallback)" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getSource_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getSource_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::hide method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_hide_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:hide() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::hide method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::hide() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::hide method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_hide_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check with optional arguments TVWindowManager hide(successCallback, errorCallback, type)" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_hide_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_hide_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if window exists in tizen.tv" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_in_tizen">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_in_tizen.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface TVWindowManager exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="TVWindowManager_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::removeVideoResolutionChangeListener() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_removeVideoResolutionChangeListener_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method works properly." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_rotateSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:rotateSource() throws an exception." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method throws exception when errorCallback is invalid" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::rotateSource() method exists." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_rotateSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() throws exception when argument is missing." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() with incorrect argument throws an exception." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_rotation_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_rotation_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:rotateSource() throws an exception." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method throws exception when successCallback is invalid" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_rotateSource_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:rotateSource() method with errorCallback works properly." component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_rotateSource_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_rotateSource_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly without without non-optional arguments" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for sourceInfo argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_SystemInfoVideoSourceInfo_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::setSource() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_setSource_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager:setSource() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_setSource_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly with errorCallback argument" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:setSource() method works properly with type argument" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_setSource_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_setSource_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with successCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for errorCallback argument of TVWindowManager::show() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when errorCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_errorCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_errorCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_show_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager:show() method works properly without non-optional argument" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_misarg">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_misarg.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if method show of TVWindowManager throws exception when an element of rectangle has invalid format" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_InvalidValuesError">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_InvalidValuesError.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if method show throws exception when rectangle parameter is not within the boundary" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_NotSupportedError">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_NotSupportedError.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type rectangle for type argument of TVWindowManager:show(rectangle) method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when rectangle argument has incorrect data" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_rectangle_invalid">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_rectangle_invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for successCallback argument of TVWindowManager::show() method" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method throws exception when successCallback is invalid" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_successCallback_invalid_cb">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_successCallback_invalid_cb.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check type conversions for type argument of TVWindowManager::show() method" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P2" id="TVWindowManager_show_type_TypeMismatch">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_type_TypeMismatch.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with errorCallback" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_errorCallback">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_errorCallback.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with rectangle" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_rectangle">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_rectangle.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::show() method works properly with type" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_show_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_show_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if interface VideoResolutionChangeCallback exists, it should not" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="VideoResolutionChangeCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if is possible to call WindowRectangleSuccessCallback in new expresion" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P3" id="WindowRectangleSuccessCallback_notexist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_notexist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/WindowRectangleSuccessCallback_onsuccess.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ </set>\r
+ <set name="TVWindow_tv_tuner" type="js">\r
+ <capabilities>\r
+ <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>\r
+ <capability name="http://tizen.org/feature/tv.pip"/>\r
+ <capability name="http://tizen.org/feature/tv.tuner"/>\r
+ </capabilities>\r
+ <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">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_addVideoResolutionChangeListener_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check whether TVWindowManager::removeVideoResolutionChangeListener() works well" onload_delay="15" component="TizenAPI/TV/TVWindow" execution_type="manual" priority="P1" id="TVWindowManager_removeVideoResolutionChangeListener">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_removeVideoResolutionChangeListener.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <pre_condition>You must connect multiple sources(DVI, HDMI)</pre_condition>\r
+ <steps>\r
+ <step order="1">\r
+ <step_desc>Change VideoResolution of TV using remote controller</step_desc>\r
+ <expected>PASS</expected>\r
+ </step>\r
+ </steps>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolutionChangeCallback_onchanged.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if getVideoResolution method of TVWindowManager works properly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if TVWindowManager::getVideoResolution() method exists" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P0" id="TVWindowManager_getVideoResolution_exist">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_exist.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <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">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_type_Invalid.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check TVWindowManager::getVideoResolution(type) with optional arguments" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="TVWindowManager_getVideoResolution_with_type">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/TVWindowManager_getVideoResolution_with_type.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ <testcase purpose="Check if attribute pictureSizeType of VideoResolution exists, has type string and is readonly" component="TizenAPI/TV/TVWindow" execution_type="auto" priority="P1" id="VideoResolution_pictureSizeType_attribute">\r
+ <description>\r
+ <test_script_entry>/opt/tct-tv-window-tizen-tests/tv-window/VideoResolution_pictureSizeType_attribute.html</test_script_entry>\r
+ </description>\r
+ </testcase>\r
+ </set>\r
+ </suite>\r
+</test_definition>\r
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource
+//==== LABEL Check if TVWindowManager:rotateSource() method works properly.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR MMINA
+
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), returnedValue = null, rotationSuccess, showError;
+
+t.step(function () {
+ rotationSuccess = t.step_func(function () {
+ t.done();
+ });
+ showError = t.step_func(function (error) {
+ assert_unreached("showError() error callback: name:" + error.name + ", msg:" + error.message);
+ });
+
+ showSuccess = t.step_func(function (windowRect, type) {
+ if (PRODUCT_TYPE === "4"){
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess);
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess);
+ }, "NotSupportError should be thrown.");
+ t.done();
+ }
+ });
+ tizen.tvwindow.show(showSuccess, showError, ["0%", "0%", "20%", "20%"]);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_errorCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_errorCallback_TypeMismatch
+//==== LABEL Check type conversions for errorCallback argument of TVWindowManager:rotateSource() throws an exception.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), conversionTable, i, incorrectCallback, rotateSuccess;
+
+t.step(function () {
+ if (PRODUCT_TYPE === "4"){
+ getSuccess = t.step_func(function () {
+ assert_unreached("rotateSource() success callback invoked");
+ });
+ conversionTable = getTypeConversionExceptions("functionObject", true);
+ for (i = 0; i < conversionTable.length; i++) {
+ assert_throws({name: conversionTable[i][1]}, function () {
+ incorrectCallback = conversionTable[i][0];
+ tizen.tvwindow.rotateSource("ROTATION_180", rotateSuccess, incorrectCallback);
+ }, "exception should be thrown. Given - " + format_value(rotateSuccess, conversionTable[i][0]));
+ }
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource();
+ }, "NotSupportError should be thrown.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_errorCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_errorCallback_invalid_cb
+//==== LABEL Check if TVWindowManager:rotateSource() method throws exception when errorCallback is invalid
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), invalidCallback, rotateSuccess;
+
+t.step(function () {
+ if (PRODUCT_TYPE === "4"){
+ rotateSuccess = t.step_func(function () {
+ assert_unreached("rotateSource() success callback invoked");
+ });
+
+ invalidCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("rotateSource() invalid error callback invoked");
+ })
+ };
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", rotateSuccess, invalidCallback);
+ }, "Given invalid error callback");
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource();
+ }, "NotSupportError should be thrown.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_exist
+//==== LABEL Check if TVWindowManager::rotateSource() method exists.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ check_method_exists(tizen.tvwindow, "rotateSource");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_misarg
+//==== LABEL Check if TVWindowManager:rotateSource() throws exception when argument is missing.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ if (PRODUCT_TYPE === "4"){
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource();
+ }, "Not given any argument.");
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource();
+ }, "NotSupportError should be thrown.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_rotation_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_rotation_TypeMismatch
+//==== LABEL Check if TVWindowManager:rotateSource() with incorrect argument throws an exception.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), i, conversionTable, incorrectEnum, rotationSuccess, rotationError;
+
+t.step(function () {
+ if (PRODUCT_TYPE === "4"){
+ rotationSuccess = t.step_func(function () {
+ assert_unreached("rotateSource() success callback invoked");
+ });
+
+ rotationError = t.step_func(function () {
+ assert_unreached("rotateSource() error callback invoked");
+ });
+
+ conversionTable = getTypeConversionExceptions("enum", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ assert_throws({name: conversionTable[i][1]}, function () {
+ incorrectEnum = conversionTable[i][0];
+ tizen.tvwindow.rotateSource(incorrectEnum, rotationSuccess, rotationError)
+ }, "Given - " + format_value(conversionTable[i][0]));
+ }
+ } else {
+ rotationSuccess = t.step_func(function () {
+ });
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess);
+ }, "NotSupportError should be thrown.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_successCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_successCallback_TypeMismatch
+//==== LABEL Check type conversions for successCallback argument of TVWindowManager:rotateSource() throws an exception.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ if (PRODUCT_TYPE === "4"){
+ var conversionTable, i, incorrectCallback;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+ for (i = 0; i < conversionTable.length; i++) {
+ assert_throws({name: conversionTable[i][1]}, function () {
+ incorrectCallback = conversionTable[i][0];
+ tizen.tvwindow.rotateSource("ROTATION_180", incorrectCallback);
+ }, "exception should be thrown. Given - " + format_value(conversionTable[i][0]));
+ }
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource();
+ }, "NotSupportError should be thrown.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_successCallback_invalid_cb</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_successCallback_invalid_cb
+//==== LABEL Check if TVWindowManager:rotateSource() method throws exception when successCallback is invalid
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MTCB
+
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), invalidCallback;
+
+t.step(function () {
+ if (PRODUCT_TYPE === "4"){
+ invalidCallback = {
+ onerror: t.step_func(function (error) {
+ assert_unreached("rotateSource invalid error callback invoked");
+ })
+ };
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", invalidCallback);
+ }, "Given invalid error callback");
+ } else {
+ rotationSuccess = t.step_func(function () {
+ });
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess);
+ }, "NotSupportError should be thrown.");
+ }
+ t.done();
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2023 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Chen Chen <chen89.chen@samsung.com>
+
+-->
+<html>
+<head>
+<title>TVWindowManager_rotateSource_with_errorCallback</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/window_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: TVWindowManager_rotateSource_with_errorCallback
+//==== LABEL Check if TVWindowManager:rotateSource() method with errorCallback works properly.
+//==== SPEC Tizen Web API:TBD:TVWindow:TVWindowManager:rotateSource M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MOA MR
+
+setup({timeout: 15000});
+
+var t = async_test(document.title, {timeout: 15000}), returnedValue = null, showSuccess, showError, rotationSuccess, rotationError;
+
+t.step(function () {
+ rotationError = t.step_func(function (error) {
+ assert_unreached("rotationError() error callback: name:" + error.name + ", msg:" + error.message);
+ });
+
+ rotationSuccess = t.step_func(function () {
+ t.done();
+ });
+
+ showError = t.step_func(function (error) {
+ assert_unreached("showError() error callback: name:" + error.name + ", msg:" + error.message);
+ });
+
+ showSuccess = t.step_func(function (windowRect, type) {
+ if (PRODUCT_TYPE === "4"){
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess, rotationError);
+ } else {
+ assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
+ tizen.tvwindow.rotateSource("ROTATION_180", rotationSuccess, rotationError);
+ }, "NotSupportError should be thrown.");
+ t.done();
+ }
+ });
+
+ tizen.tvwindow.show(showSuccess, showError, ["0%", "0%", "20%", "20%"]);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
-/*
-
-Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-NOT_SUPPORTED_EXCEPTION = {name: 'NotSupportedError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'double':
- assert_equals(typeof (obj), 'number', description);
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is different.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is different.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
-
-/**
- * Method to validate type checking of method argument.
- * Example usage:
- * checkTypeMismatch("enum", true, function(argumentToCheck) {
- * tizen.tvchannel.tune(CHANNEL_MAJOR, CHANNEL_MINOR, successCallback, errorCallback, {}, argumentToCheck);
- * });
- *
- *
- * @param conversionType
- * @param isOptional
- * @param functionToCheck
- */
-function checkTypeMismatch(conversionType, isOptional, functionToCheck) {
- var conversionTable, argumentToCheck, exceptionName, i;
-
- conversionTable = getTypeConversionExceptions(conversionType, isOptional);
- for(i = 0; i < conversionTable.length; i++) {
- argumentToCheck = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- functionToCheck(argumentToCheck);
- },
- "Given argument of incorrect type: " + format_value(argumentToCheck)
- );
- }
-}
+/*\r
+\r
+Copyright (c) 2014 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+\r
+\r
+Authors:\r
+\r
+ */\r
+\r
+\r
+MIN_BYTE = -128;\r
+MAX_BYTE = 127;\r
+MIN_OCTET = 0;\r
+MAX_OCTET = 255;\r
+MIN_SHORT = -32768;\r
+MAX_SHORT = 32767;\r
+MIN_UNSIGNED_SHORT = 0;\r
+MAX_UNSIGNED_SHORT = 65535;\r
+MIN_LONG = -2147483648;\r
+MAX_LONG = 2147483647;\r
+MIN_UNSIGNED_LONG = 0;\r
+MAX_UNSIGNED_LONG = 4294967295;\r
+MIN_LONG_LONG = -9223372036854775808;\r
+MAX_LONG_LONG = 9223372036854775807;\r
+MIN_UNSIGNED_LONG_LONG = 0;\r
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;\r
+\r
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};\r
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};\r
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};\r
+IO_EXCEPTION = {name: 'IOError'};\r
+SECURITY_EXCEPTION = {name: 'SecurityError'};\r
+NOT_SUPPORTED_EXCEPTION = {name: 'NotSupportedError'};\r
+\r
+(function () {\r
+ var head_src = document.head.innerHTML;\r
+ if (head_src.search(/\/testharness.js\W/) === -1) {\r
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');\r
+ }\r
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {\r
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');\r
+ }\r
+})();\r
+\r
+var _registered_types = {};\r
+\r
+function _resolve_registered_type(type) {\r
+ while (type in _registered_types) {\r
+ type = _registered_types[type];\r
+ }\r
+ return type;\r
+}\r
+\r
+/**\r
+ * Method checks extra argument for none argument method.\r
+ * The only check is that method will not throw an exception.\r
+ * Example usage:\r
+ * checkExtraArgument(tizen.notification, "removeAll");\r
+ *\r
+ * @param object object\r
+ * @param methodName string - name of the method\r
+ */\r
+function checkExtraArgument(object, methodName) {\r
+ var extraArgument = [\r
+ null,\r
+ undefined,\r
+ "Tizen",\r
+ 1,\r
+ false,\r
+ ["one", "two"],\r
+ {argument: 1},\r
+ function () {}\r
+ ], i;\r
+\r
+ for (i = 0; i < extraArgument.length; i++) {\r
+ object[methodName](extraArgument[i]);\r
+ }\r
+}\r
+\r
+/**\r
+ * Method to validate conversion.\r
+ * Example usage:\r
+ * conversionTable = getTypeConversionExceptions("functionObject", true);\r
+ * for(i = 0; i < conversionTable.length; i++) {\r
+ * errorCallback = conversionTable[i][0];\r
+ * exceptionName = conversionTable[i][1];\r
+ *\r
+ * assert_throws({name : exceptionName},\r
+ * function () {\r
+ * tizen.systemsetting.setProperty("HOME_SCREEN",\r
+ * propertyValue, successCallback, errorCallback);\r
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");\r
+ * }\r
+ *\r
+ * @param conversionType\r
+ * @param isOptional\r
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)\r
+ *\r
+ */\r
+function getTypeConversionExceptions(conversionType, isOptional) {\r
+ var exceptionName = "TypeMismatchError",\r
+ conversionTable;\r
+ switch (conversionType) {\r
+ case "enum":\r
+ conversionTable = [\r
+ [undefined, exceptionName],\r
+ [0, exceptionName],\r
+ [true, exceptionName],\r
+ ["dummyInvalidEnumValue", exceptionName],\r
+ [{ }, exceptionName]\r
+ ];\r
+ if (!isOptional) {\r
+ conversionTable.push([null, exceptionName]);\r
+ }\r
+ break;\r
+ case "double":\r
+ conversionTable = [\r
+ [undefined, exceptionName],\r
+ [NaN, exceptionName],\r
+ [Number.POSITIVE_INFINITY, exceptionName],\r
+ [Number.NEGATIVE_INFINITY, exceptionName],\r
+ ["TIZEN", exceptionName],\r
+ [{ name : "TIZEN" }, exceptionName],\r
+ [function () { }, exceptionName]\r
+ ];\r
+ break;\r
+ case "object":\r
+ conversionTable = [\r
+ [true, exceptionName],\r
+ [false, exceptionName],\r
+ [NaN, exceptionName],\r
+ [0, exceptionName],\r
+ ["", exceptionName],\r
+ ["TIZEN", exceptionName],\r
+ [undefined, exceptionName]\r
+ ];\r
+ if (!isOptional) {\r
+ conversionTable.push([null, exceptionName]);\r
+ }\r
+ break;\r
+ case "functionObject":\r
+ conversionTable = [\r
+ [true, exceptionName],\r
+ [false, exceptionName],\r
+ [NaN, exceptionName],\r
+ [0, exceptionName],\r
+ ["", exceptionName],\r
+ ["TIZEN", exceptionName],\r
+ [[], exceptionName],\r
+ [{ }, exceptionName],\r
+ [undefined, exceptionName]\r
+ ];\r
+ if (!isOptional) {\r
+ conversionTable.push([null, exceptionName]);\r
+ }\r
+ break;\r
+ case "array":\r
+ conversionTable = [\r
+ [true, exceptionName],\r
+ [false, exceptionName],\r
+ [NaN, exceptionName],\r
+ [0, exceptionName],\r
+ ["", exceptionName],\r
+ ["TIZEN", exceptionName],\r
+ [{ }, exceptionName],\r
+ [function () { }, exceptionName],\r
+ [undefined, exceptionName]\r
+ ];\r
+ if (!isOptional) {\r
+ conversionTable.push([null, exceptionName]);\r
+ }\r
+ break;\r
+ case "dictionary":\r
+ conversionTable = [\r
+ [true, exceptionName],\r
+ [false, exceptionName],\r
+ [NaN, exceptionName],\r
+ [0, exceptionName],\r
+ ["", exceptionName],\r
+ ["TIZEN", exceptionName],\r
+ [undefined, exceptionName]\r
+ ];\r
+ if (!isOptional) {\r
+ conversionTable.push([null, exceptionName]);\r
+ }\r
+ break;\r
+ default:\r
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");\r
+ };\r
+\r
+ return conversionTable;\r
+}\r
+\r
+\r
+function assert_type(obj, type, description) {\r
+ var org_type = type, prop_name, prop_type, prop_value;\r
+\r
+ type = _resolve_registered_type(type);\r
+\r
+ if (typeof (type) === 'string') {\r
+ type = type.toLowerCase();\r
+ switch (type) {\r
+ case 'object':\r
+ case 'string':\r
+ case 'number':\r
+ case 'function':\r
+ case 'boolean':\r
+ case 'undefined':\r
+ case 'xml':\r
+ assert_equals(typeof (obj), type, description);\r
+ break;\r
+ case 'null':\r
+ assert_true(obj === null, description);\r
+ break;\r
+ case 'array':\r
+ assert_true(Array.isArray(obj), description);\r
+ break;\r
+ case 'date':\r
+ assert_true(obj instanceof Date, description);\r
+ break;\r
+ case 'byte':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");\r
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'octet':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");\r
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'short':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");\r
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'unsigned short':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");\r
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'long':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");\r
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'unsigned long':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");\r
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'long long':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");\r
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'unsigned long long':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");\r
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");\r
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");\r
+ break;\r
+ case 'double':\r
+ assert_equals(typeof (obj), 'number', description);\r
+ break;\r
+ default:\r
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');\r
+ }\r
+ } else if (typeof (type) === 'function') {\r
+ assert_true(obj instanceof type, description);\r
+ } else if (typeof (type) === 'object') {\r
+ for (prop_name in type) {\r
+ prop_type = type[prop_name];\r
+ if (prop_type === 'function') {\r
+ assert_inherits(obj, prop_name);\r
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);\r
+ } else {\r
+ assert_own_property(obj, prop_name);\r
+ }\r
+ }\r
+ } else {\r
+ assert_unreached('Fix your test. Wrong type ' + org_type);\r
+ }\r
+}\r
+\r
+function register_type(alias, type_spec) {\r
+ _registered_types[alias] = type_spec;\r
+}\r
+\r
+/**\r
+ * Method to check if attribute is const.\r
+ * Example usage:\r
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);\r
+ *\r
+ * @param obj object to test which has const attribute\r
+ * @param attributeName attribute name.\r
+ * @param expectedValue expected value of provided attribute name\r
+ * @param expectedType expected type of provided attribute name\r
+ * @param valueToAssign value to assign in order to check if attribute value can be modified\r
+ */\r
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {\r
+ var tmp;\r
+ if (expectedValue === valueToAssign) {\r
+ assert_unreached("Fix your test. The same values given for " + attributeName +\r
+ " in 'value' and 'valueToSet' arguments.");\r
+ }\r
+ if (typeof (attributeName) === "string") {\r
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");\r
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is different.");\r
+ if (typeof (expectedType) !== "undefined") {\r
+ if (expectedValue === null) {\r
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");\r
+ } else {\r
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");\r
+ }\r
+ } else {\r
+ assert_unreached("Fix your test. Wrong type " + expectedType);\r
+ }\r
+ tmp = obj[attributeName];\r
+ obj[attributeName] = valueToAssign;\r
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");\r
+ } else {\r
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));\r
+ }\r
+}\r
+\r
+/**\r
+ * Method to check if attribute is readonly.\r
+ * Example usage:\r
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());\r
+ *\r
+ * @param obj object to test which has readonly attribute\r
+ * @param attributeName attribute name.\r
+ * @param expectedValue expected value of provided attribute name\r
+ * @param expectedType expected type of provided attribute name\r
+ * @param valueToAssign value to assign in order to check if attribute value can be modified\r
+ */\r
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {\r
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);\r
+}\r
+\r
+/**\r
+ * Method to check if attribute can be set to null.\r
+ * Example usage:\r
+ * check_not_nullable(syncInfo, "mode");\r
+ *\r
+ * @param obj object to test which has not nullable attribute\r
+ * @param attributeName attribute name.\r
+ */\r
+function check_not_nullable(obj, attributeName)\r
+{ var old_value = obj[attributeName];\r
+ obj[attributeName] = null;\r
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");\r
+ obj[attributeName] = old_value;\r
+}\r
+\r
+/**\r
+ * Method to check NoInterfaceObject\r
+ * Example usage:\r
+ * check_no_interface_object("BluetoothAdapter")\r
+ *\r
+ * @param interfaceName interface name\r
+ */\r
+function check_no_interface_object(interfaceName) {\r
+ assert_throws({name: "TypeError"}, function () {\r
+ tizen[interfaceName]();\r
+ },"Wrong call as a function");\r
+ assert_throws({name: "TypeError"}, function () {\r
+ new tizen[interfaceName]();\r
+ },"Wrong call as a new function");\r
+ assert_throws({name: "TypeError"}, function () {\r
+ ({}) instanceof tizen[interfaceName];\r
+ },"instanceof exception");\r
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");\r
+}\r
+\r
+\r
+/**\r
+ * Method to check Constructors\r
+ * Example usage:\r
+ * check_constructor("BluetoothAdapter")\r
+ *\r
+ * @param constructorName constructor name\r
+ */\r
+\r
+function check_constructor(constructorName) {\r
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");\r
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);\r
+ assert_throws({\r
+ name: "TypeError"\r
+ }, function () {\r
+ tizen[constructorName]();\r
+ }, "Constructor called as function.");\r
+}\r
+\r
+/**\r
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).\r
+ * That method also checks if given method exists in a given object.\r
+ * Example usage:\r
+ * check_method_exists(tizen.notification, "get");\r
+ *\r
+ * @param obj object with method\r
+ * @param methodName name of the method to check.\r
+ */\r
+function check_method_exists(obj, methodName) {\r
+ assert_type(obj[methodName], 'function', "Method does not exist.");\r
+}\r
+\r
+/**\r
+ * Method to check extensibility of given object.\r
+ * Method checks if new attribute and method can be added.\r
+ * Example usage:\r
+ * check_extensibility(tizen.notification);\r
+ *\r
+ * @param obj object to check\r
+ */\r
+function check_extensibility(obj) {\r
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";\r
+ obj.newDummyMethod = function() {\r
+ return dummyMethodResult;\r
+ }\r
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");\r
+\r
+ obj.newDummyAttribute = dummyAttribute;\r
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");\r
+}\r
+\r
+/**\r
+ * Method to check if attribute can be modify.\r
+ * Example usage:\r
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");\r
+ *\r
+ * @param obj object to test which has not readonly attribute\r
+ * @param attributeName attribute name.\r
+ * @param expectedValue expected value of provided attribute name\r
+ * @param expectedType expected type of provided attribute name\r
+ * @param valueToAssign value to assign in order to check if attribute value can be modified\r
+ */\r
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {\r
+ if (expectedValue === valueToAssign) {\r
+ assert_unreached("Fix your test. The same values given for " + attributeName +\r
+ " in 'value' and 'valueToSet' arguments.");\r
+ }\r
+ if (typeof (attributeName) === "string") {\r
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");\r
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is different.");\r
+ if (typeof (expectedType) !== "undefined") {\r
+ if (expectedValue === null) {\r
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");\r
+ } else {\r
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");\r
+ }\r
+ } else {\r
+ assert_unreached("Fix your test. Wrong type " + expectedType);\r
+ }\r
+ obj[attributeName] = valueToAssign;\r
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");\r
+ } else {\r
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));\r
+ }\r
+}\r
+\r
+/**\r
+ * Method to check if whole array can be overwritten with an invalid value.\r
+ * Sample usage:\r
+ * check_invalid_array_assignments(message, "to", false);\r
+ *\r
+ * @param obj object which has the array as its property\r
+ * @param array name of the array to check\r
+ * @param isNullable indicates if the array can be null\r
+ */\r
+function check_invalid_array_assignments(obj, array, isNullable) {\r
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],\r
+ val = obj[array], i;\r
+\r
+ if (!isNullable) {\r
+ obj[array] = null;\r
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");\r
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");\r
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");\r
+ }\r
+\r
+ for (i = 0 ; i < args.length ; i++) {\r
+ obj[array] = args[i];\r
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");\r
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");\r
+ }\r
+}\r
+\r
+/**\r
+ * Method to check if an object can be overwritten with an invalid value.\r
+ * Sample usage:\r
+ * check_invalid_object_assignments(message, "body", false);\r
+ *\r
+ * @param parentObj object which has the 'obj' object as its property\r
+ * @param obj name of the object to check\r
+ * @param isNullable indicates if the object can be null\r
+ */\r
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {\r
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],\r
+ val = parentObj[obj], i;\r
+\r
+ if (!isNullable) {\r
+ parentObj[obj] = null;\r
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");\r
+ }\r
+\r
+ for (i = 0 ; i < args.length ; i++) {\r
+ parentObj[obj] = args[i];\r
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);\r
+ }\r
+}\r
+\r
+/**\r
+ * Method to validate conversion for listeners.\r
+ * Example usage:\r
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);\r
+ * for(i = 0; i < incorrectListeners.length; i++) {\r
+ * packageInformationEventCallback = incorrectListeners[i][0];\r
+ * exceptionName = incorrectListeners[i][1];\r
+ * assert_throws({name : exceptionName},\r
+ * function () {\r
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);\r
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");\r
+ * }\r
+ *\r
+ *\r
+ * @param callbackNames Array with names\r
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)\r
+ *\r
+ */\r
+function getListenerConversionExceptions(callbackNames) {\r
+ var result = [], conversionTable, i, j, listenerName;\r
+ conversionTable = getTypeConversionExceptions("functionObject", false);\r
+\r
+ for (i = 0; i < callbackNames.length; i++) {\r
+ for (j = 0; j < conversionTable.length; j++) {\r
+ listenerName = {};\r
+ listenerName[callbackNames[i]] = conversionTable[j][0];\r
+ result.push([listenerName, conversionTable[j][1]]);\r
+ }\r
+ }\r
+\r
+ return result;\r
+}\r
+\r
+/**\r
+ * Method to validate type checking of method argument.\r
+ * Example usage:\r
+ * checkTypeMismatch("enum", true, function(argumentToCheck) {\r
+ * tizen.tvchannel.tune(CHANNEL_MAJOR, CHANNEL_MINOR, successCallback, errorCallback, {}, argumentToCheck);\r
+ * });\r
+ *\r
+ *\r
+ * @param conversionType\r
+ * @param isOptional\r
+ * @param functionToCheck\r
+ */\r
+function checkTypeMismatch(conversionType, isOptional, functionToCheck) {\r
+ var conversionTable, argumentToCheck, exceptionName, i;\r
+\r
+ conversionTable = getTypeConversionExceptions(conversionType, isOptional);\r
+ for(i = 0; i < conversionTable.length; i++) {\r
+ argumentToCheck = conversionTable[i][0];\r
+ exceptionName = conversionTable[i][1];\r
+\r
+ assert_throws({name: exceptionName},\r
+ function () {\r
+ functionToCheck(argumentToCheck);\r
+ },\r
+ "Given argument of incorrect type: " + format_value(argumentToCheck)\r
+ );\r
+ }\r
+}\r
*/
+PRODUCT_TYPE = webapis.featureconfig.getFeatureConfigString("com.samsung/featureconf/product.product_type");
+
var ENUM_CHANNEL_WINDOW_TYPE = ["MAIN"];
var ENUM_CHANNEL_WINDOW_SOURCE_TYPE = [