[mobile][widgetservice][sync test case from suprem] 34/111334/1
authormengli.zhang <mengli.zhang@samsung.com>
Fri, 20 Jan 2017 18:53:20 +0000 (13:53 -0500)
committermengli.zhang <mengli.zhang@samsung.com>
Fri, 20 Jan 2017 18:53:27 +0000 (13:53 -0500)
Change-Id: Ib7872791a14c277610061e934c5a13e30a04b43c
Signed-off-by: mengli.zhang <mengli.zhang@samsung.com>
76 files changed:
mobile/tct-widgetservice-tizen-tests/bin/widget3 [deleted file]
mobile/tct-widgetservice-tizen-tests/bin/widgetaarch64 [new file with mode: 0755]
mobile/tct-widgetservice-tizen-tests/bin/widgetarm [new file with mode: 0644]
mobile/tct-widgetservice-tizen-tests/bin/widgetx86 [new file with mode: 0755]
mobile/tct-widgetservice-tizen-tests/bin/widgetx86_64 [new file with mode: 0755]
mobile/tct-widgetservice-tizen-tests/inst.wgt.py
mobile/tct-widgetservice-tizen-tests/tests.full.xml
mobile/tct-widgetservice-tizen-tests/tests.xml
mobile/tct-widgetservice-tizen-tests/tizen-manifest.xml
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetChangeCallback_onchange.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetContentCallback_onsuccess.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_changeUpdatePeriod.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_changeUpdatePeriod_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_changeUpdatePeriod_seconds_invalid.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_extend.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_errorCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_errorCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_misarg.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_successCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_getContent_successCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_id_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_sendContent.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_sendContent_data_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_sendContent_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_sendContent_misarg.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstance_widget_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetInstancesCallback_onsuccess.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetServiceManager_getPrimaryWidgetId.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetServiceManager_getWidget.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_extend.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_height_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_needsFrame_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_needsMouseEvents_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_needsTouchEffect_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_previewImagePath_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_sizeType_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariant_width_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/WidgetVariantsCallback_onsuccess.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_addStateChangeListener.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_addStateChangeListener_callback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_addStateChangeListener_callback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_addStateChangeListener_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_addStateChangeListener_misarg.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_applicationId_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_extend.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_errorCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_errorCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_errorCallback_invoked_NotFoundError.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_misarg.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_successCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_successCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getInstances_with_errorCallback.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getName.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getName_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getName_with_locale.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariant.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariant_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariant_sizeType_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_errorCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_errorCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_misarg.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_successCallback_TypeMismatch.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_successCallback_invalid_cb.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_getVariants_with_errorCallback.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_id_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_noDisplay_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_packageId_attribute.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_removeStateChangeListener.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_removeStateChangeListener_exist.html
mobile/tct-widgetservice-tizen-tests/widgetservice/Widget_setupApplicationId_attribute.html

diff --git a/mobile/tct-widgetservice-tizen-tests/bin/widget3 b/mobile/tct-widgetservice-tizen-tests/bin/widget3
deleted file mode 100644 (file)
index 7b5e0cc..0000000
Binary files a/mobile/tct-widgetservice-tizen-tests/bin/widget3 and /dev/null differ
diff --git a/mobile/tct-widgetservice-tizen-tests/bin/widgetaarch64 b/mobile/tct-widgetservice-tizen-tests/bin/widgetaarch64
new file mode 100755 (executable)
index 0000000..d520e91
Binary files /dev/null and b/mobile/tct-widgetservice-tizen-tests/bin/widgetaarch64 differ
diff --git a/mobile/tct-widgetservice-tizen-tests/bin/widgetarm b/mobile/tct-widgetservice-tizen-tests/bin/widgetarm
new file mode 100644 (file)
index 0000000..bbf5c87
Binary files /dev/null and b/mobile/tct-widgetservice-tizen-tests/bin/widgetarm differ
diff --git a/mobile/tct-widgetservice-tizen-tests/bin/widgetx86 b/mobile/tct-widgetservice-tizen-tests/bin/widgetx86
new file mode 100755 (executable)
index 0000000..935f3ab
Binary files /dev/null and b/mobile/tct-widgetservice-tizen-tests/bin/widgetx86 differ
diff --git a/mobile/tct-widgetservice-tizen-tests/bin/widgetx86_64 b/mobile/tct-widgetservice-tizen-tests/bin/widgetx86_64
new file mode 100755 (executable)
index 0000000..55bb17d
Binary files /dev/null and b/mobile/tct-widgetservice-tizen-tests/bin/widgetx86_64 differ
index ae722388c07720d4e315806a8e30105e657b2d16..5e4c9171301b7c5b257d0c1fa5d98bf89659e08c 100644 (file)
@@ -20,7 +20,15 @@ tct_parser = ConfigParser.ConfigParser()
 tct_parser.read(TCT_CONFIG_FILE)
 SRC_DIR = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
 PKG_SRC_DIR = "%s/tct/opt/%s" % (SRC_DIR, PKG_NAME)
+EXECUTION_MODE_30 = tct_parser.get('DEVICE', 'DEVICE_EXECUTION_MODE_30')
+ADMIN_USER_30 = tct_parser.get('DEVICE', 'DEVICE_ADMIN_USER_30')
 
+def userCheck():
+    global GLOVAL_OPT
+    if ADMIN_USER_30 == EXECUTION_MODE_30:
+        GLOVAL_OPT="--global"
+    else:
+        GLOVAL_OPT=""
 
 def doCMD(cmd):
     # Do not need handle timeout in this short script, let tool do it
@@ -116,7 +124,7 @@ def uninstPKGs():
                     action_status = False
                     continue
                 (return_code, output) = doRemoteCMD(
-                    "pkgcmd -u -t wgt -q -n %s" % pkg_id)
+                    "pkgcmd %s -u -t wgt -q -n %s" % (GLOVAL_OPT, pkg_id))
                 for line in output:
                     if "Failure" in line:
                         action_status = False
@@ -145,7 +153,7 @@ def instPKGs():
                 if not doRemoteCopy(os.path.join(root, file), "%s/%s" % (SRC_DIR, file)):
                     action_status = False
                 (return_code, output) = doRemoteCMD(
-                    "pkgcmd -i -t wgt -q -p %s/%s" % (SRC_DIR, file))
+                    "pkgcmd %s -i -t wgt -q -p %s/%s" % (GLOVAL_OPT, SRC_DIR, file))
                 doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, file))
                 for line in output:
                     if "Failure" in line:
@@ -187,7 +195,7 @@ def main():
         sys.exit(1)
 
     if not PARAMETERS.user:
-        PARAMETERS.user = "owner"
+        PARAMETERS.user = EXECUTION_MODE_30
     if not PARAMETERS.mode:
         PARAMETERS.mode = "SDB"
 
@@ -205,6 +213,8 @@ def main():
         print "No device provided"
         sys.exit(1)
 
+    userCheck()
+
     user_info = getUSERID()
     re_code = user_info[0]
     if re_code == 0 :
index 23f483eed6e62b56993f11adaeca9cdb07741c01..b08d7aefff47c35f49fbf93c7ff70bec69ffcf83 100644 (file)
       </testcase>
       <testcase purpose="Check if onchange() is called with valid argument" type="compliance" onload_delay="120" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetChangeCallback_onchange">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if onsuccess() is called with valid argument" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetContentCallback_onsuccess">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::changeUpdatePeriod method works correctly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_changeUpdatePeriod">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::changeUpdatePeriod method exists" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_changeUpdatePeriod_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if changeUpdatePeriod method throws InvalidValuesError when seconds is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_changeUpdatePeriod_seconds_invalid">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance object is extendable" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P3" id="WidgetInstance_extend">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent method works correctly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_getContent">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent with incorrect errorCallback argument throws an exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_errorCallback_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent throws exception when errorCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_errorCallback_invalid_cb">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent method exists" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_getContent_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent throws exception when mandatory params are missing" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_misarg">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent with incorrect successCallback argument throws an exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_successCallback_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent throws exception when successCallback is invalid" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_successCallback_invalid_cb">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if attribute id of WidgetInstance exists, has type string and is readonly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_id_attribute">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent method works correctly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_sendContent">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:sendContent with incorrect data argument throws an exception" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_sendContent_data_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent method exists" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_sendContent_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent throws exception when mandatory params are missing" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_sendContent_misarg">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if attribute widget of WidgetInstance exists, has type object and is readonly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_widget_attribute">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Test whether WidgetInstancesCallback:onsuccess is called with argument of proper type" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstancesCallback_onsuccess">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::addStateChangeListener method works correctly" type="compliance" onload_delay="120" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_addStateChangeListener">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::getInstances method works correctly" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_getInstances">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::getInstances method works correctly with errorCallback" type="compliance" onload_delay="90" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_getInstances_with_errorCallback">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::removeStateChangeListener method works correctly" type="compliance" onload_delay="120" status="approved" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_removeStateChangeListener">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
index 809201971917574d4640c468833534544a9084cd..c38e5ea64a9f8b8fdee8d114acbf40ea27971904 100644 (file)
       </testcase>
       <testcase purpose="Check if onchange() is called with valid argument" onload_delay="120" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetChangeCallback_onchange">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if onsuccess() is called with valid argument" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetContentCallback_onsuccess">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::changeUpdatePeriod method works correctly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_changeUpdatePeriod">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::changeUpdatePeriod method exists" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_changeUpdatePeriod_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if changeUpdatePeriod method throws InvalidValuesError when seconds is invalid" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_changeUpdatePeriod_seconds_invalid">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance object is extendable" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P3" id="WidgetInstance_extend">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent method works correctly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_getContent">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent with incorrect errorCallback argument throws an exception" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_errorCallback_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent throws exception when errorCallback is invalid" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_errorCallback_invalid_cb">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent method exists" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_getContent_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::getContent throws exception when mandatory params are missing" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_misarg">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent with incorrect successCallback argument throws an exception" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_successCallback_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:getContent throws exception when successCallback is invalid" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_getContent_successCallback_invalid_cb">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if attribute id of WidgetInstance exists, has type string and is readonly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_id_attribute">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent method works correctly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_sendContent">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance:sendContent with incorrect data argument throws an exception" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_sendContent_data_TypeMismatch">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent method exists" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P0" id="WidgetInstance_sendContent_exist">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if WidgetInstance::sendContent throws exception when mandatory params are missing" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P2" id="WidgetInstance_sendContent_misarg">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if attribute widget of WidgetInstance exists, has type object and is readonly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstance_widget_attribute">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Test whether WidgetInstancesCallback:onsuccess is called with argument of proper type" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="WidgetInstancesCallback_onsuccess">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::addStateChangeListener method works correctly" onload_delay="120" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_addStateChangeListener">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::getInstances method works correctly" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_getInstances">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::getInstances method works correctly with errorCallback" onload_delay="90" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_getInstances_with_errorCallback">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
       </testcase>
       <testcase purpose="Check if Widget::removeStateChangeListener method works correctly" onload_delay="120" component="Tizen Device APIs/TBD/WidgetService" execution_type="manual" priority="P1" id="Widget_removeStateChangeListener">
         <description>
-          <pre_condition>"widget3" widget should be added to home screen.</pre_condition>
+          <pre_condition>32 bit TARGET : "widgetarm" widget should be added to home screen.
+                              64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+                              32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+                              64 bit EMULATOR : "widgetx86_64" widget should be added to home screen. </pre_condition>
           <steps>
             <step order="1">
               <step_desc>press [Run] button in the test case.</step_desc>
index 686bc509e9f3491f6577a38e5ce61153ca7b92c8..cadd4508edda75d5ad69d88f561d73a8820fe1d5 100644 (file)
@@ -1,9 +1,24 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="apiwidserv" version="1.0.0">
+<manifest xmlns="http://tizen.org/ns/packages" api-version="2.4" package="apiwidserv" version="1.0.0">
     <profile name="mobile"/>
-    <widget-application appid="apiwidserv.widget3" exec="widget3" main="true" update-period="0">
-        <label>widget3</label>
+    <widget-application appid="apiwidserv.widgetx86" exec="widgetx86" main="false" update-period="0">
+        <label>widgetx86</label>
         <icon>icon.png</icon>
         <support-size preview="preview.png">4x4</support-size>
     </widget-application>
-</manifest>
\ No newline at end of file
+    <widget-application appid="apiwidserv.widgetaarch64" exec="widgetaarch64" main="false" update-period="0">
+        <label>widgetaarch64</label>
+        <icon>icon.png</icon>
+        <support-size preview="preview.png">4x4</support-size>
+    </widget-application>
+    <widget-application appid="apiwidserv.widgetarm" exec="widgetarm" main="true" update-period="0">
+        <label>widgetarm</label>
+        <icon>icon.png</icon>
+        <support-size preview="preview.png">4x4</support-size>
+    </widget-application>
+    <widget-application appid="apiwidserv.widgetx86_64" exec="widgetx86_64" main="false" update-period="0">
+        <label>widgetx86_64</label>
+        <icon>icon.png</icon>
+        <support-size preview="preview.png">4x4</support-size>
+    </widget-application>
+</manifest>
index 158df9891a64b7681afaf6542521b8e3f984ded9..074f7c4b0bd7e829e839cd1492109a4623aef13d 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 120
@@ -63,10 +66,28 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     watchId = myWidget.addStateChangeListener(widgetChangeCb);
-    alert("Go to home screen to delete 'test' widget before press [OK] button");
+    alert("Go to home screen to delete the added widget before press [OK] button");
 });
 
 </script>
index 97096598a4d870c91edc1ba2f8ea85597905f012..d443379b15a034a624a34c7775f58501ee1b831c 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -65,7 +68,25 @@ t.step(function () {
         wdInstance.getContent(contentSuccessCb, contentErrorCb);
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 2afaf2d47771a54d63eb1e78435319000f5f20f1..cd4343607c9f2c73791511a84df9dadccde0f065 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -55,7 +58,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 1560cb439ef5f6f784b03f3580210aaa694274fd..f574b22b26dd086baeb2650d6f9981538c145889 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P0
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 9c73d97451a5041ffa3fafc62f7fb622cd6e440b..45d701b212b745f162bce082aa4dbeea2920b07f 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -56,7 +59,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 5fd24da7d155817571bfe936fe9b367296a6668b..c1a2244ca91ad067edfc8cc05a1f7806f0a17202 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P3
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 1a117f4b08a954cf3b9f73b600c9bbcd442c5a43..efab3eeada7b6057ff87c571992c9caba35383f0 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -63,7 +66,25 @@ t.step(function () {
         retVal = wdInstance.getContent(contentSuccessCb, contentErrorCb);
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index bae9f49e70083ba3bd3f10ec6fb9fd5eae376bb6..3bd577bd32fda8e107bed238642c6ee7e55f9cee 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -64,7 +67,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 9f9b3710b3ab250e2e05cad5fdc689df86cb4d94..9d67751b7dca3696891f9f3e6c9462dd5384490e 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -67,7 +70,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index e254b69117c6c2f9a9c475bff8acdebe246f5dea..5648c42d9b877aa801dcc0de8022076424e142bf 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P0
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index d8256ffae6d7d9ae643dd1f1ba9935b9bf8fa272..4d7d1ffba9dd538fe98f02058d9ea3d2a53321f4 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -56,7 +59,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 99576ee45200da83598968acb28a96c8c80963d3..039a2f4753303401578de8192709f935c1e2286f 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -64,7 +67,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index a3f846fbd41d67d230e79d275a2630d707df21f5..e3b666e75c304ef1683e2b40a9ca4504dc2ecd12 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -67,7 +70,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index ddc001c7fe4cca6e67d7e7b8d00afd3dc39cd9e9..9711a0e8a642b858473c445d089aebe4b6ed3dcb 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index d189710ca41f9198e39d45892d5ed5446606fa34..f2336d414f3a6331c96d5a2b22fdf93f3c9e4a31 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -56,7 +59,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     data = {
         data1 : 'test1',
index b10be8c7ce97877d17e99c3c7b2f9fd18eab2068..8d80e64c766ba5cd066785a8bc8f4a7b5299e81d 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -60,7 +63,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index f8d1675a0dbc3227a840de0d4d6ce7c15a044a03..d01029821576647703128815873575afe3941f3d 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P0
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 9e40616e577aef1249405fba56d9dd4339cf88fa..4b5fa3907efeba4b1fbe1708b563d37a3db8af51 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -56,7 +59,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 9c9bd706cc23fdf9d0d73ce94e295d19a5e1e2cf..01ced8eb20bf802600f5430eff1898563b46a518 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -57,7 +60,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 8e86db2f162a64a9d428a5a1174a353ab596642b..ea8a4ea315088c4674b1f577726c4c0054615437 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -54,7 +57,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 63cf67c1089e9aed9cbd82e30eb261aa731e9962..4f1132cfc44e659e4b683fc8f05549435d6788e1 100644 (file)
@@ -35,8 +35,9 @@ Authors:
 //==== TEST_CRITERIA MR
 
 test(function () {
-    var pkgId= "apiwidserv", id = "apiwidserv.widget3", widgetId;
+    var pkgId= "apiwidserv", id, widgetId;
 
+    id = "apiwidserv.widgetarm";
     widgetId = tizen.widgetservice.getPrimaryWidgetId(pkgId);
     assert_type(widgetId, "string", "widget should be string");
     assert_equals(widgetId, id, "widgetId should be equal to id.");
index 97b57923bc7bed40da3da87817d3365364d47ed4..c364d580192ef6336f31c1a2cc0cd9abb596766b 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA MR
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     assert_type(myWidget, "object", "widget should be an object");
index b4d972b2a1ba6cef620f555c8b9e7fd782f38b71..7c5c951757107eb90ef9b4d94369c558543ba153 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA OBX
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index 860c71be28f514973607b9facd416e62e9c1a008..e5b2ca08d510d86bc54ccf2b76878afabd78e116 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index f79630b52e83ab24d97250607f5362ca1d2ad848..acb6e7c22aa16a17285f22994c33623a4ccbd948 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index c35e4b15ce21aca933b3c71034a38de63d74fa38..4a147144c4c0fe5314e27450e0373f0b44615402 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index 2ca6fea014040fcb5ed6c66cf5527dbcec45c788..6cb4e046d2f2e0414cdca57d69d1f8b53e5599d5 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index bb0dc00e9de2051b19a9f9885c26201bc0b1259f..3536e4f388292016a1bc28f39ace913deca46c7c 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index 33fb00e19b9d52ebb019b51c006931db16867e2d..eeadc604d8ff54d17f47c46903b852aa4f804a85 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO AVL
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant, sizeTypeRange;
+    var id, myWidget, wdVariant, sizeTypeRange;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index ba5ad8453fbef5490ddd6dd80e513f3c39b4984e..5ad1f4800e984987dfbf36253557a16bd8a88328 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, wdVariant;
+    var id, myWidget, wdVariant;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     wdVariant = myWidget.getVariant("4x4");
index 962832700fa978e859406bc9b921b171bc3ea081..a1e7ccafe3f4a795725f9200485b578c82ee15d4 100644 (file)
@@ -45,7 +45,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getVariants(widgetSuccessCb);
 });
index d96aa68d0a6b3e45a1fae6cc47aafb9d082c2f3d..decb8f846682079621e58ce2b6c009daa8c6a346 100644 (file)
@@ -34,7 +34,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 120
@@ -57,10 +60,28 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     watchId = myWidget.addStateChangeListener(widgetChangeCb);
-    alert("Go to home screen to delete 'test' widget before press [OK] button");
+    alert("Go to home screen to delete the added widget before press [OK] button");
 });
 
 </script>
index f1fd9819cc05323c083cd9b99b4b09f5007b151c..69c11d0e6a2b422cc9c33785721125a42d28584b 100644 (file)
@@ -38,7 +38,25 @@ Authors:
 test(function () {
     var callback, i, conversionTable, exceptionName, id, myWidget;
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     conversionTable = getTypeConversionExceptions("functionObject", false);
     for (i = 0; i < conversionTable.length; i++) {
index 63827fd4bfaa62052f6cb3dfb384ffa7abc03320..c698280a61af41127b2f2783471dee72966b0656 100644 (file)
@@ -38,7 +38,25 @@ Authors:
 test(function () {
     var callback, i, incorrectListener, exceptionName, id, myWidget;
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     incorrectListener = getListenerConversionExceptions(["onchange"]);
     for(i = 0; i < incorrectListener.length; i++) {
index 977248d094518b70e8a30d33af55d200d1aeb11d..76dc569f45a85f3e1340a7d0ca58609e745f4900 100644 (file)
@@ -36,7 +36,12 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "addStateChangeListener");
index 3b822e87d73434224a3a92d4ed15dcf5ecc15025..04bb609b2b460f02a0eb86ba217c6a459aefa359 100644 (file)
@@ -36,7 +36,12 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 6e0aa69694ce106bd2080647aa0fe5e47c20c151..423dcb2d2b30b97025616c7ace4d8be74a77ee3e 100644 (file)
@@ -35,7 +35,12 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_readonly(myWidget, "applicationId", myWidget.applicationId, "string", "org.tizen.contacts");
index 29b7b148c80bfebc73ee144f3abfa4c90990154f..679fe6979353c9ca11a31159bd7287038992bc3e 100644 (file)
@@ -35,7 +35,12 @@ Authors:
 //==== TEST_CRITERIA OBX
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_extensibility(myWidget);
index a31ab6f7728562fe52f6a020efcffb7567a64441..5197d1427ace62960b705ff85a0866075f9e7932 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -49,7 +52,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getInstances(widgetSuccessCb);
 });
index cac1a4e6b601c8c07f64d61134f8b9b0a1083e3e..8954841e7a5fd4f93f320384445f989fc9a1d989 100644 (file)
@@ -43,7 +43,25 @@ t.step(function () {
         assert_unreached("successCallback should not be invoked");
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     conversionTable = getTypeConversionExceptions("functionObject", true);
index f0e1059c1147f76e0d972f7385f4b016ded9cfd2..5cea5dfaf44de5f331e1e1bc4ef993778effebd6 100644 (file)
@@ -49,7 +49,25 @@ t.step(function () {
         assert_unreached("successCallback should not be invoked");
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 0607330960d18f5b23a48bc33a9dd10bcf103b2c..8d1ed2e774a1b2d7f8481f358e6d3a9d828377bb 100644 (file)
@@ -48,7 +48,25 @@ t.step(function () {
         assert_unreached("successCallback should not be invoked");
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index e051114b155624ca5c0fe11239785c51e2a79103..47c6b193a1837da622cc7ab769f5a0136cc7df3e 100644 (file)
@@ -35,7 +35,12 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "getInstances");
index aab6e9a3b967c5cf4659c1c096fd34f5f077b3e6..fd030bc46b92591a7d1f8522733ad19ca5b2a420 100644 (file)
@@ -35,7 +35,12 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 677b3a192c30d53f88e461e5efb5233e477f9dc6..a3df3b4b5a9606c4f3181f2195e423141ea7727d 100644 (file)
@@ -39,7 +39,25 @@ setup({timeout: 90000});
 var t = async_test(document.title, {timeout: 90000}), i, conversionTable, id, myWidget;
 
 t.step(function () {
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     conversionTable = getTypeConversionExceptions("functionObject", false);
index 6dd8d45e547de544ca8fe9d878797e4a4a45a268..3343c2ca5efe58fb40d3eebd197a131a61436143 100644 (file)
@@ -45,7 +45,25 @@ t.step(function () {
         })
     };
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 9aeb16e9ea31cd31c4c7b8a6f7f1836d1b56b3d5..1fd4b230c3b2b7399ef69c71df9c6deac15b2644 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 90
@@ -53,7 +56,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getInstances(widgetSuccessCb, widgetErrorCb);
 });
index 26be29dbe1b2e94a42b8cdc14ef3e6806018de66..399d449380c0b222134d600b4887c5cfc5d75c12 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, retVal;
+    var id, myWidget, retVal;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getName();
index 41b5cea1cc10ec0cca2daa483c75b029f02cfd1f..3defefdffb9eabcde03afb77bf4141c13fe336e9 100644 (file)
@@ -35,7 +35,12 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        var id = "apiwidserv.widgetarm", myWidget;
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        var id = "apiwidserv.widgetx86", myWidget;
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "getName");
index 44d9220a093a068f8d49c15ca81efb57527ed1e5..d497f988e052c4aea7b9c3acfb91b0668e0224a9 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA MOA MR
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, retVal;
+    var id, myWidget, retVal;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getName("en-us");
index 379178b9477083ea19d9aaf51bdd7f296901413b..5440277b15adf13794f31762d0838ca0adf07e72 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA MR
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, retVal;
+    var id, myWidget, retVal;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getVariant("4x4");
index e96731be2b46ef6e5fd29f219a4def994bbfe6e6..b8c205357f2034189ee234de5370d2e9eb1178fd 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "getVariant");
index daf18f33a4da4e9f9ed0f701fa6f2fd41efc1ce0..c52f67d98c7dd52e5ff2a243277bebcdbf28411d 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA MC
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget, i, conversionTable;
+    var id, myWidget, i, conversionTable;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     conversionTable = getTypeConversionExceptions("enum", false);
index 002d151680ee295c28bb32ad13fae5ce71dfc5c4..31cb3dd4c984e4f9c027e48e9198477c4f680816 100644 (file)
@@ -45,7 +45,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getVariants(widgetSuccessCb);
 });
index 98a065453049cff606e8b3f7a2babb23f23b2811..af655c138353ca0219dbeabbf4d9b3f148637ff4 100644 (file)
@@ -44,7 +44,25 @@ t.step(function () {
         assert_unreached("successCallback should not be invoked");
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     conversionTable = getTypeConversionExceptions("functionObject", true);
index 43b542ff7d75c3b6685805fe981cb644ca7c6225..3c04da8b922bb824998292bb79e5e8a0a4ad0e3d 100644 (file)
@@ -50,7 +50,25 @@ t.step(function () {
         assert_unreached("successCallback should not be invoked");
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index b4cd9ca3f21a3699badd7e28ee9a3ad23c60af83..dd8068a4d42347fe9ba075d5a89b6b16b93d6195 100644 (file)
@@ -36,7 +36,26 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "getVariants");
index bd4ff4e1d7d000f5145a7120b31ba1e1fca358da..8ea9900f14e0417ff6acef0d594f83b41f24ab0d 100644 (file)
@@ -36,7 +36,26 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 66d4888f3dedf4274fbabc6746d9e74f05838676..c1658f5d3ab230341be2501126a79426bfc97c70 100644 (file)
@@ -40,7 +40,25 @@ setup({timeout: 90000});
 var t = async_test(document.title, {timeout: 90000}), i, conversionTable, id, myWidget;
 
 t.step(function () {
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     conversionTable = getTypeConversionExceptions("functionObject", false);
index b5ef4afbda6e4077f6f99a466a09831ce74f6c8f..87931d42f33915910b60be1b8802bf7ad829f9be 100644 (file)
@@ -46,7 +46,25 @@ t.step(function () {
         })
     };
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
 
     assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
index 1402f656f65700d23a9d4b96277daf132abc72eb..d037fec70141f3fce17cbfac48c34191ceb41a42 100644 (file)
@@ -49,7 +49,25 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     retVal = myWidget.getVariants(widgetSuccessCb, widgetErrorCb);
 });
index 33f0c9b461ac1546e29d223cfc22806a934b4f8d..f50896fc442f247c8e7a3cf525687434ffa7245f 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_readonly(myWidget, "id", id, "string", "org.tizen.contacts.widget");
index 1efa5cea3f294f4008f9099e7d12fe94d76d91e0..51592d2061578d1c195867a9f8041060a40eeb7d 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_readonly(myWidget, "noDisplay", myWidget.noDisplay, "boolean", !myWidget.noDisplay);
index 4fa34099291e26a9bd8b2da96d323cf618ca015f..8230547204c36c3b91c873af2017adf23498d003 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_readonly(myWidget, "packageId", myWidget.packageId, "string", "org.tizen.contacts");
index 7690110cb6ad61e3d1842dc81fb4bfc0868b8946..985d78e927e490b6d9f085e4550b937e1287635b 100644 (file)
@@ -33,7 +33,10 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== PRE "widget3" widget should be added to home screen.
+//==== PRE 32 bit TARGET : "widgetarm" widget should be added to home screen.
+//====         64 bit TARGET : "widgetaarch64" widget should be added to home screen.
+//====         32 bit EMULATOR : "widgetx86" widget should be added to home screen.
+//====         64 bit EMULATOR : "widgetx86_64" widget should be added to home screen.
 //==== STEP press [Run] button in the test case.
 //==== EXPECT test case is passed.
 //==== ONLOAD_DELAY 120
@@ -57,10 +60,28 @@ t.step(function () {
         t.done();
     });
 
-    id = "apiwidserv.widget3";
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     watchId = myWidget.addStateChangeListener(widgetChangeCb);
-    alert("Go to home screen to delete 'test' widget before press [OK] button");
+    alert("Go to home screen to delete the added widget before press [OK] button");
 });
 
 </script>
index 7476a42e0272d412dd80acd7a009e484e443d35d..8a8d7c550569ea072559db28fefd03c2c6ec70a3 100644 (file)
@@ -35,7 +35,26 @@ Authors:
 //==== TEST_CRITERIA ME
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
 
     myWidget = tizen.widgetservice.getWidget(id);
     check_method_exists(myWidget, "removeStateChangeListener");
index 8e2466d3ec6aa5902923a62d358f4ba0cd3eb730..b769070121360a8d25c3530ffa906edeb5dda414 100644 (file)
@@ -35,7 +35,27 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 
 test(function () {
-    var id = "apiwidserv.widget3", myWidget;
+    var id, myWidget;
+
+    if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.armv7")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'aarch64'){
+            id = "apiwidserv.widgetaarch64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetarm";
+            console.log(id);
+        }
+    }
+    else if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch.x86")){
+        if(tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch") === 'x86_64'){
+            id = "apiwidserv.widgetx86_64";
+            console.log(id);
+        }else{
+            id = "apiwidserv.widgetx86";
+            console.log(id);
+        }
+    }
+
     myWidget = tizen.widgetservice.getWidget(id);
     check_readonly(myWidget, "setupApplicationId", myWidget.setupApplicationId, "string", "org.tizen.contacts");
 }, document.title);