tizen_2.3.1 54/48954/1 tizen_2.3.1
authorjh0219.han <jh0219.han@samsung.com>
Fri, 2 Oct 2015 06:04:11 +0000 (15:04 +0900)
committerjh0219.han <jh0219.han@samsung.com>
Fri, 2 Oct 2015 06:04:11 +0000 (15:04 +0900)
Change-Id: Ibc4c6fac80bce7933bc2e4f1f594dd9194039c52

1845 files changed:
common/packall.sh
common/tct-appwgt-wrt-tests/configure.ac
common/tct-appwgt-wrt-tests/tct-appwgt-wrt-tests.spec
common/tct-dynamicbox-wrt-tests/COPYING [deleted file]
common/tct-dynamicbox-wrt-tests/LICENSE.Apache-2.0 [deleted file]
common/tct-dynamicbox-wrt-tests/Makefile.am [deleted file]
common/tct-dynamicbox-wrt-tests/README [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/autogen [deleted file]
common/tct-dynamicbox-wrt-tests/blackdirs [deleted file]
common/tct-dynamicbox-wrt-tests/configure.ac [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/css/style.css [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/images/tizen_32.png [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/inst.sh.wgt [deleted file]
common/tct-dynamicbox-wrt-tests/pack.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/Makefile.am [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipartner.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipublic.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipartner.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apiplatform.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipublic.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpublic_apipublic.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installer.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstall.sh [deleted file]
common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstaller.sh [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apipartner/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/author-signature.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/box/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/config.xml [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/icon.png [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/pd/index.html [deleted file]
common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/signature1.xml [deleted file]
common/tct-dynamicbox-wrt-tests/tct-dynamicbox-wrt-tests.spec [deleted file]
common/tct-dynamicbox-wrt-tests/testcase.xsl [deleted file]
common/tct-dynamicbox-wrt-tests/testresult.xsl [deleted file]
common/tct-dynamicbox-wrt-tests/tests.css [deleted file]
common/tct-dynamicbox-wrt-tests/tests.full.xml [deleted file]
common/tct-dynamicbox-wrt-tests/tests.xml [deleted file]
common/tct-ext02-wrt-tests/application-id-exist/config.xml
common/tct-ext02-wrt-tests/application-required-version-support/config.xml
common/tct-ext02-wrt-tests/configure.ac
common/tct-ext02-wrt-tests/tct-ext02-wrt-tests.spec
common/tct-maxLength-wrt-tests/COPYING [new file with mode: 0755]
common/tct-maxLength-wrt-tests/Makefile.am [new file with mode: 0755]
common/tct-maxLength-wrt-tests/README [new file with mode: 0755]
common/tct-maxLength-wrt-tests/autogen [new file with mode: 0755]
common/tct-maxLength-wrt-tests/config.xml.crx [new file with mode: 0755]
common/tct-maxLength-wrt-tests/config.xml.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/configure.ac [new file with mode: 0755]
common/tct-maxLength-wrt-tests/icon.png [new file with mode: 0755]
common/tct-maxLength-wrt-tests/inst.sh.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/manifest.json [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/Makefile.am [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/COPYING [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/Makefile.am [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_AuthorHREF_L2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_L2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_LG2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_Email_L2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_L80_Public.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_LG80_Public.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_L8192_Public.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_LG8192_Public.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_L80.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_LG80.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_L8192.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_LG8192.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_L2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_LG2048.wgt [new file with mode: 0755]
common/tct-maxLength-wrt-tests/pack.sh [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/COPYING [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/Makefile.am [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/blacklist.clamshell [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/blacklist.default [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/blacklist.js [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/testharness.css [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/testharness.js [new file with mode: 0755]
common/tct-maxLength-wrt-tests/resources/testharnessreport.js [new file with mode: 0755]
common/tct-maxLength-wrt-tests/tct-maxLength-wrt-tests.spec [new file with mode: 0755]
common/tct-maxLength-wrt-tests/testcase.xsl [new file with mode: 0755]
common/tct-maxLength-wrt-tests/testresult.xsl [new file with mode: 0755]
common/tct-maxLength-wrt-tests/tests.css [new file with mode: 0755]
common/tct-maxLength-wrt-tests/tests.full.xml [new file with mode: 0755]
common/tct-maxLength-wrt-tests/tests.xml [new file with mode: 0755]
common/tct-maxLength-wrt-tests/webrunner/Makefile.am [new file with mode: 0755]
common/tct-maxLength-wrt-tests/webrunner/index.html [new file with mode: 0755]
common/tct-maxLength-wrt-tests/webrunner/jquery-1.10.2.min.js [new file with mode: 0755]
common/tct-maxLength-wrt-tests/webrunner/testrunner.js [new file with mode: 0755]
common/tct-pm-wrt-tests/configure.ac
common/tct-pm-wrt-tests/tct-pm-wrt-tests.spec
common/tct-pm-wrt-tests/web-api-version/config.xml
common/tct-pm-wrt-tests/widget-version-3-1/config.xml
common/tct-rt01-wrt-tests/configure.ac
common/tct-rt01-wrt-tests/dom-events-audio-onerror/config.xml
common/tct-rt01-wrt-tests/dom-events-audio-onerror/testrunner.js
common/tct-rt01-wrt-tests/dom-events-video-onerror/config.xml
common/tct-rt01-wrt-tests/dom-events-video-onerror/testrunner.js
common/tct-rt01-wrt-tests/lifecycle-hide-running-app/config.xml
common/tct-rt01-wrt-tests/lifecycle-hide-running-app/testrunner.js
common/tct-rt01-wrt-tests/lifecycle-load-event/config.xml
common/tct-rt01-wrt-tests/lifecycle-load-event/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get-false/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head-false/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-invalid/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-invalid/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-null/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-null/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post-false/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post/config.xml
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post/testrunner.js
common/tct-rt01-wrt-tests/tct-rt01-wrt-tests.spec
common/tct-rt02-wrt-tests/README
common/tct-rt02-wrt-tests/configure.ac
common/tct-rt02-wrt-tests/scripts/Common
common/tct-rt02-wrt-tests/tct-rt02-wrt-tests.spec
common/tct-sp01-wrt-tests/configure.ac
common/tct-sp01-wrt-tests/protection-decrypt-css/config.xml
common/tct-sp01-wrt-tests/protection-decrypt-css/testrunner.js
common/tct-sp01-wrt-tests/protection-decrypt-html/config.xml
common/tct-sp01-wrt-tests/protection-decrypt-html/testrunner.js
common/tct-sp01-wrt-tests/protection-decrypt-js/config.xml
common/tct-sp01-wrt-tests/protection-decrypt-js/testrunner.js
common/tct-sp01-wrt-tests/storage-cookies-check/config.xml
common/tct-sp01-wrt-tests/storage-cookies-check/testrunner.js
common/tct-sp01-wrt-tests/tct-sp01-wrt-tests.spec
common/tct-sp02-wrt-tests/configure.ac
common/tct-sp02-wrt-tests/private_localstorage_check/config.xml
common/tct-sp02-wrt-tests/tct-sp02-wrt-tests.spec
common/tct-stab-wrt-tests/configure.ac
common/tct-stab-wrt-tests/setting-bs-enable/config.xml
common/tct-stab-wrt-tests/tct-stab-wrt-tests.spec
mobile/packall.sh
mobile/tct-ext01-wrt-tests/application-privilege/config.xml
mobile/tct-ext01-wrt-tests/configure.ac
mobile/tct-ext01-wrt-tests/metadata-support/config.xml
mobile/tct-ext01-wrt-tests/setting-install-location-auto/author-signature.xml [new file with mode: 0755]
mobile/tct-ext01-wrt-tests/setting-install-location-auto/config.xml
mobile/tct-ext01-wrt-tests/setting-install-location-auto/signature1.xml [new file with mode: 0755]
mobile/tct-ext01-wrt-tests/setting-install-location-auto/test_index.html
mobile/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec
mobile/tct-privilege-wrt-tests/COPYING [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/LICENSE.Apache-2.0 [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/Makefile.am [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/README [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/autogen [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/configure.ac [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/inst.sh.wgt [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/pack.sh [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/scripts/Makefile.am [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/testcase.xsl [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/testresult.xsl [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/tests.css [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/tests.full.xml [new file with mode: 0755]
mobile/tct-privilege-wrt-tests/tests.xml [new file with mode: 0755]
mobile/tct-ui01-wrt-tests/configure.ac
mobile/tct-ui01-wrt-tests/multiple-other-alarm/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-application-launch/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-application-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-admin/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-gap/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-spp/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-calendar-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-calendar-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-callhistory-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-callhistory-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-contact-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-contact-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-content-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-content-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-download/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-filesystem-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-filesystem-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-messaging-read/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-messaging-send/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-messaging-write/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-nfc-admin/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-nfc-common/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-nfc-p2p/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-nfc-tag/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-notification/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-power/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-systeminfo/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-systemsetting/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-time/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-tizen/config.xml
mobile/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec
mobile/tct-ui01-wrt-tests/tests.xml
wearable/packall.sh
wearable/tct-ext01-wrt-tests/application-privilege/config.xml
wearable/tct-ext01-wrt-tests/configure.ac
wearable/tct-ext01-wrt-tests/metadata-support/config.xml
wearable/tct-ext01-wrt-tests/setting-install-location-auto/config.xml
wearable/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec
wearable/tct-privilege-wrt-tests/COPYING [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/LICENSE.Apache-2.0 [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/Makefile.am [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/README [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/autogen [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/configure.ac [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/inst.sh.wgt [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/pack.sh [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/scripts/Makefile.am [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/testcase.xsl [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/testresult.xsl [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/tests.css [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/tests.full.xml [new file with mode: 0755]
wearable/tct-privilege-wrt-tests/tests.xml [new file with mode: 0755]
wearable/tct-ui01-wrt-tests/configure.ac
wearable/tct-ui01-wrt-tests/multiple-other-alarm/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-application-read/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-content-read/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-content-write/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-power/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-time/config.xml
wearable/tct-ui01-wrt-tests/multiple-other-tizen/config.xml
wearable/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec

index 3fca7fc2ceacdfcf46777096cda8bc6bc6342edb..cc2f29088a8e7bb52cd2f8b08895e6951f1f2847 100755 (executable)
@@ -1,5 +1,5 @@
 SUITE="tct-appwgt-wrt-tests
-tct-dynamicbox-wrt-tests
+tct-maxLength-wrt-tests
 tct-ext02-wrt-tests
 tct-pm-wrt-tests
 tct-rt01-wrt-tests
index b4ee83d7291833a73ea415e05ed11d31a3851d55..28130d6ce0dfabf6c0e3b22622e1ccca3049c63d 100755 (executable)
@@ -29,7 +29,7 @@
 #               Lin Guo <lin87.guo@samsung.com>
 #
 
-AC_INIT([tct-appwgt-wrt-tests], [2.3b], [yunfenx.hao@intel.com])
+AC_INIT([tct-appwgt-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
diff --git a/common/tct-dynamicbox-wrt-tests/COPYING b/common/tct-dynamicbox-wrt-tests/COPYING
deleted file mode 100755 (executable)
index dbf8b8f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/LICENSE.Apache-2.0 b/common/tct-dynamicbox-wrt-tests/LICENSE.Apache-2.0
deleted file mode 100755 (executable)
index d645695..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/common/tct-dynamicbox-wrt-tests/Makefile.am b/common/tct-dynamicbox-wrt-tests/Makefile.am
deleted file mode 100755 (executable)
index f02dac8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-##
-#Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-#Licensed under the Apache License, Version 2.0 (the License);
-#you may not use this file except in compliance with the License.
-#You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-#Unless required by applicable law or agreed to in writing, software
-#distributed under the License is distributed on an "AS IS" BASIS,
-#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#See the License for the specific language governing permissions and
-#limitations under the License.
-#
-#
-#Authors:
-#       Lei Tang <lei312.tang@samsung.com>
-#
-SUBDIRS =  scripts
-docdir = $(prefix)/opt/tct-dynamicbox-wrt-tests
-dist_doc_DATA = README *.wgt COPYING tests.xml tests.full.xml
diff --git a/common/tct-dynamicbox-wrt-tests/README b/common/tct-dynamicbox-wrt-tests/README
deleted file mode 100755 (executable)
index 5f4d79c..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-----------------------------------------------
-Author
-----------------------------------------------
-Copyright (c) 2014 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Lei Tang <lei312.tang@samsung.com>
-
-----------------------------------------------
-Introduction
-----------------------------------------------
-This test suite is for  Web Application Runtime dynamicbox testing.
-
-
-----------------------------------------------
-Test Environment
-----------------------------------------------
-
-
-
-----------------------------------------------
-
-Installation
-----------------------------------------------
-
-
-----------------------------------------------
-Build and Run
-----------------------------------------------
-
-Steps:
-    1. Install each widget (you can got the test item in Behavior tool with Dynamic box item)
-    2. Check the widget could be install or not
-
-
-----------------------------------------------
-Known Issues
-----------------------------------------------
-
-
-
-
-
-----------------------------------------------
-Todo
-----------------------------------------------
-
-
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/author-signature.xml
deleted file mode 100755 (executable)
index 1df4703..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ODS9DW71hkIFxSBvYZa0JIa0Uf+duo+rBTTQq/bO/ng=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>BFkKOhI1aoZoQ+mo520j6XEa4PXB3BXusrHFXmbOcwM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>snRk1UKM4URs7Lw0O7PT5D9iSw7kLfI150prWwDW+1A=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>C/jm06XFymE0gLB+YGBmJlRXFinls782NT8tk3t0T5I=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLl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q3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/box/index.html
deleted file mode 100755 (executable)
index d16701f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_Signpartner_Apipartner</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //success call back
-    var statuscb = {
-      onsuccess: function() { console.log("onsuccess func is called"); },
-      ondisconnected: function() { console.log("ondisconnected func is called"); }
-    };
-
-    //error call back
-    function ecb(e) { console.log("error callback is called : " + e.message + " : " + e.code); }
-
-    //Network bearer selection
-    try{
-       tizen.networkbearerselection.requestRouteToHost("CELLULAR", "www.tizen.org", statuscb, ecb);
-       document.write("Pass");
-    } catch(e) {
-       document.write("Failed<br>" + e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/config.xml
deleted file mode 100755 (executable)
index 43d787e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signpartner-apipartner" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig021.appwidgetsignpartnerapipartner.default" primary="true">
-        <tizen:box-label>SignPartner APIPartner</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig021.appwidgetsignpartnerapipartner" package="wrt6sig021" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signpartner-apipartner</name>
-    <tizen:privilege name="http://tizen.org/privilege/networkbearerselection"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/index.html
deleted file mode 100755 (executable)
index 3f44002..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_Signpartner_Apipartner</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/pd/index.html
deleted file mode 100755 (executable)
index 8a9d35b..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_Signpartner_Apipartner</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipartner/signature1.xml
deleted file mode 100755 (executable)
index a2ade5f..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>JHtCYq1n6LGxkILqCguIs5Pyp2YCKCDQXJ91KdiNTQE=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>ODS9DW71hkIFxSBvYZa0JIa0Uf+duo+rBTTQq/bO/ng=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>BFkKOhI1aoZoQ+mo520j6XEa4PXB3BXusrHFXmbOcwM=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>snRk1UKM4URs7Lw0O7PT5D9iSw7kLfI150prWwDW+1A=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>C/jm06XFymE0gLB+YGBmJlRXFinls782NT8tk3t0T5I=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>V5zj2D1g4ZSj/5lTDkgSNM2ORvKKCTbDwPH35ejOmAhS29tcMOY2htddyF3ErmVb
-YwgMO7jChosMnN9B8l/1kusV7bXxE6xHpMMBPZqZN32ts47MpO4HpOs0zJI+o+a4
-rAlY7CzJ0S3dRRqP+mq8yDx5Ycd0wclmTqgwgNk742vZDIDFnvL3zPbNXcP0Hj+V
-4/tjczeQrtlJIlUwKjQRPvnJ2aSPB/X+Ca1PPMwanB6OID2LPD2j7CCqJ2pKRY1H
-0AHVLr8uHyP9MiFVG8EGKuiNkOGV2v9DM1Y8nVrPP44ZPUGIKpfIiNuiJhUhQ1ui
-kebwnqQ1DHbDp8Nkmtd8eQ==</SignatureValue>
-  <KeyInfo>
-    <X509Data>
-      <X509Certificate>MIIDIDCCAgigAwIBAgICJ+YwDQYJKoZIhvcNAQELBQAwQzEaMBgGA1UECgwRVGl6
-ZW4g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YKkDTheBo3GvAdxV</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/author-signature.xml
deleted file mode 100755 (executable)
index 4d21d92..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>sUHqgdFWEqJWChd9CbYIbTn9CVSw+jRe0b+/TRHqMv4=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kkFKmRFda0wvtshPyD2J0x5MU99chHjODt0lSHe6jOc=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>AkoGWLteXo9YrIlUKAroCBo3RRpYKIkG8lNd4JR8nvk=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>8q3ZBEyWN2dOkU6O3+U23drTHj7GyiIGiHvta5JVV/o=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-PFYiKm5ZEh0kr4PARml8rK3AA9BWDv+9/OQSp3e/FNcmgrmNt5mLM6Eyee9YeyOcFybEKE7EBO74
-Xnnn9rkrXKHdcHGHJTNLDAie3egxnAKMMUdDuckE44uHWw/+u74kAq2Gez9bPoVxDFkWqT2yG3PU
-eKnfJtQI6d45dZXj4I8=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUnMsJueMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjQe5HwZtQD5vx1D32TgExm0uSOnTKe7N
-BmEgce40mZpS8eC6DkczjJPbPmcwYwtzBDtg5edUQ6ps9JuPyRw846/p6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vZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/box/index.html
deleted file mode 100755 (executable)
index 1eb6b6a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpartner_apipublic</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //Call devices API to use alarm
-    try {
-        tizen.alarm.add(new tizen.AlarmRelative(1));
-        document.write("Pass");
-    } catch (e) {
-        document.write("failed<br>");
-        document.write(e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/config.xml
deleted file mode 100755 (executable)
index 9f088fb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signpartner-apipublic" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig022.appwidgetsignpartnerapipublic.default" primary="true">
-        <tizen:box-label>SignPartner APIPublic</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig022.appwidgetsignpartnerapipublic" package="wrt6sig022" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signpartner-apipublic</name>
-    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/index.html
deleted file mode 100755 (executable)
index 5cf16ea..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpartner_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/pd/index.html
deleted file mode 100755 (executable)
index ddc2afa..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpartner_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpartner-apipublic/signature1.xml
deleted file mode 100755 (executable)
index f971bcc..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>qeTQyMpFBMqzGG1nJINcx1U//7pgoEq0EVxsd5uDZYc=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>sUHqgdFWEqJWChd9CbYIbTn9CVSw+jRe0b+/TRHqMv4=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>kkFKmRFda0wvtshPyD2J0x5MU99chHjODt0lSHe6jOc=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>AkoGWLteXo9YrIlUKAroCBo3RRpYKIkG8lNd4JR8nvk=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>8q3ZBEyWN2dOkU6O3+U23drTHj7GyiIGiHvta5JVV/o=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>hZQhETJYsVa/7iwQt13UF3WMEU+O2z2KQXj7FwWsNNzL4KaqsOaGVUkDuPRYXgjD
-y+9u8x4/fPyzpu6+DSHQnkUPk9vt8BJoWTKzW+XzrmefAoZ/qtATRINCnODdAHxx
-8kDqzsFBWSMzDTjj8YrH/jAkUA3YT8LPGjvGDGw0A3Pj5ulDJH4TnwvxyqCHHQOa
-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WXuOIb2MoOAFyXIMsVoCBEtnUsjAYTXzZwbh+cGZO14xmnUbQ6FRkAa
-SvXNQFN09AqyPgALDqJiSpregqVPdcDCM5kpHnPTcmN6Zv842EdU9Yh5lfyov8eT
-gJOVRV0yUXJXKxwT3rT2d1E0FMB0LH6zacknrOyl4YVZioFwU4HvftvQ6ieMNtSB
-PBV1fApBGiczubxl9zSyhsAXQTFS8G30b+y3wMq5i7P3S/J5Tqi5tGjFNVlTPB8j
-h+J4pNEox7mSerMpYKkDTheBo3GvAdxV</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/author-signature.xml
deleted file mode 100755 (executable)
index f014a74..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>xaefjG74f1QmqtqCGlFNULuxohMMeL9TjmkDTrtnF2o=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>SWuFaFmio1otw+E0ieSuOiJ3fKpUC09TeAZ04/mSJZ4=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>injiv2VFlA0nnX4243btfbP7qElnx11M33WqOMaBVJQ=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eOPiKUfmBfmjgAOsx9R04c9UTBCxW+jU4AdJQjPn2ks=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-QgbNXcZZbw9Tgfb8XSFizUodmgt5KAe6izrz4eFwMV+/zLEMoynQRnHxNMtbAX0GsuW2dfbYcTLx
-TBjC1IweB6beYsU87dLd+YxtjQ33uBvpTXdWNpKjFCV5VYEe+c1ojiuXHm+jVAPSkZyJo5SKYaoJ
-+g0f1Ol2vGxIzuSXyoQ=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUnMsJueMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQ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aWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/box/index.html
deleted file mode 100755 (executable)
index 56e9533..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipartner</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //success call back
-    var statuscb = {
-      onsuccess: function() { console.log("onsuccess func is called"); },
-      ondisconnected: function() { console.log("ondisconnected func is called"); }
-    };
-
-    //error call back
-    function ecb(e) { console.log("error callback is called : " + e.message + " : " + e.code); }
-
-    //Network bearer selection
-    try{
-       tizen.networkbearerselection.requestRouteToHost("CELLULAR", "www.tizen.org", statuscb, ecb);
-       document.write("Pass");
-    } catch(e) {
-       document.write("Failed<br>" + e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/config.xml
deleted file mode 100755 (executable)
index 0949aad..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signplatform-apipartner" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig023.appwidgetsignplatformapipartner.default" primary="true">
-        <tizen:box-label>SignPlatform APIPartner</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig023.appwidgetsignplatformapipartner" package="wrt6sig023" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signplatform-apipartner</name>
-    <tizen:privilege name="http://tizen.org/privilege/networkbearerselection"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/index.html
deleted file mode 100755 (executable)
index 706d609..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipartner</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/pd/index.html
deleted file mode 100755 (executable)
index d927b54..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipartner</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipartner/signature1.xml
deleted file mode 100755 (executable)
index 99a8f10..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>Q8rbV//DrY8H0GTxEwxULH0retek+PpZ38k0BeMENcg=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>xaefjG74f1QmqtqCGlFNULuxohMMeL9TjmkDTrtnF2o=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>SWuFaFmio1otw+E0ieSuOiJ3fKpUC09TeAZ04/mSJZ4=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>injiv2VFlA0nnX4243btfbP7qElnx11M33WqOMaBVJQ=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>eOPiKUfmBfmjgAOsx9R04c9UTBCxW+jU4AdJQjPn2ks=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>jkAv6Q5+jIUoOVOzxIg7PmVDbMsoPf7vsccxzNEkm72gSO6dKyw7m6wKg7oONqW6
-5gg1Sk7V5r3IJMih4G8LF0pkVbYy8HrRufeRydXHBZgbMvf5qrTTHcnck0NSSrgR
-d/6aliJHoaDXbwvPKpzYtXzoiMfvsuWjmQfZhZktYewZBiTInpK/PpDkZ0H6tUaI
-C9cR6BrkEvf+0uWD0cXzQjKhmUu+qEb0RrTGynDDHBEy7nSoGEdITnSdj/PUNyaU
-7aifT4cbceq5DQ6yhPJPl1YIqxxrYWocqRaX//PrOuX7ZZAzx5wxB15WbMN3WJ39
-1aPbW/+woFUyttNvFxfW6A==</SignatureValue>
-  <KeyInfo>
-    <X509Data>
-      <X509Certificate>MIIDIjCCAgqgAwIBAgICSnQwDQYJKoZIhvcNAQELBQAwRDEaMBgGA1UECgwRVGl6
-ZW4gQXNzb2NpYXRpb24xJjAkBgNVBAMMHVRpemVuIFN0b3JlIFBsYXRmb3JtIENB
-IENsYXNzMB4XDTEzMTIzMDE1MDEyOVoXDTIwMTIyODE1MDEyOVowSDEaMBgGA1UE
-CgwRVGl6ZW4gQXNzb2NpYXRpb24xKjAoBgNVBAMMIVRpemVuIFN0b3JlIFBsYXRm
-b3JtIFNpZ25lciBDbGFzczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
-AOiLa9s7iHuh4QFqym6lxeYGQLyA5nncFMOrGUh18cio+cKHdX+eHnHMCyGbTFrS
-oBQovPZIB0ARaGIPi9ixpewOP+KLgoKso6JZPsoHbYeL13spFU0IuL+B4JDpqmCa
-2h9eG9o4WMog0GEmybo4e5Er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Cs0lKS63ROZFLRRP+UzvoNv+A1X/5F64J9E
-YjQSS2Dws9l6h8AeoqruszgJvTYHuXMhg2xHgjE9Ylv4FF1xGhC05wRqqO0MEX4a
-mcJ34Su24EEhFOBcR3lxRBPf7BZJZuCsPsj5QtCHoZrbbuYDYd8y13AUOCDPPAPA
-P6kmuO4YJRPE/pwR/J5nIoqLbQ/LWCx97VJT0WwF6ckfIRbAPRYgYhenI+GHBs+4
-gWscnO5DZtv2g1uX+IqjAgMBAAGjEDAOMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcN
-AQELBQADggEBABbIlEawNeSitmEUJzqLd5itbN3ixJjMJaIQc/ungh+NXjmM6H8P
-0Rh4ORIRQ0zS8sihIgCCKUGUeO5h22B1dlbMviy7bqxCj2SFfJ/JWtANF8lf9hIL
-PxDG2COgqV09rGd25ZsWTy9WweR/j2wY7y5tj+4iOm14kYWgn1S7u5/2IGczdO/c
-gM0bxnwJr/SvRCBis8vbZ9YT5OaJD1EbSfiqj9kVxeqC4JlHpCTN3C0gQuhKi/KH
-Ggb4saIV922W/Fes1gfo5PiCcMHicFYiVW6ctB5gkDYb71iraoT+Vs9IeYSEiith
-QCjNeLxt6L6j4rOFnLaJQXgufR7CYFdgaNg=</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/author-signature.xml
deleted file mode 100755 (executable)
index 6525aaa..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>sO1MMcvu4afnEpjh3m7Vmx52daT937XJObyCZhIT8v8=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>h6eI6LclZz5J7pG+QxAP+XwrqQ5pUFmaTbOJgAKQtcU=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>+V3Q3N2ZN9iuYQxJA4xyUZEKHtAxRmJBF7nSXHt3+qA=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>hk37BABNZUJowvPCjzelf+On4fxmbbsWFNr7KP9Y2P4=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eL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SFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/box/index.html
deleted file mode 100755 (executable)
index 37addeb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apiplatform</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    var adapter = tizen.bluetooth.getDefaultAdapter(); //define a bluetooth adapter
-
-    function showMe()
-    {
-         if (adapter.visible == false) {
-             //Shows device
-             adapter.setVisible(true,
-                                function() { console.log ('Device is visible to other devices for 3 minutes.'); },
-                                function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-         }
-         else {
-              console.log("Device is already in discoverable mode.");
-         }
-    }
-
-    try {
-        showMe();
-        document.write("Pass");
-    } catch (e) {
-        document.write("Failed<br>" + e.message);
-    }
-
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/config.xml
deleted file mode 100755 (executable)
index 3f61952..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signplatform-apiplatform" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig024.appwidgetsignplatformapiplatform.default" primary="true">
-        <tizen:box-label>SignPlatform APIPlatform</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig024.appwidgetsignplatformapiplatform" package="wrt6sig024" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signplatform-apiplatform</name>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/index.html
deleted file mode 100755 (executable)
index bcb54f8..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apiplatform</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/pd/index.html
deleted file mode 100755 (executable)
index 2c4fa40..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apiplatform</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apiplatform/signature1.xml
deleted file mode 100755 (executable)
index d06f494..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>zqPI08nWXRFcL1GdzVv96xf80h18tYmDjO7uW/XQKDQ=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>sO1MMcvu4afnEpjh3m7Vmx52daT937XJObyCZhIT8v8=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>h6eI6LclZz5J7pG+QxAP+XwrqQ5pUFmaTbOJgAKQtcU=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>+V3Q3N2ZN9iuYQxJA4xyUZEKHtAxRmJBF7nSXHt3+qA=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>hk37BABNZUJowvPCjzelf+On4fxmbbsWFNr7KP9Y2P4=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>gxoFgjwjiJN66XpKPfs37UIg9UHQGDsnJhSZUuazvuR/FFWJRTP7eX9uxrYeyfji
-Fb0rOEWzk1ctBKIlMTJgDHAyefMRqMHuDq8puoKpMnnfCgG2ZEAE49cdrId8aObU
-ijL2onYxjOO8BRjiBrl48sRDRQYb3t1g/VksUm6FB/uRYUYkoF5lczzcxiAuK40m
-W1y3wPH6Rqy7aGVF+ZStoYlSpxo56lNL6fo5S0wukNrUnconkHxL2BTjedWuvJew
-wrUwc2VRV6Y+lqhQZ24BhkBZqTbT8Z/4GveppB4n/+gRIfkFejOxzS2oU64MbDNu
-/BEkIglQdaumxWd9BT3MtQ==</Signat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C0gQuhKi/KH
-Ggb4saIV922W/Fes1gfo5PiCcMHicFYiVW6ctB5gkDYb71iraoT+Vs9IeYSEiith
-QCjNeLxt6L6j4rOFnLaJQXgufR7CYFdgaNg=</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/author-signature.xml
deleted file mode 100755 (executable)
index a0a8cc9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>obeEinZ33DXSxak3swG+1gWINi/ZRGhR1jo1ZQ7zbOs=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>sSlAzA3uorahD9CyBPxWSY6aonih4VxdJIr5aphPfhM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ub4kiTGHdaTfNt79DMUaFidhW0pQ0Hp84ikGDed/I7k=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>bNv1NSJxvIxEBzWLzbw1BRxY22XZgbmkuEs4hx/9Tfc=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-AuzIyvqnZb2JXU43FuADYQ7G+Lo5k1N0ul0Rn8UU+MA+0/OT3xY4l62dTuOZO+ubio+Y0oDMYMoN
-6Unf6KB4xBocEnrq+LMGlYWUOlgHZD2p9Fe38LNqgqYkWD7eml+Bwhe8V1sgbmaKBGtpuVoU2QWc
-ru85uPSXbljIc8YOPQw=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUnMsJueMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEF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DIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/box/index.html
deleted file mode 100755 (executable)
index 25823ae..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipublic</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //Call devices API to use alarm
-    try {
-        tizen.alarm.add(new tizen.AlarmRelative(1));
-        document.write("Pass");
-    } catch (e) {
-        document.write("failed<br>");
-        document.write(e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/config.xml
deleted file mode 100755 (executable)
index 6bc24e5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signplatform-apipublic" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig025.appwidgetsignplatformapipublic.default" primary="true">
-        <tizen:box-label>SignPlatform APIPublic</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig025.appwidgetsignplatformapipublic" package="wrt6sig025" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signplatform-apipublic</name>
-    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/index.html
deleted file mode 100755 (executable)
index 3564111..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/pd/index.html
deleted file mode 100755 (executable)
index b9440ef..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signplatform_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signplatform-apipublic/signature1.xml
deleted file mode 100755 (executable)
index dd709d8..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>J9u1YGOE3CCRXt/egNRbK3tantdtXo6L+jIPt9+oQno=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>obeEinZ33DXSxak3swG+1gWINi/ZRGhR1jo1ZQ7zbOs=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>sSlAzA3uorahD9CyBPxWSY6aonih4VxdJIr5aphPfhM=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>ub4kiTGHdaTfNt79DMUaFidhW0pQ0Hp84ikGDed/I7k=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>bNv1NSJxvIxEBzWLzbw1BRxY22XZgbmkuEs4hx/9Tfc=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>m6dm+qUeXifEvA2RLrqRE1zdsVOeznIS/YwiNhfTuTllxf1FZmOPEkX03Vb8yVho
-II4J+QgfAFa6vflqVZWIJZt0nCNhx1nRlDixbudwGoOX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ELBQADggEBABbIlEawNeSitmEUJzqLd5itbN3ixJjMJaIQc/ungh+NXjmM6H8P
-0Rh4ORIRQ0zS8sihIgCCKUGUeO5h22B1dlbMviy7bqxCj2SFfJ/JWtANF8lf9hIL
-PxDG2COgqV09rGd25ZsWTy9WweR/j2wY7y5tj+4iOm14kYWgn1S7u5/2IGczdO/c
-gM0bxnwJr/SvRCBis8vbZ9YT5OaJD1EbSfiqj9kVxeqC4JlHpCTN3C0gQuhKi/KH
-Ggb4saIV922W/Fes1gfo5PiCcMHicFYiVW6ctB5gkDYb71iraoT+Vs9IeYSEiith
-QCjNeLxt6L6j4rOFnLaJQXgufR7CYFdgaNg=</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/author-signature.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/author-signature.xml
deleted file mode 100755 (executable)
index eca2fc6..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>On6ZR2keMfnmvcKs5rQO9Nh65gLunrCHEBaV9Ynx+Bc=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>6veYCOsrZHL1oLuwakpaBsDFWurJnQPWv8SWpEkehYA=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>Oe7TjPEEz4+bZy2MtktZ4PCRyoueHyzWPHrP4Nw5oTw=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>tEMLvq3UJeSzV93NNPpIpBRdeLFtcNhGpcuwrIvZUsA=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-gU23C9SKPHC95Hg/c9j504lFNHuKD0qDoQyDYWDvHFGTjW1xLeLUyOiAkc5mt2oPkJtoN6gKLCc/
-1ee5EvBjbn6LsGpSIbCkT3HVEkUU3U1jc8eRj7lq1VUi23H5D2oJWSVYRVjUSl4+e73Dnc1+s3rG
-GBmVTn+mtaorfTqht20=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgI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vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/box/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/box/index.html
deleted file mode 100755 (executable)
index 24f6f5e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpublic_apipublic</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //Call devices API to use alarm
-    try {
-        tizen.alarm.add(new tizen.AlarmRelative(1));
-        document.write("Pass");
-    } catch (e) {
-        document.write("failed<br>");
-        document.write(e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/config.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/config.xml
deleted file mode 100755 (executable)
index 4ce97c2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-sign-signpublic-apipublic" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6sig020.appwidgetsignpublicapipublic.default" primary="true">
-        <tizen:box-label>Signpublic Apipublic</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6sig020.appwidgetsignpublicapipublic" package="wrt6sig020" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-sign-signpublic-apipublic</name>
-    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/icon.png b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/index.html
deleted file mode 100755 (executable)
index b1e7236..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
-
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpublic_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/pd/index.html b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/pd/index.html
deleted file mode 100755 (executable)
index 28e4d04..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_signpublic_apipublic</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/signature1.xml b/common/tct-dynamicbox-wrt-tests/app-sign-signpublic-apipublic/signature1.xml
deleted file mode 100755 (executable)
index 2b5904e..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>SSADZJ5VI9HRoxsHDQaQxX7aEkZ7368OwbdMNfVy1wA=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>On6ZR2keMfnmvcKs5rQO9Nh65gLunrCHEBaV9Ynx+Bc=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>6veYCOsrZHL1oLuwakpaBsDFWurJnQPWv8SWpEkehYA=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>Oe7TjPEEz4+bZy2MtktZ4PCRyoueHyzWPHrP4Nw5oTw=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>tEMLvq3UJeSzV93NNPpIpBRdeLFtcNhGpcuwrIvZUsA=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>hd48Lf5D7XfhSkoW93JeazdLTqleradeGJxBaZ0ufdGZZer1EMPR2APIl+oyXoW3
-wVPLHijVuA0yYcQKmiKVV6C88Bf9gWSKx3983RXfP5N+8z8/VFlyDbK6pw90rL91
-gHISYC7yJM7GRjqpJ/0omO59ORWAiEx5V77lC3/KsLST8GQzG0oaDbPx73oeALlr
-1z8En42JNx3wWWHSyglfnE0y61bi0v88EV0+mZzV1lzUydyXBTKY3nwC5tMlE4/Y
-JOIDwa7t399Sut2YRFCXbKGzr3tAxstwXAMGbA1K7zMU7zd29kUT8IwIR9kO3DJt
-VEBKjfFr+8j1L2BBU9XZSw==</SignatureValue>
-  <KeyInfo>
-    <X509Data>
-      <X509Certificate>MIIDHjCCAgagAwIBAgICeF0wDQYJKoZIhvcNAQELBQAwQjEaMBgGA1UECgwRVGl6
-ZW4gQXNzb2NpYXRpb24xJDAiBgNVBAMMG1RpemVuIFN0b3JlIFB1YmxpYyBDQSBD
-bGFzczAeFw0xMzEyMzAxNTAxMjlaFw0yMDEyMjgxNTAxMjlaMEYxGjAYBgNVBAoM
-EVRpemVuIEFzc29jaWF0aW9uMSgwJgYDVQQDDB9UaXplbiBTdG9yZSBQdWJsaWMg
-U2lnbmVyIENsYXNzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA23Xr
-SJMeax2q/ggoyacOkDW1orj5uClLiMlagLp+wRsEmXWrI5fUZSyy5fD9fADaKfpF
-Sgkmut3tjfYLOGGAHccniAgmkBcsOXxdUwj9eaZpr9xt2vENXZ6HseafaBs75u4h
-HYIjXrnkQqyZa/gE5U2TJH/L7slwvL6bZ73FHPc4EOxyUgLRq6LnvgJfuMyRy8IN
-U2iqDqm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OTzUN2Q1QN0Z5W4aGYrZyq6j1o9iCq3pllSJ3SssgOs/YUuC
-xWFroche/mvDxLb9/fHofv5hgGtFsC8RKzOvjv9hfg4rsNTC5Pzk5UP9MW7yBV7V
-jncJlyvu2RIn9xc1yRB+VGWDlcMnVZwKMqNghdVYhzttYnmvS8+j6GjuslrpUe8K
-r4Q4wfEyoK2CYqcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsF
-AAOCAQEAmPFYjZZD/+up0SwehzwUOcpyJ59m4dUtpL0hsQoErscLtcewI/atJtfR
-5uw5DFlpYEKavyxvGzlVo7s9VaJVgHP2F6N9COVnTWU2u42eYCVs9zClf0thIMVz
-FmLwisa6h4BI2Hxm7V0DXctEEeDIXw09yBDK0QxhHHLsp6XgV4zhtuvRwGhIEahA
-fqHwqkMv++0qLRcafetWyGE+jqzX/lq7S+To+iNPBNe1Hi7pOAf9xtt/9DsgU1/t
-msITyXCrLGHG7gxZqzhXZ3NGIEPLPDE8OkOxVYr1Z4v+I1RMwc4naF+H+8zeTZUi
-kRxsM9Yw0M7eL+rTtPBlJBtAIbqRfA==</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/autogen b/common/tct-dynamicbox-wrt-tests/autogen
deleted file mode 100755 (executable)
index d41ae7d..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-# Authors:
-#               Fan, Yugang <yugang.fan@intel.com>
-#
-
-autoreconf --install
diff --git a/common/tct-dynamicbox-wrt-tests/blackdirs b/common/tct-dynamicbox-wrt-tests/blackdirs
deleted file mode 100755 (executable)
index b744996..0000000
+++ /dev/null
@@ -1 +0,0 @@
-scripts
diff --git a/common/tct-dynamicbox-wrt-tests/configure.ac b/common/tct-dynamicbox-wrt-tests/configure.ac
deleted file mode 100755 (executable)
index fe77bbb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-AC_INIT([tct-dynamicbox-wrt-tests], [2.3b], [lei312.tang@samsung.com])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
-
-# Checks for programs.
-#AC_PROG_CC
-
-AC_CONFIG_FILES([\
-Makefile \
-scripts/Makefile \
-])
-AC_OUTPUT
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/author-signature.xml
deleted file mode 100755 (executable)
index aa2216d..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kIG1GwpDoJjdPbzIvWamKvJfTkoIMFlKczOPg5IpE/I=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>H4SUB+yUirg/j2lZofYSg8iXJp0Ra1m7ej+2nfAvsgY=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>PbDomqjvAy5QFk09BkqRatNBw/Fp+5qTP9jX9c/HdW4=</DigestValue>
-</Reference>
-<Reference URI="js/main.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NcuCjOYJGm5sT3QZqghQ4Fi1MfwVNEzovj13h9UZWxU=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mIZMbs7ON9kp6/P5vjJoJLr4p6iEbdPvsByE5FU7TSE=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-RrMqIF03fCozHan++Q5wZwQtWyH1nkMKUhr5SdHGSL5jKQhtOG55VjeX9JimoDYLrVgwhUXwH+GI
-2OUl9pBHvPWuzr9qMD2vXtiVEV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-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/box/index.html
deleted file mode 100755 (executable)
index c415510..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>WRT Test: dynamicbox invalid signature</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/config.xml
deleted file mode 100755 (executable)
index ada4708..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-invalid-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna001.invalidsignature.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">dynamicbox invalid Signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="300" height="100"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna001.invalidsignature" package="tctdyna001" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>invalidsignature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/index.html
deleted file mode 100755 (executable)
index afc4ea0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: dynamicbox invalid signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that dynamicbox invalid signature "/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/pd/index.html
deleted file mode 100755 (executable)
index 474d39f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>WRT Test: dynamicbox invalid signature</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-invalid-signature/signature1.xml
deleted file mode 100755 (executable)
index 3995a62..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>WCqOu5sJ5A0NAYVJ3UF8Ct3q2wq8ZrGOUiO1PNtNPNk=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-Value>kIG1GwpDoJjdPbzIvWamKvJfTkoIMFlKczOPg5IpE/I=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>H4SUB+yUirg/j2lZofYSg8iXJp0Ra1m7ej+2nfAvsgY=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>PbDomqjvAy5QFk09BkqRatNBw/Fp+5qTP9jX9c/HdW4=</DigestValue>
-</Reference>
-<Reference URI="js/main.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NcuCjOYJGm5sT3QZqghQ4Fi1MfwVNEzovj13h9UZWxU=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mIZMbs7ON9kp6/P5vjJoJLr4p6iEbdPvsByE5FU7TSE=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-PjxpAE3uQCD9wIjib/W6Ru+zxg/s/HnEtCY5LdDmENeeGj2Re+KbPYs2r39ql2hAhHnnOtEXhNzf
-4uRa5QRSUdZ5762/4+6tHwAEIZeytq9AGI18dloYFTJDikOW2qg7XskM9cpD6pGGLb6ckWMaKhfP
-oduUE+AWGNw29uTSSDM=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjc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BQGA1UECgwNVGl6
-ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/config.xml
deleted file mode 100755 (executable)
index bae536b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-no-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna006.dynamicboxwidgetnosignature.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">dynamicbox no signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="720" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna006.dynamicboxwidgetnosignature" package="tctdyna006" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-no-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/index.html
deleted file mode 100755 (executable)
index 59aa263..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox no signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that <tizen:box-size preview> is used to indicate size of the Web DynamicBox."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-no-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/author-signature.xml
deleted file mode 100755 (executable)
index 8f4a2ba..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>OQuvNxPehh53fGe1Ovo7V/kExtRMAco183LP1+B09rw=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NSpM9C0uwAKXkWtS4AjhDO42pwXbRnwhEN2Hgo9ck/4=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-QZW9zqJlmfIjq7UlJL5arbyl5qIoIvFN06FqKKLJ2XMKBeNLP7uupnQeaDCGvyzjJFLhsMMldSCw
-tKxS0dEPFIEbQETxIST0Q4uYROaRvxazJeTcg6vb/z8bfYsddK6vLxNYoQn8Ug6oapvwIPEphJME
-zQCFWFS06nlPb+ev54k=
-</SignatureValue>
-<KeyInfo>
-<X509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ns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/config.xml
deleted file mode 100755 (executable)
index 29c2444..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-nondis-all-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna002.lostall.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">no distributor signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="720" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna002.lostall" package="tctdyna002" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-nondis-all-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/index.html
deleted file mode 100755 (executable)
index 708a295..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox no signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that dynamicbox with no signature."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-all-signature/signature1.xml
deleted file mode 100755 (executable)
index 714ab45..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ugiUafoaxTMQFdA6DlQhMF1KBkOD+lLTTiRffm3LHxI=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>OQuvNxPehh53fGe1Ovo7V/kExtRMAco183LP1+B09rw=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NSpM9C0uwAKXkWtS4AjhDO42pwXbRnwhEN2Hgo9ck/4=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-fkSaJVohpMjKx2dCTdF90iMcgva5ULwncAUEGmmAz9dqgl4cKuqs1aL7L8UfOd0EhIq8H7dAsfSD
-ect7SNDRNBTzn34pLHjzen6yK7OYTO519fWREnsBTaxWO47AQ2W9IvFOYmRSDwE3KU+RhlhCByGz
-cRyNFP/EF33Oh1HC+X0=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
-MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaX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ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/author-signature.xml
deleted file mode 100755 (executable)
index ca11bc0..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>TUyYNWRKi7sCILxAWwFMcCmXUmF8CzMT4HtpOPp5TpM=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>qRVy9nPLZIyFE5UW2up7k0Dm5ey2C6sgaTRpiosWNXU=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-ST91E26RjbYKKrSv5MCZsnNedxRyig5tpkwO7K3cUR8eAsQPYCcZqCg6ROuFBvQlABgHK9KrfQzI
-xcPQMJMz6uoyY0DaCnd2Viv4bIDtupfqE/VZp8ak0SEHC2kE/CTOuZIOE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8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/config.xml
deleted file mode 100755 (executable)
index 53cc203..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-nondis-identifier-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna003.identifier.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">no identifier signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="720" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna003.identifier" package="tctdyna003" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-nondis-identifier-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/index.html
deleted file mode 100755 (executable)
index 6471d2f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox no identifier signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that dynamicbox with no signature."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-identifier-signature/signature1.xml
deleted file mode 100755 (executable)
index 9ed87a2..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>Kdi5INuMyIRwHW3Syg6AYqknE55b/b4y5YMTWNjE5+I=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>TUyYNWRKi7sCILxAWwFMcCmXUmF8CzMT4HtpOPp5TpM=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>qRVy9nPLZIyFE5UW2up7k0Dm5ey2C6sgaTRpiosWNXU=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-sMcpDJSrpcDBAaLmu37F9P5DvmyPb4f1UQF5gEO7ipQZgVZP443qhs9nyqCF3zShKrtyIYi3dpJh
-rJaHJ5eEAJv+Ui1UNp0iRORQtIYc6FXsWGyoGjEtdq45ktH0CY5FBJooA+z5qcrc5R/3Wq8ajHnC
-LbDIeLGwZLlMsHYc20Q=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-UjEOMAwGA1UEC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0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/author-signature.xml
deleted file mode 100755 (executable)
index 56d1968..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>QJNVPAYVNVPP+qCrFi3rbVjty51HSzo9d7sl7vyIN7I=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ef8xVWo3ixxz1EVNvAcaLLk5273hQAWOiDErxeqq9Zs=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-UCv9x6LHxKvKX80+yVLPfkZuKEp+mxzFxukSlj6ivrBz3eIrQOxdS23wyawyMRLzQzlIyEl8Lz5L
-cU7Kfws5mu6dqfN462T9Yuf2tKSQlUimmPXZ4QccD1aHu/DSNr4iJ3DJsuCOV92RcsQVQFGTs9Za
-7E66f65vUeG4aguAC2o=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUXPgmPrMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAow4bqwe3zNMiBcuFRgf7HgVPllAeWBaU
-mf72sHHr4ucavjTFEBFaUXpyEvPgKxIi8IxdJupp0FKgqj3LKaJFQrL/oo77b0s9KaDnJVhNafyW
-IhCJsPbSjPJK4JHiznNwCRkfBCI8EeQ7aI0cchJuV6KBNomU5w2ABrK+3SUxMkUCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAKWlrFdbVacPQc7L1M2bCQF5u9X66TW1Sw32/h2bPyqlH5ixQGPOS0+Bhgy71cRo
-rFTyHvmKm6QS5meDuRwR1i/bsqpgdcnwJ8lTUTG4U3n3A7Q9FcYgOAa6gUf8SuzWKxFeZiD2Hts1
-ybKsXe9UrykvqDgK7XtVfl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jopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/config.xml
deleted file mode 100755 (executable)
index 801736f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-nondis-profile-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna004.profile.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">no profile distributor signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="720" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna004.profile" package="tctdyna004" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-nondis-profile-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/index.html
deleted file mode 100755 (executable)
index 81ea134..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox no profile signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that dynamicbox with no signature."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-profile-signature/signature1.xml
deleted file mode 100755 (executable)
index 5e782b7..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>9Xkcxffp4g4eWJ94VSLFwvJBNSo/dDCHtom1ySEw6Oo=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>QJNVPAYVNVPP+qCrFi3rbVjty51HSzo9d7sl7vyIN7I=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ef8xVWo3ixxz1EVNvAcaLLk5273hQAWOiDErxeqq9Zs=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-NvHkraibqNV53PoQRcgd1jNZ5rO++nnh/aq2K75RTP5jhUuckVxxvoxAfQtJxLPTCFdhg474GhN1
-QuxB6UUvubAGbkOuTbfA7REkQxQ3N9wHq2QjDmpV/A9e7ga+walZ5yaUqGMLTqrv9Ud78g+gEebl
-LghdCbWmFwVSllcuoUQ=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdv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0bmVy
-IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
-MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/author-signature.xml
deleted file mode 100755 (executable)
index ae448a4..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>b0fV52AZ5e+JsQesT4SFzNyhGB4x/7HezPnQebzlOyE=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>cijb+t6JaTRZsEtYlS8nbaUragphL58mCkTOnmrfLiI=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-MhaSi/CdNSpJXbGuo4BGrh/o1Xr0G+q7jJGrbUOOI7kmteZ/v2R7fC/wnaKNR/OWRzPglEE2cDrZ
-rI194l3cu0BqbLXe3cwny4IqFEPN3cZKqDqXxl0eyDcRH5qgT0SI5G09R6FLRZikRCP9C3JRVPzg
-CTqGuDFyx2z1mH0qvbc=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUXPgmPrMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAow4bqwe3zNMiBcuFRgf7HgVPllAeWBaU
-mf72sHHr4ucavjTFEBFaUXpyEvPgKxIi8IxdJupp0FKgqj3LKaJFQrL/oo77b0s9KaDnJVhNafyW
-IhCJsPbSjPJK4JHiznNwCRkfBCI8EeQ7aI0cchJuV6KBNomU5w2ABrK+3SUxMkUCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMw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1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/config.xml
deleted file mode 100755 (executable)
index 26dc435..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-nondis-role-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna005.role.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">no role distributor signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="720" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna005.role" package="tctdyna005" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-nondis-role-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/index.html
deleted file mode 100755 (executable)
index 6f0579a..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox no role signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that dynamicbox with no signature."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-nondis-role-signature/signature1.xml
deleted file mode 100755 (executable)
index f5c238b..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>2EPooOPqzfj13MwsFLHIXj6hTxkpoogdTW8Z0KTL7s4=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>b0fV52AZ5e+JsQesT4SFzNyhGB4x/7HezPnQebzlOyE=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images/tizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>cijb+t6JaTRZsEtYlS8nbaUragphL58mCkTOnmrfLiI=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-myWWJryc/UBuan2xw5LaBgaPxwWuog/4hEHlujAI7Q/5lKyInTC1Ccw3zoaQWAlLhnTDjKBPWbMq
-KBGTSgcDEM85/0nLUn5ZlXfwbtZap65oNOZ0jHoXhIi/7DLQRN736DUB7ehl0kPdZnuGcWJ7qLAs
-g1kC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AMIGVMQswCQYDVQQGEwJLUjEO
-MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
-IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
-IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
-MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/author-signature.xml
deleted file mode 100755 (executable)
index 07c977a..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ZwNQ86fQ39AEJdqODfFf3QwdcyFQjjnbsDbWYQ4dEQI=</DigestValue>
-</Reference>
-<Reference URI="css%2Fstyle.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images%2Ftizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>OOWb0fii8zmtaXCL5k3h+9wsgycWlPXKJErHhhiOr4E=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-YLON36uSx8ou2e+neuGHmAQqn6LpNux837upm1Q800TkaaozCk1CVO32BGevjgu+S+BlM3iaysLt
-wciaC79krdFobOkgA4PT/OhMwNZ92MBg00LxN1MmQ2HKh0AW3T3XzO5NzGpc0at2LVokmvJmO2DA
-t2qrNUlJfrf8y/Rv8dg=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUnMsJueMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjQe5HwZtQD5vx1D32TgExm0uSOnTKe7N
-BmEgce40mZpS8eC6DkczjJPbPmcwYwtzBDtg5edUQ6ps9JuPy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Em18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/config.xml
deleted file mode 100755 (executable)
index e5c7600..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-only-author-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna007.testdynsign.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">dynamicbox only author Signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="300" height="100"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna007.testdynsign" package="tctdyna007" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SRC-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-only-author-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/index.html
deleted file mode 100755 (executable)
index 7a96fd8..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox only author signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that <tizen:box-size preview> is used to indicate size of the Web DynamicBox."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-only-author-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/author-signature.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/author-signature.xml
deleted file mode 100755 (executable)
index 49b5306..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ARPxW/nsSK2m9hkCbOFj5eLxw4xvyR5QlogAg5GyjgQ=</DigestValue>
-</Reference>
-<Reference URI="css%2Fstyle.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-</Reference>
-<Reference URI="images%2Ftizen_32.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>qT/RtgvmQvZEqgRxQi9aL6j4P4tZlq84G63JhXnLxyw=</DigestValue>
-</Reference>
-<Reference URI="pd%2Findex.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-JTsTotq2RI2AyS1kAnQJQu181wFpZ4wULcDgDG+jhi/QUmRpKBnoqQxubJtRQLUkox/GtnUaoOfN
-e2UzPlVk6xIH1/WNd1wz5JmyZnz650/LlCPu9+rSoq2Oa3D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ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/box/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/box/index.html
deleted file mode 100755 (executable)
index a1daaab..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <div id="demo">Dynamic</div>
-    <div id="demo">Box</div>
-    <div id="fromPd"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/config.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/config.xml
deleted file mode 100755 (executable)
index fae9a92..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/dynamicbox-widget-valid-signature" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="tctdyna008.testdynsign.default" primary="true" auto-launch="false">
-        <tizen:box-label xml:lang="en-gb">dynamicbox valid Signature</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false" touch-effect="true">
-            <tizen:box-size preview="icon.png" use-decoration="true">1x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x1</tizen:box-size>
-            <tizen:box-size preview="icon.png" use-decoration="true">2x2</tizen:box-size>
-            <tizen:pd src="pd/index.html" width="300" height="100"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="tctdyna008.testdynsign" package="tctdyna008" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="lei312.tang@samsung.com">SCR-Nanjing Lei Tang</author>
-    <content src="index.html"/>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png"/>
-    <name>dynamicbox-widget-valid-signature</name>
-    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/css/style.css b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/css/style.css
deleted file mode 100755 (executable)
index 1c64069..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-* {
-    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
-}
-
-body {
-    margin: 0px auto;
-}
-
-header h1 {
-    font-size: 36px;
-    margin: 0px;
-}
-
-header h2 {
-    font-size: 18px;
-    margin: 0px;
-    color: #888;
-    font-style: italic;
-}
-
-nav ul {
-    list-style: none;
-    padding: 0px;
-    display: block;
-    clear: right;
-    background-color: #666;
-    padding-left: 4px;
-    height: 24px;
-}
-
-nav ul li {
-    display: inline;
-    padding: 0px 20px 5px 10px;
-    height: 24px;
-    border-right: 1px solid #ccc;
-}
-
-nav ul li a {
-    color: #EFD3D3;
-    text-decoration: none;
-    font-size: 13px;
-    font-weight: bold;
-}
-
-nav ul li a:hover {
-    color: #fff;
-}
-
-article > header h1 {
-    font-size: 20px;
-    margin-left: 14px;
-}
-
-article > header h1 a {
-    color: #993333;
-}
-
-article > header h1 img {
-    vertical-align:middle;
-}
-
-article > section header h1 {
-    font-size: 16px;
-}
-
-article p {
-    clear: both;
-}
-
-footer p {
-    text-align: center;
-    font-size: 12px;
-    color: #888;
-    margin-top: 24px;
-}
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/icon.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/icon.png
deleted file mode 100755 (executable)
index 9765b1b..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/images/tizen_32.png b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/images/tizen_32.png
deleted file mode 100755 (executable)
index 647c3f9..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/images/tizen_32.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/index.html
deleted file mode 100755 (executable)
index a511f7b..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox valid signature</title>
-    <link rel="help" href="http://www.w3.org/TR/CSP"/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that <tizen:box-size preview> is used to indicate size of the Web DynamicBox."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for dynamicbox</div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/pd/index.html b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/pd/index.html
deleted file mode 100755 (executable)
index b449730..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-       Lei Tang <lei312.tang@samsung.com>
-
--->
-<html>
-  <head>
-    <title>dynamicbox</title>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    This is a Drop View.<br>A Drop View can control the Box.<br>
-    <div id="fromBox"></div>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/signature1.xml b/common/tct-dynamicbox-wrt-tests/dynamicbox-widget-valid-signature/signature1.xml
deleted file mode 100755 (executable)
index 36e5a47..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0"?>
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-  <SignedInfo>
-    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
-    <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
-    <Reference URI="author-signature.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>WWJGTkJuTRJOkBjgNF62yTDdpVYcQPno6kqIdSffGNY=</DigestValue>
-    </Reference>
-    <Reference URI="box%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>3ktzA7VBIsCw2ZEEyUlvTUXy4ZHWR/ZhxGNnCWOR1qU=</DigestValue>
-    </Reference>
-    <Reference URI="config.xml">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>ARPxW/nsSK2m9hkCbOFj5eLxw4xvyR5QlogAg5GyjgQ=</DigestValue>
-    </Reference>
-    <Reference URI="css%2Fstyle.css">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>mVyzTIt7toDjqJDyK8zFNfUxuVnC7msv17Oai/+NZdI=</DigestValue>
-    </Reference>
-    <Reference URI="icon.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs=</DigestValue>
-    </Reference>
-    <Reference URI="images%2Ftizen_32.png">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>eDr9ZPFlGlapLDnI1BiALwqovNdBvx3Aspc/lWOH3WI=</DigestValue>
-    </Reference>
-    <Reference URI="index.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>qT/RtgvmQvZEqgRxQi9aL6j4P4tZlq84G63JhXnLxyw=</DigestValue>
-    </Reference>
-    <Reference URI="pd%2Findex.html">
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>/lR77h85GOJkbUaorPUrOPisjPDDco15noHlvIsFpJ0=</DigestValue>
-    </Reference>
-    <Reference URI="#prop">
-      <Transforms>
-        <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
-      </Transforms>
-      <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
-      <DigestValue>abSCdQC03ZcPoEN8T0eWSILDIhDi2uNziivgdw1gmmQ=</DigestValue>
-    </Reference>
-  </SignedInfo>
-  <SignatureValue>uTuEwZ6bAOif/v/k4dKxJV7FkY2yI8RRtEs1W8UefAmCAFL/+DVf928mUidXm1bv
-TYeEDjvV2yuzlaXwC2L3cZdBQH23iOMSJERMwg4hMHgjEbRG8ZRvpTkLh8DjcCZ0
-ZnDSQuJ5FYFt/H8NpOgJBhJFLU+hu3lv3vWC+1c1C63AAPo0JayLfcPc1wlA22g2
-/eUCfsnkCmfnAvW7N7ltxUViTG0GAvPN2Blfo4v7zESY3FcLVA39r+lu2Z855p8e
-TjijXm0Yq6BJwPhIJFmrZkjFEyQrsh86EqZbATrPYaN/jCSBD4ea1jfzR2S8rOj6
-diM6Q1TpNJoZUDJkoSCqeg==</SignatureValue>
-  <KeyInfo>
-    <X509Data>
-      <X509Certificate>MIIDHjCCAgagAwIBAgICeF0wDQYJKoZIhvcNAQELBQAwQjEaMBgGA1UECgwRVGl6
-ZW4gQXNzb2NpYXRpb24xJDAiBgNVBAMMG1RpemVuIFN0b3JlIFB1YmxpYyBDQSBD
-bGFzczAeFw0xMzEyMzAxNTAxMjlaFw0yMDEyMjgxNTAxMjlaMEYxGjAYBgNVBAoM
-EVRpemVuIEFzc29jaWF0aW9uMSgwJgYDVQQDDB9UaXplbiBTdG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GA1UE
-CgwRVGl6ZW4gQXNzb2NpYXRpb24xJDAiBgNVBAMMG1RpemVuIFN0b3JlIFB1Ymxp
-YyBDQSBDbGFzczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9Jw3L4
-LPOHQfif2RGd9dF7Ww8aFNGGqOALBkZw7yzYoM4cczLMCI2cwZJ18YsR5q6f6WM8
-VWY6y+rfcjBMyrlz3vljzDcMExfeDLuXNbMg566ONiXsM5m8mYJSWmjr4liOdut7
-NlCFB4yMNdfb/LR3OTzUN2Q1QN0Z5W4aGYrZyq6j1o9iCq3pllSJ3SssgOs/YUuC
-xWFroche/mvDxLb9/fHofv5hgGtFsC8RKzOvjv9hfg4rsNTC5Pzk5UP9MW7yBV7V
-jncJlyvu2RIn9xc1yRB+VGWDlcMnVZwKMqNghdVYhzttYnmvS8+j6GjuslrpUe8K
-r4Q4wfEyoK2CYqcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsF
-AAOCAQEAmPFYjZZD/+up0SwehzwUOcpyJ59m4dUtpL0hsQoErscLtcewI/atJtfR
-5uw5DFlpYEKavyxvGzlVo7s9VaJVgHP2F6N9COVnTWU2u42eYCVs9zClf0thIMVz
-FmLwisa6h4BI2Hxm7V0DXctEEeDIXw09yBDK0QxhHHLsp6XgV4zhtuvRwGhIEahA
-fqHwqkMv++0qLRcafetWyGE+jqzX/lq7S+To+iNPBNe1Hi7pOAf9xtt/9DsgU1/t
-msITyXCrLGHG7gxZqzhXZ3NGIEPLPDE8OkOxVYr1Z4v+I1RMwc4naF+H+8zeTZUi
-kRxsM9Yw0M7eL+rTtPBlJBtAIbqRfA==</X509Certificate>
-    </X509Data>
-  </KeyInfo>
-  <Object Id="prop">
-    <SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties">
-      <SignatureProperty Id="profile" Target="#DistributorSignature">
-        <dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"/>
-      </SignatureProperty>
-      <SignatureProperty Id="role" Target="#DistributorSignature">
-        <dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"/>
-      </SignatureProperty>
-      <SignatureProperty Id="identifier" Target="#DistributorSignature">
-        <dsp:Identifier/>
-      </SignatureProperty>
-    </SignatureProperties>
-  </Object>
-</Signature>
diff --git a/common/tct-dynamicbox-wrt-tests/inst.sh.wgt b/common/tct-dynamicbox-wrt-tests/inst.sh.wgt
deleted file mode 100755 (executable)
index 4661715..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-wgt_installer="pkgcmd"
-NAME=$(basename $(cd $(dirname $0);pwd))
-
-#parse params
-USAGE="Usage: ./inst.sh [-i] [-u]
-  -i install wgt and config environment 
-  -u uninstall wgt and remove source file
-[-i] option was set as default."
-
-function installpkg(){
-    echo "No need to install $NAME.wgt ..."
-}
-
-function uninstallpkg(){
-### remove source file ###
-if [ -d /opt/usr/media/tct/opt/$NAME ];then
-    rm -rf /opt/usr/media/tct/opt/$NAME
-else
-    echo "Remove source file fail,please check if the source file exist: /opt/usr/media/tct/opt/$NAME ..."
-fi
-}
-
-case "$1" in
-    -h|--help) echo "$USAGE"
-               exit ;;
-    ""|-i) installpkg;;
-    -u) uninstallpkg;;
-    *) echo "Unknown option: $1"
-       echo "$USAGE"
-       exit ;;
-esac
diff --git a/common/tct-dynamicbox-wrt-tests/pack.sh b/common/tct-dynamicbox-wrt-tests/pack.sh
deleted file mode 100755 (executable)
index a8fda4b..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-#!/bin/bash
-source $(dirname $0)/$(basename $(pwd)).spec
-
-#parse params
-usage="Usage: ./pack.sh [-t <package type: wgt | apk | crx | xpk>]
-[-t wgt] option was set as default."
-
-if [[ $1 == "-h" || $1 == "--help" ]]; then
-    echo $usage
-    exit 1
-fi
-
-type="wgt"
-while getopts t: o
-do
-    case "$o" in
-    t) type=$OPTARG;;
-    *) echo $usage
-       exit 1;;
-    esac
-done
-
-if [[ $type == "wgt" || $type == "apk" || $type == "crx" || $type == "xpk" ]];then
-    echo "Create package with $type and raw source"
-else
-    echo "Sorry,$type is not support... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-    echo "$usage"
-    exit 1
-fi
-
-if [[ -z $name || -z $version || -z $appname ]];then
-    echo "Package name or version not specified in spec"
-    exit 1
-fi
-
-SRC_ROOT=${PWD}
-BUILD_ROOT=/tmp/${name}_pack
-BUILD_DEST=/tmp/${name}
-
-# clean
-function clean_workspace(){
-echo "cleaning workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-rm -rf $BUILD_ROOT $BUILD_DEST
-}
-
-clean_workspace
-mkdir -p $BUILD_ROOT $BUILD_DEST
-
-# copy source code
-rm -rf *.rpm *.tar.bz2 *.tar.gz *.zip
-cp -arf $SRC_ROOT/* $BUILD_ROOT/
-
-# copy signing tool
-echo "copy signing tool... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-cp -arf $SRC_ROOT/../../tools/signing $BUILD_ROOT/signing
-if [ $? -ne 0 ];then
-    echo "No signing tool found in $SRC_ROOT/../../tools.... >>>>>>>>>>>>>>>>>>>>>>>>>"
-    clean_workspace
-    exit 1
-fi
-
-## function for create wgt apk xpk ##
-
-function create_wgt(){
-# create wgt
-cd $BUILD_ROOT
-pack_fail='FALSE'
-suite_dir=${PWD}
-all_dirs=`ls -l --time-style="long-iso" $suite_dir | grep '^d' | awk '{print $8}'|grep -v signing`
-black_dirs=''
-signing_white_dirs=''
-
-#black list reserved for some non-suite folders.
-if [ -f "$suite_dir/blackdirs" ]; then
-    black_dirs=`cat $suite_dir/blackdirs`
-    echo "Got black dirs: $black_dirs"
-fi
-
-#signning white list reserved for some signing folders.
-if [ -f "$suite_dir/signing_whitedirs" ]; then
-    signing_white_dirs=`cat $suite_dir/signing_whitedirs`
-    echo "Got signing white dirs: $signing_white_dirs"
-fi
-
-function check_blackdir()
-{
-  for bdir in ${black_dirs[@]}; do
-    if [ $1 == $bdir ]; then
-      return 1;
-    fi
-  done
-  return 0
-}
-
-function check_signing_whitedir()
-{
-  for signing_wdir in ${signing_white_dirs[@]}; do
-    if [ $1 == $signing_wdir ]; then
-      return 1;
-    fi
-  done
-  return 0
-}
-
-echo "-->> Creating widgets >>--"
-for app in $all_dirs; do
-    check_blackdir $app
-    if [ $? == 1 ]; then
-        echo "Got a black dir: $app"
-        continue
-    elif [ $(find $app|wc -l) -eq 1 ]; then
-        echo "No files found in $app, skip it ..."
-        continue
-    else
-        if [ -f $app.wgt ]; then
-            echo "Delete old packaged file"
-            rm -rf $app.wgt
-        fi
-        cd $app
-        echo "Start pack $app ..."
-        zip -rq ../$app.wgt *
-        if [ $? -ne 0 ]; then
-            pack_fail='TRUE'
-            echo "Create $app.wgt fail, continue to pack others"
-        else
-            check_signing_whitedir $app
-            if [ $? == 0 ];then
-               echo "$app is not in signing white dir, not sign for it."
-               cd $suite_dir
-               continue
-            fi
-        if [ -d "$BUILD_ROOT/signing" ]; then
-                echo "Start sign wgt ..."
-                $BUILD_ROOT/signing/sign-widget.sh --dist platform $BUILD_ROOT/$app.wgt
-            else
-                echo "Not found signing folder."
-                rm -rf $suite_dir/*.wgt
-                exit 1
-            fi
-            echo -e "Done\n"
-        fi
-        cd $suite_dir
-    fi
-done
-echo "-- Create widgets done --"
-
-if [ $pack_fail != 'FALSE' ]; then
-    echo "Fail to pack some packages ..."
-    exit 1
-fi
-
-# build
-echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-cd  $BUILD_ROOT
-./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST
-if [ $? -ne 0 ];then
-    echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-    clean_workspace
-    exit 1
-fi
-find $BUILD_DEST -name "Makefile*" -delete
-}
-
-function create_apk(){
-echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-function create_xpk(){
-echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-function create_crx(){
-echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-## zip function ##
-function zip_for_wgt(){
-cd $BUILD_DEST
-# cp inst.sh script #
-rm -rf $BUILD_DEST/opt/$name/inst.sh.wgt
-cp -af $BUILD_ROOT/inst.sh.wgt $BUILD_DEST/opt/$name/inst.sh
-
-zip -Drq $BUILD_DEST/$name-$version.zip opt/
-if [ $? -ne 0 ];then
-    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
-    clean_workspace
-    exit 1
-fi
-}
-
-function zip_for_apk(){
-echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-function zip_for_xpk(){
-echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-function zip_for_crx(){
-echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-clean_workspace
-exit 1
-}
-
-## create wgt crx apk xpk and zip package ##
-case $type in
-    wgt) create_wgt
-         zip_for_wgt;;
-    apk) create_apk
-         zip_for_apk;;
-    xpk) create_xpk
-         zip_for_xpk;;
-    crx) create_crx
-         zip_for_crx;;
-esac
-
-
-# copy zip file
-echo "copy package from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-cp -f $BUILD_DEST/$name-$version.zip $SRC_ROOT/$name-$version.zip
-
-# clean workspace
-clean_workspace
-
-# validate
-echo "checking result... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-cd $SRC_ROOT
-if [ -z "`ls | grep "\.zip"`" ];then
-    echo "------------------------------ FAILED to build $name packages --------------------------"
-    exit 1
-fi
-
-echo "------------------------------ Done to build $name packages --------------------------"
-ls *.zip 2>/dev/null
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/Makefile.am b/common/tct-dynamicbox-wrt-tests/scripts/Makefile.am
deleted file mode 100755 (executable)
index 244c5ad..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-scripts_SCRIPTS = *
-scriptsdir = $(prefix)/opt/tct-dynamicbox-wrt-tests/scripts
-EXTRA_DIST = $(scripts_SCRIPTS)
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install.sh
deleted file mode 100755 (executable)
index edd23e3..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6app001
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-widget-sample.wgt wrt6app001
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6app001/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "livebox" "pd")
-if [ $filecount -eq 5  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh
deleted file mode 100755 (executable)
index 7147efa..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Lei Tang <lei312.tang@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n tctdyna006
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh dynamicbox-widget-no-signature.wgt tctdyna006
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/tctdyna006/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "css" "images")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh
deleted file mode 100755 (executable)
index f752749..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Lei Tang <lei312.tang@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n tctdyna007
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh dynamicbox-widget-only-author-signature.wgt tctdyna007
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/tctdyna007/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "css" "images" "author-signature.xml")
-if [ $filecount -eq 8  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipartner.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipartner.sh
deleted file mode 100755 (executable)
index 1c233ab..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig021
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signpartner-apipartner.wgt wrt6sig021
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig021/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipublic.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipublic.sh
deleted file mode 100755 (executable)
index 22c08fd..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig022
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signpartner-apipublic.wgt wrt6sig022
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig022/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipartner.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipartner.sh
deleted file mode 100755 (executable)
index 496b0f6..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig023
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signplatform-apipartner.wgt wrt6sig023
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig023/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apiplatform.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apiplatform.sh
deleted file mode 100755 (executable)
index 6d63160..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig024
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signplatform-apiplatform.wgt wrt6sig024
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig024/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipublic.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipublic.sh
deleted file mode 100755 (executable)
index 65b230d..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig025
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signplatform-apipublic.wgt wrt6sig025
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig025/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpublic_apipublic.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpublic_apipublic.sh
deleted file mode 100755 (executable)
index 0b61c7b..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Zhongyuan Yuan <zy123.yuan@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n wrt6sig020
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-sign-signpublic-apipublic.wgt wrt6sig020
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6sig020/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 7  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh
deleted file mode 100755 (executable)
index e55009a..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-#        Lei Tang <lei312.tang@samsung.com>
-
-function existbh()
-{
-  echo $1
-  pkgcmd -u -q -t wgt -n tctdyna008
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh dynamicbox-widget-valid-signature.wgt tctdyna008
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/tctdyna008/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  existbh "The path of the application does not exist." 1
-fi
-filecount=$(ls -lR $widgetpath|grep "^-"|wc -l)
-name=("config.xml" "icon.png" "index.html" "box" "pd" "css" "images" "author-signature.xml" "signature1.xml")
-if [ $filecount -eq 9  ]
-then
-  filename=$(ls $widgetpath)
-  for var in ${filename[@]};do
-    echo ${name[@]}|grep -q "$var"
-    if [ $? -ne 0 ]
-    then
-      existbh "WRT does not support Web AppWidget installation." 1
-    fi
-  done
-  indexcount=$(find $widgetpath -name index.html|wc -l)
-  if [ $indexcount -ne 3  ]
-  then
-    existbh "WRT does not support Web AppWidget installation." 1
-  fi
-  existbh "WRT supports Web AppWidget installation." 0
-else
-  existbh "WRT does not support Web AppWidget installation." 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installer.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installer.sh
deleted file mode 100755 (executable)
index 061ba2e..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-
-if [ $# != 2 ];then
-    echo "Please add parameters packagename and widget id."
-    exit 1
-fi
-path=$(dirname $(dirname $0))
-PACKAGENAME="$path/$1"
-p_name=$1
-APP_NAME=${p_name%%.wgt}
-WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ ! -z "$WIDGETNAME"  ]
-then
-  pkgcmd -u -q -t wgt -n $WIDGETNAME
-  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-  if [ ! -z "$WIDGETNAME"  ]
-  then
-    echo -e  "Fail to uninstall the existed widget!"
-    exit 1
-  fi
-fi
-pkgcmd -i -t wgt -q -p $PACKAGENAME
-WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ "$WIDGETNAME" = "$2"  ]
-then
-  echo -e  "The widget is installed successfully!"
-  exit 0
-else
-  echo -e  "Fail to install the widget!"
-  exit 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh
deleted file mode 100755 (executable)
index de77f46..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Cao, Jenny <jenny.q.cao@intel.com>
-#        Yue, jianhui <jianhuix.a.yue@intel.com>
-
-if [ $# != 1 ];then
-    echo "Please add parameter packagename!"
-    exit 1
-fi
-path=$(dirname $(dirname $0))
-PACKAGENAME="$path/$1"
-p_name=$1
-APP_NAME=${p_name%%.wgt}
-WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ ! -z "$WIDGETNAME"  ]
-then
-  pkgcmd -u -q -t wgt -n $WIDGETNAME
-  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-  if [ ! -z "$WIDGETNAME"  ]
-  then
-    echo -e  "Fail to uninstall the existed widget!"
-    exit 1
-  fi
-fi
-pkgcmd -i -t wgt -q -p $PACKAGENAME
-WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ -z "$WIDGETNAME" ]
-then
-  echo -e  "Fail to install the widget!"
-  exit 0
-else
-  echo -e  "The widget is installed successfully!"
-  exit 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstall.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstall.sh
deleted file mode 100755 (executable)
index bca1080..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-
-function existbh()
-{
-  echo $1
-  exit $2
-}
-$(dirname $0)/wrt_appwgt_installer.sh app-widget-sample.wgt wrt6app001
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-widgetpath="/opt/usr/apps/wrt6app001/res/wgt/"
-if [ ! -d $widgetpath ]
-then
-  pkgcmd -u -q -t wgt -n wrt6app001
-  existbh "The path of the application does not exist." 1
-fi
-$(dirname $0)/wrt_appwgt_uninstaller.sh app-widget-sample.wgt wrt6app001
-if [ $? -ne 0 ]
-then
-  exit 1
-fi
-if [ -d $widgetpath ]
-then
-  existbh "The WRT does not support Web AppWidget uninstallation." 1
-else
-  existbh "The WRT supports Web AppWidget uninstallation." 0
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstaller.sh b/common/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_uninstaller.sh
deleted file mode 100755 (executable)
index 2dc5f96..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-#
-#Copyright (c) 2013 Intel Corporation.
-
-#Redistribution and use in source and binary forms, with or without modification,
-#are permitted provided that the following conditions are met:
-#
-#* Redistributions of works must retain the original copyright notice, this list
-#  of conditions and the following disclaimer.
-#* Redistributions in binary form must reproduce the original copyright notice,
-#  this list of conditions and the following disclaimer in the documentation
-#  and/or other materials provided with the distribution.
-#* Neither the name of Intel Corporation nor the names of its contributors
-#  may be used to endorse or promote products derived from this work without
-#  specific prior written permission.
-#
-#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Author:
-#        Zhang Ge <gex.zhang@intel.com>
-
-if [ $# != 2 ];then
-    echo "Please add parameters packagename and widget id."
-    exit 1
-fi
-path=$(dirname $(dirname $0))
-PACKAGENAME="$path/$1"
-p_name=$1
-APP_NAME=${p_name%%.wgt}
-APPID=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ -z "$APPID"  ]
-then
-  pkgcmd -i -t wgt -q -p $PACKAGENAME
-  APPID=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-  if [ -z "$APPID"  ]
-  then
-    echo -e  "Fail to install the widget."
-    exit 1
-  fi
-fi
-pkgcmd -u -q -t wgt -n $APPID
-APPID=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
-if [ -z "$APPID"  ]
-then
-  echo -e  "The widget is uninstalled successfully!"
-  exit 0
-else
-  echo -e  "Fail to uninstall the widget!"
-  exit 1
-fi
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/author-signature.xml b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/author-signature.xml
deleted file mode 100755 (executable)
index a06fbc9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kWVzQQ2QbE2987BAltd6maF+xrO43wmICO2pdiM1Lz0=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>CzOPKvmuxsH3kmDqNMYrynQlWmjxNS7Ioo/ZsEcwUIM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NAmyW1aZYzcIT02Jr7Fj5LO440GkRBmrSNVyrkIxoG8=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>GbpgyiVmKOfBnLJLFhb7K0ObjuIZzW4mg8BQ/4CHgP0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-M3FJdO1G+j1p2e3X0nM1SIlqJokrxmbQpzgWCSUZ9dCDYEFxK6OxDye9DBTn2Z4/5qaUSLrsSurZ
-8pGnw8ZNhTS1rE30l8wX7I+FgmEkAX/SIQdU4DXDea+W6PeoUxi6qyxB0zayRxGW1lVazYBwMn4X
-K9KJTSz4F6apKtSlhVU=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUUCEM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Bl
-cnMgUm9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/box/index.html b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/box/index.html
deleted file mode 100755 (executable)
index b627343..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    var adapter = tizen.bluetooth.getDefaultAdapter(); //define a bluetooth adapter
-
-    function showMe()
-    {
-         if (adapter.visible == false) {
-             //Shows device
-             adapter.setVisible(true,
-                                function() { console.log ('Device is visible to other devices for 3 minutes.'); },
-                                function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-         }
-         else {
-              console.log("Device is already in discoverable mode.");
-         }
-    }
-
-    try {
-        showMe();
-        document.write("Pass");
-    } catch (e) {
-        document.write("Failed<br>" + e.message);
-    }
-
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/config.xml b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/config.xml
deleted file mode 100755 (executable)
index 949f82d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-api-security-bluetooth-mgr" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6api012.appwidgetapisecuritybluetoothmgr.default" primary="true">
-        <tizen:box-label>DB API bluetooth-mgr</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6api012.appwidgetapisecuritybluetoothmgr" package="wrt6api012" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-widget-api-security-bluetooth-mgr</name>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/icon.png b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/index.html b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/index.html
deleted file mode 100755 (executable)
index b4c6962..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/pd/index.html b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/pd/index.html
deleted file mode 100755 (executable)
index c7e3ba5..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/signature1.xml b/common/tct-dynamicbox-wrt-tests/signpartner-apiplatform/signature1.xml
deleted file mode 100755 (executable)
index 32ce296..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>yCQB2fn70i38MAHmBIzHfqRvseXHNXBCFkXp7NCBo6o=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kWVzQQ2QbE2987BAltd6maF+xrO43wmICO2pdiM1Lz0=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>CzOPKvmuxsH3kmDqNMYrynQlWmjxNS7Ioo/ZsEcwUIM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NAmyW1aZYzcIT02Jr7Fj5LO440GkRBmrSNVyrkIxoG8=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>GbpgyiVmKOfBnLJLFhb7K0ObjuIZzW4mg8BQ/4CHgP0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-sP7/vNj6qFWRVjtOtxTFT0F06PUpyxnu4XLMqPh+AwgkzZqBYrxL4BtDW2494nmRJhk1jqronO2r
-K1staWv8KxNz5VOZyXBk8lbPtGdiI4373Vtqu+9IYjryyw9mo4MXyutfopxBEh2ip1bzyGUokvxP
-RTGacNHP49ENpevzLus=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
-MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQY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jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/author-signature.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/author-signature.xml
deleted file mode 100755 (executable)
index ca31fef..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>xNw/msLrdiXt8vTF1GjQ4em3fFtaQv0gmNtAIF6gFck=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ExVaFhLKl2S2x0Fshpw3Hxy/G++Uf8sO/HqVCiJ+LJ8=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>UIO4GaeeyA89ymM3b2cZaKdx/nJovSVDsH20X8BAUAA=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>pW8Da1c1e30jWHr8cByy8Z8Jy4q2rnAb5n4qYLJJu0o=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-Q2bwwwOcvcVBOkRyMoggF2vvYHcerGdlsM2Ls4rEViuwiCHTJwLQYV0PN9upS3Ydkx7h1Mo8uxRM
-mPMnNLdQBaAFIDm+LGZfpj3vcP8rTB8LDuLYxK84F+AAz95NuEogsS0WR/Y9JkMaAgaHEwT34W9B
-vsI2d9rtzRh3IrpJod4=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgI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ERldmVsb3Bl
-cnMgUm9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/box/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/box/index.html
deleted file mode 100755 (executable)
index 5c79c9a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_networkbearerselection</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    //success call back
-    var statuscb = {
-      onsuccess: function() { console.log("onsuccess func is called"); },
-      ondisconnected: function() { console.log("ondisconnected func is called"); }
-    };
-
-    //error call back
-    function ecb(e) { console.log("error callback is called : " + e.message + " : " + e.code); }
-
-    //Network bearer selection
-    try{
-       tizen.networkbearerselection.requestRouteToHost("CELLULAR", "www.tizen.org", statuscb, ecb);
-       document.write("Pass");
-    } catch(e) {
-       document.write("Failed<br>" + e.message);
-    }
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/config.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/config.xml
deleted file mode 100755 (executable)
index 76784e9..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-api-security-networkbearerselection" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6api029.appwidgetapisecuritynetworkbearerselection.default" primary="true">
-        <tizen:box-label>DB API networkbearerselection</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6api029.appwidgetapisecuritynetworkbearerselection" package="wrt6api029" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-widget-api-security-networkbearerselection</name>
-    <tizen:privilege name="http://tizen.org/privilege/networkbearerselection"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/icon.png b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/index.html
deleted file mode 100755 (executable)
index d6471ab..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_networkbearerselection</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/pd/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/pd/index.html
deleted file mode 100755 (executable)
index 8c58cb6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_networkbearerselection</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/signature1.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apipartner/signature1.xml
deleted file mode 100755 (executable)
index 93a55f9..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>mKgyEKnn08jdbdXbnEpXcFb+SujhxHvBMU/qzekSskU=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>xNw/msLrdiXt8vTF1GjQ4em3fFtaQv0gmNtAIF6gFck=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>ExVaFhLKl2S2x0Fshpw3Hxy/G++Uf8sO/HqVCiJ+LJ8=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>UIO4GaeeyA89ymM3b2cZaKdx/nJovSVDsH20X8BAUAA=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>pW8Da1c1e30jWHr8cByy8Z8Jy4q2rnAb5n4qYLJJu0o=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-ddo7LcFHd+eSH5dKtRX1lAIG1dBE0M0jsHh0ho/M3cH9LojrYALETTBRFBE3gqIF3Tu9ArmyWDo3
-Mr5uh1xOmJriLqqBdpjRtw0Ms1fsc95Dts3ocot1/s1b+JB1PHuT31l2ue/+v6LnEIFDGaFY7xnz
-fIy+2TLu9sbxyofbIdA=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
-90ZdA+y66+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+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
-2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
-KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
-yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
-VhfnkHwPltmrpYVe
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/author-signature.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/author-signature.xml
deleted file mode 100755 (executable)
index a06fbc9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kWVzQQ2QbE2987BAltd6maF+xrO43wmICO2pdiM1Lz0=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>CzOPKvmuxsH3kmDqNMYrynQlWmjxNS7Ioo/ZsEcwUIM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NAmyW1aZYzcIT02Jr7Fj5LO440GkRBmrSNVyrkIxoG8=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>GbpgyiVmKOfBnLJLFhb7K0ObjuIZzW4mg8BQ/4CHgP0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-M3FJdO1G+j1p2e3X0nM1SIlqJokrxmbQpzgWCSUZ9dCDYEFxK6OxDye9DBTn2Z4/5qaUSLrsSurZ
-8pGnw8ZNhTS1rE30l8wX7I+FgmEkAX/SIQdU4DXDea+W6PeoUxi6qyxB0zayRxGW1lVazYBwMn4X
-K9KJTSz4F6apKtSlhVU=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUUCEMTtMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2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WF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
-g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
-jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
-AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
-95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
-1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/box/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/box/index.html
deleted file mode 100755 (executable)
index b627343..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#99CCFF" text="#FFFFFF">
-    <script>
-    var adapter = tizen.bluetooth.getDefaultAdapter(); //define a bluetooth adapter
-
-    function showMe()
-    {
-         if (adapter.visible == false) {
-             //Shows device
-             adapter.setVisible(true,
-                                function() { console.log ('Device is visible to other devices for 3 minutes.'); },
-                                function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-         }
-         else {
-              console.log("Device is already in discoverable mode.");
-         }
-    }
-
-    try {
-        showMe();
-        document.write("Pass");
-    } catch (e) {
-        document.write("Failed<br>" + e.message);
-    }
-
-    </script>
-  </body>
-</html>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/config.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/config.xml
deleted file mode 100755 (executable)
index 949f82d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-api-security-bluetooth-mgr" version="1.0.0" viewmodes="maximized">
-    <tizen:app-widget id="wrt6api012.appwidgetapisecuritybluetoothmgr.default" primary="true">
-        <tizen:box-label>DB API bluetooth-mgr</tizen:box-label>
-        <tizen:box-icon src="icon.png"/>
-        <tizen:box-content src="box/index.html" mouse-event="false">
-          <tizen:box-size>1x1</tizen:box-size>
-          <tizen:box-size>2x1</tizen:box-size>
-          <tizen:box-size>2x2</tizen:box-size>
-          <tizen:pd src="pd/index.html" width="600" height="200"/>
-        </tizen:box-content>
-    </tizen:app-widget>
-    <tizen:application id="wrt6api012.appwidgetapisecuritybluetoothmgr" package="wrt6api012" required_version="2.3"/>
-    <author href="http://www.samsung.com" email="zy123.yuan@samsung.com">SRC-NJ Yuan Zhongyuan</author>
-    <feature name="http://tizen.org/feature/screen.size.all"/>
-    <icon src="icon.png" height="117" width="117"/>
-    <name>app-widget-api-security-bluetooth-mgr</name>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
-    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
-</widget>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/icon.png b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/icon.png and /dev/null differ
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/index.html
deleted file mode 100755 (executable)
index b4c6962..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body>
-    <div>This is Web Application for livebox</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/pd/index.html b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/pd/index.html
deleted file mode 100755 (executable)
index c7e3ba5..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-       SRC-NJ Zhongyuan Yuan <zy123.yuan@samsung.com>
--->
-
-<html>
-  <head>
-    <title>Dynamic_box_devices_api_security_bluetooth-mgr</title>
-    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="."/>
-    <meta charset="utf-8">
-  </head>
-  <body bgcolor="#FF9966" text="#FFFFFF">
-    <div>PD index.html</div>
-  </body>
-</html>
diff --git a/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/signature1.xml b/common/tct-dynamicbox-wrt-tests/signpublic-apiplatform/signature1.xml
deleted file mode 100755 (executable)
index 8ffcbd4..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="author-signature.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>yCQB2fn70i38MAHmBIzHfqRvseXHNXBCFkXp7NCBo6o=</DigestValue>
-</Reference>
-<Reference URI="box/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kWVzQQ2QbE2987BAltd6maF+xrO43wmICO2pdiM1Lz0=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>CzOPKvmuxsH3kmDqNMYrynQlWmjxNS7Ioo/ZsEcwUIM=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>NAmyW1aZYzcIT02Jr7Fj5LO440GkRBmrSNVyrkIxoG8=</DigestValue>
-</Reference>
-<Reference URI="pd/index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>GbpgyiVmKOfBnLJLFhb7K0ObjuIZzW4mg8BQ/4CHgP0=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-QVnZ/j3r0r4WRJmha1Gb03Syfl48PALXNVUPcMsAwAqw9y5qEe6jJnvr2wfhOtkku1eGqYdtwgbz
-S4gO/6dz7wFm9GaDNX3toZ3YnXzAJgrKGL3eKpVNjIIL/v/DaH+3SR6b7+7LtkXS1Ky7Umu6uaid
-WhmeIH0o4e+SNBXtC0Y=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJA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hzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
-2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
-KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
-yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
-VhfnkHwPltmrpYVe
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/tct-dynamicbox-wrt-tests.spec b/common/tct-dynamicbox-wrt-tests/tct-dynamicbox-wrt-tests.spec
deleted file mode 100755 (executable)
index 00fd646..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-sign="0"
-version="$main_version-$release"
-appname=$(echo $name|sed 's/-/_/g')
diff --git a/common/tct-dynamicbox-wrt-tests/testcase.xsl b/common/tct-dynamicbox-wrt-tests/testcase.xsl
deleted file mode 100755 (executable)
index 899b858..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
-    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-    <xsl:output method="html" version="1.0" encoding="UTF-8"
-        indent="yes" />
-    <xsl:template match="/">
-        <html>
-            <STYLE type="text/css">
-                @import "tests.css";
-            </STYLE>
-
-            <body>
-                <div id="testcasepage">
-                    <div id="title">
-                        <table>
-                            <tr>
-                                <td>
-                                    <h1>Test Cases</h1>
-                                </td>
-                            </tr>
-                        </table>
-                    </div>
-                    <div id="suites">
-                        <table>
-                            <tr>
-                                <th>Test Suite</th>
-                                <th>Total</th>
-                                <th>Auto</th>
-                                <th>Manual</th>
-                            </tr>
-                            <tr>
-                                <td>
-                                    Total
-                                </td>
-                                <td>
-                                    <xsl:value-of select="count(test_definition/suite/set//testcase)" />
-                                </td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition/suite/set//testcase[@execution_type = 'auto'])" />
-                                </td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition/suite/set//testcase[@execution_type != 'auto'])" />
-                                </td>
-                            </tr>
-                            <xsl:for-each select="test_definition/suite">
-                                <tr>
-                                    <td>
-                                        <xsl:value-of select="@name" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set//testcase)" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set/testcase[@execution_type = 'auto'])" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set/testcase[@execution_type != 'auto'])" />
-                                    </td>
-                                </tr>
-                            </xsl:for-each>
-                        </table>
-                    </div>
-                    <div id="title">
-                        <table>
-                            <tr>
-                                <td class="title">
-                                    <h1>Detailed Test Cases</h1>
-                                </td>
-                            </tr>
-                        </table>
-                    </div>
-                    <div id="cases">
-                        <xsl:for-each select="test_definition/suite">
-                            <xsl:sort select="@name" />
-                            <p>
-                                Test Suite:
-                                <xsl:value-of select="@name" />
-                            </p>
-                            <table>
-                                <tr>
-                                    <th>Case_ID</th>
-                                    <th>Purpose</th>
-                                    <th>Type</th>
-                                    <th>Component</th>
-                                    <th>Execution Type</th>
-                                    <th>Description</th>
-                                    <th>Specification</th>
-                                </tr>
-                                <xsl:for-each select=".//set">
-                                    <xsl:sort select="@name" />
-                                    <tr>
-                                        <td colspan="7">
-                                            Test Set:
-                                            <xsl:value-of select="@name" />
-                                        </td>
-                                    </tr>
-                                    <xsl:for-each select=".//testcase">
-                                        <xsl:sort select="@id" />
-                                        <tr>
-                                            <td>
-                                                <xsl:value-of select="@id" />
-                                            </td>
-                                            <td>
-                                                <xsl:value-of select="@purpose" />
-                                            </td>
-                                            <td>
-                                                <xsl:value-of select="@type" />
-                                            </td>
-                                            <td>
-                                                <xsl:value-of select="@component" />
-                                            </td>
-                                            <td>
-                                                <xsl:value-of select="@execution_type" />
-                                            </td>
-                                            <td>
-                                                <p>
-                                                    Pre_condition:
-                                                    <xsl:value-of select=".//description/pre_condition" />
-                                                </p>
-                                                <p>
-                                                    Post_condition:
-                                                    <xsl:value-of select=".//description/post_condition" />
-                                                </p>
-                                                <p>
-                                                    Test Script Entry:
-                                                    <xsl:value-of select=".//description/test_script_entry" />
-                                                </p>
-                                                <p>
-                                                    Steps:
-                                                    <p />
-                                                    <xsl:for-each select=".//description/steps/step">
-                                                        <xsl:sort select="@order" />
-                                                        Step
-                                                        <xsl:value-of select="@order" />
-                                                        :
-                                                        <xsl:value-of select="./step_desc" />
-                                                        ;
-                                                        <p />
-                                                        Expected Result:
-                                                        <xsl:value-of select="./expected" />
-                                                        <p />
-                                                    </xsl:for-each>
-                                                </p>
-                                            </td>
-                                            <td>
-                                                <xsl:call-template name="br-replace">
-                                                    <xsl:with-param name="word" select=".//spec" />
-                                                </xsl:call-template>
-                                            </td>
-                                        </tr>
-                                    </xsl:for-each>
-                                </xsl:for-each>
-                            </table>
-                        </xsl:for-each>
-                    </div>
-                </div>
-            </body>
-        </html>
-    </xsl:template>
-    <xsl:template name="br-replace">
-        <xsl:param name="word" />
-        <xsl:variable name="cr">
-            <xsl:text>
-</xsl:text>
-        </xsl:variable>
-        <xsl:choose>
-            <xsl:when test="contains($word,$cr)">
-                <xsl:value-of select="substring-before($word,$cr)" />
-                <br />
-                <xsl:call-template name="br-replace">
-                    <xsl:with-param name="word" select="substring-after($word,$cr)" />
-                </xsl:call-template>
-            </xsl:when>
-            <xsl:otherwise>
-                <xsl:value-of select="$word" />
-            </xsl:otherwise>
-        </xsl:choose>
-    </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/testresult.xsl b/common/tct-dynamicbox-wrt-tests/testresult.xsl
deleted file mode 100755 (executable)
index 96edd2b..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
-    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-    <xsl:output method="html" version="1.0" encoding="UTF-8"
-        indent="yes" />
-    <xsl:template match="/">
-        <html>
-            <STYLE type="text/css">
-                @import "tests.css";
-            </STYLE>
-
-            <body>
-                <div id="testcasepage">
-                    <div id="title">
-                        <table>
-                            <tr>
-                                <td>
-                                    <h1>Test Report</h1>
-                                </td>
-                            </tr>
-                        </table>
-                    </div>
-                    <div id="device">
-                        <table>
-                            <tr>
-                                <th colspan="2">Device Information</th>
-                            </tr>
-                            <tr>
-                                <td>Device Name</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@device_name" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Device Model</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@device_model" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>OS Version</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@os_version" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Device ID</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@device_id" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Firmware Version</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@firmware_version" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Screen Size</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@screen_size" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Resolution</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@resolution" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Host Info</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/@host" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Others</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/environment/other" />
-                                </td>
-                            </tr>
-                        </table>
-                    </div>
-
-                    <div id="summary">
-                        <table>
-                            <tr>
-                                <th colspan="2">Test Summary</th>
-                            </tr>
-                            <tr>
-                                <td>Test Plan Name</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/summary/@test_plan_name" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Tests Total</td>
-                                <td>
-                                    <xsl:value-of select="count(test_definition//suite/set/testcase)" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Test Passed</td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition//suite/set/testcase[@result = 'PASS'])" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Test Failed</td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition//suite/set/testcase[@result = 'FAIL'])" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Test N/A</td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Test Not Run</td>
-                                <td>
-                                    <xsl:value-of
-                                        select="count(test_definition//suite/set/testcase) - count(test_definition//suite/set/testcase[@result = 'PASS']) - count(test_definition//suite/set/testcase[@result = 'FAIL']) - count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>Start time</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/summary/start_at" />
-                                </td>
-                            </tr>
-                            <tr>
-                                <td>End time</td>
-                                <td>
-                                    <xsl:value-of select="test_definition/summary/end_at" />
-                                </td>
-                            </tr>
-                        </table>
-                    </div>
-
-
-                    <div id="suite_summary">
-                        <div id="title">
-                            <table>
-                                <tr>
-                                    <td class="title">
-                                        <h1>Test Summary by Suite</h1>
-                                    </td>
-                                </tr>
-                            </table>
-                        </div>
-                        <table>
-                            <tr>
-                                <th>Suite</th>
-                                <th>Passed</th>
-                                <th>Failed</th>
-                                <th>N/A</th>
-                                <th>Not Run</th>
-                                <th>Total</th>
-                            </tr>
-                            <xsl:for-each select="test_definition/suite">
-                                <xsl:sort select="@name" />
-                                <tr>
-                                    <td>
-                                        <xsl:value-of select="@name" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set//testcase[@result = 'PASS'])" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set//testcase[@result = 'FAIL'])" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set//testcase[@result = 'BLOCK'])" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of
-                                            select="count(set//testcase) - count(set//testcase[@result = 'PASS']) - count(set//testcase[@result = 'FAIL']) - count(set//testcase[@result = 'BLOCK'])" />
-                                    </td>
-                                    <td>
-                                        <xsl:value-of select="count(set//testcase)" />
-                                    </td>
-                                </tr>
-                            </xsl:for-each>
-                        </table>
-                    </div>
-
-                    <div id="cases">
-                        <div id="title">
-                            <table>
-                                <tr>
-                                    <td class="title">
-                                        <h1 align="center">Detailed Test Results</h1>
-                                    </td>
-                                </tr>
-                            </table>
-                        </div>
-                        <xsl:for-each select="test_definition/suite">
-                            <xsl:sort select="@name" />
-                            <p>
-                                Test Suite:
-                                <xsl:value-of select="@name" />
-                            </p>
-                            <table>
-                                <tr>
-                                    <th>Case_ID</th>
-                                    <th>Purpose</th>
-                                    <th>Result</th>
-                                    <th>Stdout</th>
-                                </tr>
-                                <xsl:for-each select=".//set">
-                                    <xsl:sort select="@name" />
-                                    <tr>
-                                        <td colspan="4">
-                                            Test Set:
-                                            <xsl:value-of select="@name" />
-                                        </td>
-                                    </tr>
-                                    <xsl:for-each select=".//testcase">
-                                        <xsl:sort select="@id" />
-                                        <tr>
-                                            <td>
-                                                <xsl:value-of select="@id" />
-                                            </td>
-                                            <td>
-                                                <xsl:value-of select="@purpose" />
-                                            </td>
-
-                                            <xsl:choose>
-                                                <xsl:when test="@result">
-                                                    <xsl:if test="@result = 'FAIL'">
-                                                        <td class="red_rate">
-                                                            <xsl:value-of select="@result" />
-                                                        </td>
-                                                    </xsl:if>
-                                                    <xsl:if test="@result = 'PASS'">
-                                                        <td class="green_rate">
-                                                            <xsl:value-of select="@result" />
-                                                        </td>
-                                                    </xsl:if>
-                                                    <xsl:if test="@result = 'BLOCK' ">
-                                                        <td>
-                                                            BLOCK
-                                                        </td>
-                                                    </xsl:if>
-                                                </xsl:when>
-                                                <xsl:otherwise>
-                                                    <td>
-
-                                                    </td>
-                                                </xsl:otherwise>
-                                            </xsl:choose>
-                                            <td>
-                                                <xsl:value-of select=".//result_info/stdout" />
-                                                <xsl:if test=".//result_info/stdout = ''">
-                                                    N/A
-                                                </xsl:if>
-                                            </td>
-                                        </tr>
-                                    </xsl:for-each>
-                                </xsl:for-each>
-                            </table>
-                        </xsl:for-each>
-                    </div>
-                </div>
-            </body>
-        </html>
-    </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/tests.css b/common/tct-dynamicbox-wrt-tests/tests.css
deleted file mode 100755 (executable)
index f1ade8a..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-@charset "UTF-8";
-/* CSS Document */
-#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
-    {
-    margin: 0;
-    padding: 0;
-    border: 0;
-    font-weight: inherit;
-    font-style: inherit;
-    font-size: 0.96em;
-    font-family: arial;
-    vertical-align: baseline;
-}
-
-#testcasepage p {
-    text-align: left;
-}
-
-#testcasepage table {
-    border-collapse: separate;
-    border-spacing: 0;
-    margin-bottom: 1.4em;
-    vertical-align: middle;
-}
-
-#testcasepage th,#testcasepage td {
-    text-align: left;
-    font-weight: normal;
-    padding: 4px 10px 4px 5px;
-    vertical-align: middle;
-}
-
-#cases table {
-    width: 101%;
-}
-
-#title table {
-    width: 101%;
-}
-
-#device table {
-    width: 50%;
-}
-
-#summary table {
-    width: 50%;
-}
-
-#testcasepage th {
-    border-bottom: 1px solid #000;
-    background-color: #AAAAAA;
-    border-left: 1px solid #000;
-    border-top: 1px solid #000;
-    color: #000;
-    font-weight: bold;
-    vertical-align: bottom;
-}
-
-#testcasepage th:last-child, #testcasepage td:last-child {
-    border-right: 1px solid #000;
-}
-
-#testcasepage td {
-    border-left: 1px solid;
-    font-weight: normal;
-    border-bottom: 1px solid;
-}
-
-#testcasepage td.yellow_rate {
-    background-color: #ffcc00;
-}
-
-#testcasepage td.green_rate {
-    background-color: #33cc33;
-}
-
-#testcasepage td.dgreen_rate {
-    background-color: #339933;
-}
-
-#testcasepage td.red_rate {
-    background-color: #FF3333;
-}
-
-#title table, #title tr, #title td {
-    border-left: none;
-    border-bottom: none;
-    text-align: center;
-}
-
-#title td:last-child {
-    border-right: none;
-}
-
-#testcasepage h1 {
-    font-size: 2em;
-    font-family: Arial, sans-serif; font-weight : bold;
-    line-height: 1;
-    color: #000;
-    margin-bottom: 0.75em;
-    padding-top: 0.25em;
-    font-weight: bold;
-}
\ No newline at end of file
diff --git a/common/tct-dynamicbox-wrt-tests/tests.full.xml b/common/tct-dynamicbox-wrt-tests/tests.full.xml
deleted file mode 100755 (executable)
index 5aad4d5..0000000
+++ /dev/null
@@ -1,365 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl"  href="testcase.xsl"?>
-<test_definition>
-  <suite name="tct-dynamicbox-wrt-tests" category="Web Runtime">
-    <set name="Dynamicbox">
-      <testcase purpose="Check if widget have invalid signature, the widget can not be install" type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-invalid-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have invalid signature</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-invalid-signature.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if distributor signature non-Tizen distributor signature, the widget can not be install" type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-nondis-all-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if distributor signature non-Tizen distributor signature.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-all-signature.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if distributor signature no identifier attribute, the widget can not be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-nondis-identifier-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if distributor signature no identifier attribute.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-identifier-signature.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if distributor signature no profile attribute, the widget can not be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-nondis-profile-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if distributor signature no profile attribute.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-profile-signature.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if distributor signature no role attribute, the widget can not be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-nondis-role-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if distributor signature no role attribute.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-role-signature.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget does not included signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-no-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget does not included signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget only contained author signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-only-author-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget only contained author signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="dynamicbox-widget-valid-signature">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signpartner-apipartner">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipartner.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signpartner-apipublic">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipublic.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signplatform-apipartner">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipartner.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signplatform-apiplatform">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apiplatform.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signplatform-apipublic">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipublic.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have valid signature, the widget can be install." type="Functional postive" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P1" id="app-sign-signpublic-apipublic">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have valid signature.</step_desc>
-              <expected>The widget can be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpublic_apipublic.sh</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have invalid signature, the widget cannot be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P2" id="signpartner-apiplatform">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have invalid signature.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner-apiplatform.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have invalid signature, the widget cannot be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P2" id="signpublic-apipartner">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have invalid signature.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic-apipartner.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="Check if widget have invalid signature, the widget cannot be install." type="Functional negative" status="approved" component="Web/Runtime/Dynamicbox" execution_type="auto" priority="P2" id="signpublic-apiplatform">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if widget have in valid signature.</step_desc>
-              <expected>The widget can not be install.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic-apiplatform.wgt</test_script_entry>
-          <notes></notes>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="parameter" element_name="N/A" interface="1100" specification="Web Dynamic Box Security and Privacy" section="Dynamicbox" category="Tizen WRT Core Specifications"></spec_assertion>
-            <spec_url></spec_url>
-            <spec_statement>The same rules SHOULD apply to the Web Dynamic Box scurity as to its Web Application</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-  </suite>
-</test_definition>
diff --git a/common/tct-dynamicbox-wrt-tests/tests.xml b/common/tct-dynamicbox-wrt-tests/tests.xml
deleted file mode 100755 (executable)
index 3803308..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
-  <suite category="Web Runtime" name="tct-dynamicbox-wrt-tests">
-    <set name="Dynamicbox">
-<capabilities>
- <capability name="http://tizen.org/feature/shell.appwidget"/>
- </capabilities>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-invalid-signature" purpose="Check if widget have invalid signature, the widget can not be install">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-invalid-signature.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-nondis-all-signature" purpose="Check if distributor signature non-Tizen distributor signature, the widget can not be install">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-all-signature.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-nondis-identifier-signature" purpose="Check if distributor signature no identifier attribute, the widget can not be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-identifier-signature.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-nondis-profile-signature" purpose="Check if distributor signature no profile attribute, the widget can not be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-profile-signature.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-nondis-role-signature" purpose="Check if distributor signature no role attribute, the widget can not be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh dynamicbox-widget-nondis-role-signature.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-no-signature" purpose="Check if widget does not included signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-only-author-signature" purpose="Check if widget only contained author signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="dynamicbox-widget-valid-signature" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signpartner-apipartner" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipartner.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signpartner-apipublic" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpartner_apipublic.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signplatform-apipartner" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipartner.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signplatform-apiplatform" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apiplatform.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signplatform-apipublic" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signplatform_apipublic.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="app-sign-signpublic-apipublic" purpose="Check if widget have valid signature, the widget can be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_install_signpublic_apipublic.sh</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="signpartner-apiplatform" purpose="Check if widget have invalid signature, the widget cannot be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner-apiplatform.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="signpublic-apipartner" purpose="Check if widget have invalid signature, the widget cannot be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic-apipartner.wgt</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="Web/Runtime/Dynamicbox" execution_type="auto" id="signpublic-apiplatform" purpose="Check if widget have invalid signature, the widget cannot be install.">
-        <description>
-          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-dynamicbox-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic-apiplatform.wgt</test_script_entry>
-        </description>
-      </testcase>
-    </set>
-  </suite>
-</test_definition>
index 68e8f9b56fbdea9174873a933b516587e5c643ce..a0697499f43ce6d68d2a8ea3eb631bb4f0351c4b 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/application-id-exist" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>application-id-exist</name>
index ff2009f9f06bffa92d401549406c4d3e1c43c7e6..b755d3271f1f71826781be6079b12df894759baf 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/application-required-version-support" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>application-required-version-support</name>
index ba3120d9277c153c5d20770949182660418c3d69..c69db7ca83948de8807e5ca735bf431253c74bfe 100755 (executable)
@@ -29,7 +29,7 @@
 #               Lin Guo <lin87.guo@samsung.com>
 #
 
-AC_INIT([tct-ext02-wrt-tests], [2.3b], [yugang.fan@intel.com])
+AC_INIT([tct-ext02-wrt-tests], [2.3.1], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
diff --git a/common/tct-maxLength-wrt-tests/COPYING b/common/tct-maxLength-wrt-tests/COPYING
new file mode 100755 (executable)
index 0000000..0683069
--- /dev/null
@@ -0,0 +1,13 @@
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/common/tct-maxLength-wrt-tests/Makefile.am b/common/tct-maxLength-wrt-tests/Makefile.am
new file mode 100755 (executable)
index 0000000..5bccb86
--- /dev/null
@@ -0,0 +1,4 @@
+commondir = resources webrunner
+SUBDIRS = maxLength $(commondir)
+docdir = $(prefix)/opt/tct-maxLength-wrt-tests
+dist_doc_DATA = README tests.xml tests.full.xml COPYING
diff --git a/common/tct-maxLength-wrt-tests/README b/common/tct-maxLength-wrt-tests/README
new file mode 100755 (executable)
index 0000000..866e459
--- /dev/null
@@ -0,0 +1,63 @@
+----------------------------------------------
+License
+----------------------------------------------
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Jun Gao <jun1.gao@samsung.com>
+
+
+----------------------------------------------
+Introduction
+----------------------------------------------
+This test suite is to test Web Application Runtime
+
+
+----------------------------------------------
+Test Environment
+----------------------------------------------
+1. Pre-install Testkit-Lite package on Host(ubuntu12.04 and ubuntu12.10).
+   sudo apt-get install python-pip
+   sudo pip install requests
+   sudo dpkg -i testkit-lite-<version>.deb
+2. Push "httpserver" into test machine.
+   sdb root on
+   sdb push httpserver /usr/bin
+   sdb shell chmod +x /usr/bin/httpserver
+3. Run the cases as "normal" user.
+
+
+----------------------------------------------
+Build and Run
+----------------------------------------------
+(Suppose you only got the source code set up on your test machine.
+ If you have obtained tct-maxLengthsupport-tests ZIP packages on the test machine, you can directly go to step 3;
+ if you have not installed Testkit-Lite, you need to install the latest version.)
+
+Steps:
+1. Prepare for building by running the following command:
+   cd tct-maxLength-wrt-tests
+
+2. Build ZIP package by running the following command:
+   ./pack.sh
+
+3. Unzip the package on the test machine by running the following command:
+   unzip -o tct-maxLength-wrt-tests-<version>.zip -d /opt/usr/media/tct
+
+4. Install the package on the test machine by running the following command:
+   /opt/usr/media/tct/opt/tct-maxLength-wrt-tests/inst.sh
+
+5. Run test cases by running the following command on host:
+   testkit-lite -f device:/opt/usr/media/tct/opt/tct-maxLength-wrt-tests/tests.xml -e "WRTLauncher" -o tct-maxLength-wrt-tests.results.xml
diff --git a/common/tct-maxLength-wrt-tests/autogen b/common/tct-maxLength-wrt-tests/autogen
new file mode 100755 (executable)
index 0000000..62cfc6e
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Authors:
+#         Fan, Yugang <yugang.fan@intel.com>
+#
+
+autoreconf --install
diff --git a/common/tct-maxLength-wrt-tests/config.xml.crx b/common/tct-maxLength-wrt-tests/config.xml.crx
new file mode 100755 (executable)
index 0000000..5e12b7c
--- /dev/null
@@ -0,0 +1,2 @@
+<widget xmlns="http://www.w3.org/ns/widgets">
+</widget>
diff --git a/common/tct-maxLength-wrt-tests/config.xml.wgt b/common/tct-maxLength-wrt-tests/config.xml.wgt
new file mode 100755 (executable)
index 0000000..dd9e298
--- /dev/null
@@ -0,0 +1,7 @@
+<widget id='http://tizen.org/test/tct-maxLength-wrt-tests' xmlns='http://www.w3.org/ns/widgets' xmlns:tizen='http://tizen.org/ns/widgets'> 
+  <access origin="*"/>
+  <icon src="icon.png" height="117" width="117"/>
+  <name>tct-maxLength-wrt-tests</name>
+  <tizen:application id="w3cwgtinte.WebAPItizenconfigurationextensions" package="wrtwgtinte" required_version="2.3"/>
+  <tizen:setting screen-orientation="landscape"/>
+</widget>
diff --git a/common/tct-maxLength-wrt-tests/configure.ac b/common/tct-maxLength-wrt-tests/configure.ac
new file mode 100755 (executable)
index 0000000..ff332e5
--- /dev/null
@@ -0,0 +1,10 @@
+AC_INIT([tct-maxLength-wrt-tests], [2.3.1], [jun1.gao@samsung.com])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+
+AC_CONFIG_FILES([Makefile \
+maxLength/Makefile \
+maxLength/wrt/Makefile \
+resources/Makefile \
+webrunner/Makefile \
+])
+AC_OUTPUT
diff --git a/common/tct-maxLength-wrt-tests/icon.png b/common/tct-maxLength-wrt-tests/icon.png
new file mode 100755 (executable)
index 0000000..aa50240
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/icon.png differ
diff --git a/common/tct-maxLength-wrt-tests/inst.sh.wgt b/common/tct-maxLength-wrt-tests/inst.sh.wgt
new file mode 100755 (executable)
index 0000000..4ad2c17
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/bash
+wgt_installer="pkgcmd"
+NAME=$(basename $(cd $(dirname $0);pwd))
+
+#parse params
+USAGE="Usage: ./inst.sh [-i] [-u]
+  -i install wgt and config environment 
+  -u uninstall wgt and remove source file
+[-i] option was set as default."
+
+function installpkg(){
+    echo "No need to install $NAME.wgt ..."
+}
+
+function uninstallpkg(){
+### remove source file ###
+if [ -d /opt/usr/media/tct/opt/$NAME ];then
+       rm -rf /opt/usr/media/tct/opt/$NAME
+else
+       echo "Remove source file fail,please check if the source file exist: /opt/usr/media/tct/opt/$NAME ..."
+fi
+}
+
+case "$1" in
+    -h|--help) echo "$USAGE"
+               exit ;;
+    ""|-i) installpkg;;
+    -u) uninstallpkg;;
+    *) echo "Unknown option: $1"
+       echo "$USAGE"
+       exit ;;
+esac
diff --git a/common/tct-maxLength-wrt-tests/manifest.json b/common/tct-maxLength-wrt-tests/manifest.json
new file mode 100755 (executable)
index 0000000..d268152
--- /dev/null
@@ -0,0 +1,12 @@
+{
+    "version": "2.3.1",
+    "name": "tct-maxLength-wrt-tests",
+    "permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
+    "description": "tct-maxLength-wrt-tests",
+    "file_name": "manifest.json",
+    "app": {
+        "launch": {
+            "local_path": "index.html"
+        }
+    }
+}
diff --git a/common/tct-maxLength-wrt-tests/maxLength/Makefile.am b/common/tct-maxLength-wrt-tests/maxLength/Makefile.am
new file mode 100755 (executable)
index 0000000..290f839
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS = wrt
+worker_SCRIPTS = *
+workerdir = $(prefix)/opt/tct-maxLength-wrt-tests/wrt
+EXTRA_DIST = $(worker_SCRIPTS)
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/COPYING b/common/tct-maxLength-wrt-tests/maxLength/wrt/COPYING
new file mode 100755 (executable)
index 0000000..fc17977
--- /dev/null
@@ -0,0 +1,12 @@
+This test suite comes from
+http://dev.w3.org/2006/waf/widgets/test-suite/
+with tizen namespace and application id added into config.xml
+
+These tests are copyright by W3C and/or the author listed in the test
+file. The tests are dual-licensed under the W3C Test Suite License:
+http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
+and the BSD 3-clause License:
+http://www.w3.org/Consortium/Legal/2008/03-bsd-license
+under W3C's test suite licensing policy:
+http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright
+
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/Makefile.am b/common/tct-maxLength-wrt-tests/maxLength/wrt/Makefile.am
new file mode 100755 (executable)
index 0000000..c1b3196
--- /dev/null
@@ -0,0 +1,5 @@
+w3c_SCRIPTS = *
+w3cdir = $(prefix)/opt/tct-maxLength-wrt-tests
+EXTRA_DIST = $(w3c_SCRIPTS)
+docdir = $(prefix)/opt/tct-maxLength-wrt-tests/maxLength/wrt
+dist_doc_DATA = COPYING
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_AuthorHREF_L2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_AuthorHREF_L2048.wgt
new file mode 100755 (executable)
index 0000000..b888e8f
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_AuthorHREF_L2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_L2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_L2048.wgt
new file mode 100755 (executable)
index 0000000..5deca30
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_L2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_LG2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_LG2048.wgt
new file mode 100755 (executable)
index 0000000..3290d91
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ContentEncoding_LG2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_Email_L2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_Email_L2048.wgt
new file mode 100755 (executable)
index 0000000..339fd3e
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_Email_L2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_L80_Public.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_L80_Public.wgt
new file mode 100755 (executable)
index 0000000..a8900f9
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_L80_Public.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_LG80_Public.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_LG80_Public.wgt
new file mode 100755 (executable)
index 0000000..805490c
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaKey_LG80_Public.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_L8192_Public.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_L8192_Public.wgt
new file mode 100755 (executable)
index 0000000..06f7767
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_L8192_Public.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_LG8192_Public.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_LG8192_Public.wgt
new file mode 100755 (executable)
index 0000000..bf7b696
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_MetaValue_LG8192_Public.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_L80.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_L80.wgt
new file mode 100755 (executable)
index 0000000..174413b
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_L80.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_LG80.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_LG80.wgt
new file mode 100755 (executable)
index 0000000..d429479
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceName_LG80.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_L8192.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_L8192.wgt
new file mode 100755 (executable)
index 0000000..291a24f
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_L8192.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_LG8192.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_LG8192.wgt
new file mode 100755 (executable)
index 0000000..3a800fe
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_PreferenceValue_LG8192.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_L2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_L2048.wgt
new file mode 100755 (executable)
index 0000000..236cc34
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_L2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_LG2048.wgt b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_LG2048.wgt
new file mode 100755 (executable)
index 0000000..d413923
Binary files /dev/null and b/common/tct-maxLength-wrt-tests/maxLength/wrt/WGT_ShortName_LG2048.wgt differ
diff --git a/common/tct-maxLength-wrt-tests/pack.sh b/common/tct-maxLength-wrt-tests/pack.sh
new file mode 100755 (executable)
index 0000000..3380952
--- /dev/null
@@ -0,0 +1,273 @@
+#!/bin/bash
+source $(dirname $0)/$(basename $(pwd)).spec
+
+#parse params
+usage="Usage: ./pack.sh [-t <package type: wgt | apk | crx | xpk>]
+[-t wgt] option was set as default."
+
+if [[ $1 == "-h" || $1 == "--help" ]]; then
+    echo $usage
+    exit 1
+fi
+
+type="wgt"
+while getopts t: o
+do
+    case "$o" in
+    t) type=$OPTARG;;
+    *) echo $usage
+       exit 1;;
+    esac
+done
+
+if [[ $type == "wgt" || $type == "apk" || $type == "crx" || $type == "xpk" ]];then
+    echo "Create package with $type and raw source"
+else 
+    echo "Sorry,$type is not support... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    echo "$usage"
+    exit 1
+fi
+
+if [[ -z $name || -z $version || -z $appname ]];then
+    echo "Package name or version not specified in setting file"
+    exit 1
+fi
+
+SRC_ROOT=$PWD
+BUILD_ROOT=/tmp/${name}_pack
+BUILD_DEST=/tmp/${name}
+
+# check precondition
+function check_precondition(){
+    which $1 > /dev/null 2>&1
+    if [ $? -ne 0 ]; then
+        echo "Error: no tool: $1"
+        exit 1
+    fi
+}
+check_precondition autoreconf
+check_precondition gcc
+check_precondition make
+
+# clean
+function clean_workspace(){
+echo "cleaning workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+rm -rf $BUILD_ROOT $BUILD_DEST
+}
+
+clean_workspace
+mkdir -p $BUILD_ROOT $BUILD_DEST
+
+# copy source code
+rm -rf *.rpm *.tar.bz2 *.tar.gz *.zip
+cp -arf $SRC_ROOT/* $BUILD_ROOT/
+
+# build
+echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cd  $BUILD_ROOT
+./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST
+if [ $? -ne 0 ];then
+    echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+find $BUILD_DEST -name "Makefile*" -delete
+
+## function for create wgt apk xpk ##
+
+function create_wgt(){
+# create wgt
+cd $BUILD_DEST
+cp -a $BUILD_ROOT/manifest.json   $BUILD_DEST/
+cp -a $BUILD_ROOT/icon.png     $BUILD_DEST/
+cat > index.html << EOF
+<!doctype html>
+<head>
+    <meta http-equiv="Refresh" content="1; url=opt/$name/webrunner/index.html?testsuite=/opt/usr/media/tct/opt/$name/tests.xml">
+</head>
+EOF
+cp -f $BUILD_ROOT/config.xml.wgt $BUILD_DEST/config.xml
+zip -rq $BUILD_DEST/opt/$name/$name.wgt *
+if [ $? -ne 0 ];then
+    echo "Create $name.wgt fail.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+
+# sign wgt
+if [ $sign -eq 1 ];then
+    # copy signing tool
+    echo "copy signing tool... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    cp -arf $SRC_ROOT/../../tools/signing $BUILD_ROOT/signing
+    if [ $? -ne 0 ];then
+        echo "No signing tool found in $SRC_ROOT/../tools.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+        clean_workspace
+        exit 1
+    fi
+    wgt=$(find $BUILD_DEST/opt/$name/ -name *.wgt)
+    for wgt in $(find $BUILD_DEST/opt/$name/ -name *.wgt);do
+        $BUILD_ROOT/signing/sign-widget.sh --dist platform $wgt
+        if [ $? -ne 0 ];then
+            echo "Please check your signature files... >>>>>>>>>>>>>>>>>>>>>>>>>"
+            clean_workspace
+            exit 1
+        fi
+    done
+fi
+}
+
+function create_apk(){
+cd $BUILD_DEST
+cat > index.html << EOF
+<!doctype html>
+<head>
+    <meta http-equiv="Refresh" content="1; url=opt/$name/webrunner/index.html?testsuite=../tests.xml&testprefix=../../..">
+</head>
+EOF
+cp $BUILD_DEST/opt/$name/tests.xml $BUILD_DEST/
+cp -a $BUILD_ROOT/icon.png     $BUILD_DEST/
+cp -r $SRC_ROOT/../tools/xwalk_app_template $BUILD_ROOT/xwalk_app_template
+
+cd $BUILD_ROOT/xwalk_app_template
+python make_apk.py --package=org.xwalk.$appname --name=$appname --app-root=$BUILD_DEST --app-local-path=index.html --icon=$BUILD_DEST/icon.png
+if [ $? -ne 0 ];then
+    echo "Create $name.apk fail.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function create_xpk(){
+cp -a $BUILD_ROOT/manifest.json   $BUILD_DEST/
+cp -a $BUILD_ROOT/icon.png     $BUILD_DEST/
+
+cd $BUILD_DEST
+cat > index.html << EOF
+<!doctype html>
+<head>
+    <meta http-equiv="Refresh" content="1; url=opt/$name/webrunner/index.html?testsuite=../tests.xml&testprefix=../../..">
+</head>
+EOF
+
+cp $SRC_ROOT/../tools/xpk_generator $BUILD_ROOT/xpk_generator
+cd $BUILD_ROOT
+./xpk_generator /tmp/$name key
+if [ $? -ne 0 ];then
+    echo "Create $name.xpk fail.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function create_crx(){
+echo "crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## zip function ##
+function zip_for_wgt(){
+cd $BUILD_DEST
+# cp inst.sh script #
+cp -af $BUILD_ROOT/inst.sh.wgt $BUILD_DEST/opt/$name/inst.sh
+
+if [ $src_file -eq 0 ];then
+    for file in $(ls opt/$name |grep -v wgt);do
+        if [[ "${whitelist[@]}" =~ $file ]];then
+            echo "$file in whitelist,keep it..."
+        else
+            echo "Remove unnessary file:$file..."
+            rm -rf opt/$name/$file
+        fi
+    done
+fi
+zip -Drq $BUILD_DEST/$name-$version.zip opt/
+if [ $? -ne 0 ];then
+    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function zip_for_apk(){
+cd $BUILD_DEST
+# cp inst.sh script #
+cp -af $BUILD_ROOT/inst.sh.apk $BUILD_DEST/opt/$name/inst.sh
+mv $BUILD_ROOT/xwalk_app_template/$appname.apk $BUILD_DEST/opt/$name/
+
+if [ $src_file -eq 0 ];then
+    for file in $(ls opt/$name |grep -v apk);do
+        if [[ "${whitelist[@]}" =~ $file ]];then
+            echo "$file in whitelist,keep it..."
+        else
+            echo "Remove unnessary file:$file..."
+            rm -rf opt/$name/$file
+        fi
+    done
+fi
+zip -Drq $BUILD_DEST/$name-$version.zip opt/
+if [ $? -ne 0 ];then
+    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function zip_for_xpk(){
+cd $BUILD_DEST
+cp -af $BUILD_ROOT/inst.sh.xpk $BUILD_DEST/opt/$name/inst.sh
+mv $BUILD_ROOT/$name.xpk $BUILD_DEST/opt/$name/
+
+if [ $src_file -eq 0 ];then
+    for file in $(ls opt/$name |grep -v xpk);do
+        if [[ "${whitelist[@]}" =~ $file ]];then
+            echo "$file in whitelist,keep it..."
+        else
+            echo "Remove unnessary file:$file..."
+            rm -rf opt/$name/$file
+        fi
+    done
+fi
+zip -Drq $BUILD_DEST/$name-$version.zip opt/
+if [ $? -ne 0 ];then
+    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function zip_for_crx(){
+echo "zip_for_crx not ready yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## create wgt crx apk xpk and zip package ##
+case $type in
+    wgt) zip_for_wgt;;
+    apk) create_apk
+         zip_for_apk;;
+    xpk) create_xpk
+         zip_for_xpk;;
+    crx) create_crx
+         zip_for_crx;;
+esac
+
+
+# copy zip file
+echo "copy package from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cp -f $BUILD_DEST/$name-$version.zip $SRC_ROOT/$name-$version.zip
+
+# clean workspace
+clean_workspace
+
+# validate
+echo "checking result... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+if [ -z "`ls $SRC_ROOT | grep "\.zip"`" ];then
+    echo "------------------------------ FAILED to build $name packages --------------------------"
+    exit 1
+fi
+
+echo "------------------------------ Done to build $name packages --------------------------"
+cd $SRC_ROOT
+ls *.zip 2>/dev/null
diff --git a/common/tct-maxLength-wrt-tests/resources/COPYING b/common/tct-maxLength-wrt-tests/resources/COPYING
new file mode 100755 (executable)
index 0000000..bd84625
--- /dev/null
@@ -0,0 +1,12 @@
+All test files under this folder except COPYING, Makefile.am and blacklist.* come from
+https://github.com/w3c/testharness.js (commit 81649066b179216eed02dfb58f631eb8bb6c7629)
+without any modification besides the necessary adjustment on reference path to test harness
+
+These tests are copyright by W3C and/or the author listed in the test
+file. The tests are dual-licensed under the W3C Test Suite License:
+http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
+and the BSD 3-clause License:
+http://www.w3.org/Consortium/Legal/2008/03-bsd-license
+under W3C's test suite licensing policy:
+http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright
+
diff --git a/common/tct-maxLength-wrt-tests/resources/Makefile.am b/common/tct-maxLength-wrt-tests/resources/Makefile.am
new file mode 100755 (executable)
index 0000000..1a297d1
--- /dev/null
@@ -0,0 +1,5 @@
+w3cresources_SCRIPTS = *
+w3cresourcesdir = $(prefix)/opt/tct-maxLength-wrt-tests/resources
+EXTRA_DIST = $(w3cresources_SCRIPTS)
+docdir = $(prefix)/opt/tct-maxLength-wrt-tests/resources
+dist_doc_DATA = COPYING
diff --git a/common/tct-maxLength-wrt-tests/resources/blacklist.clamshell b/common/tct-maxLength-wrt-tests/resources/blacklist.clamshell
new file mode 100755 (executable)
index 0000000..b5bf744
--- /dev/null
@@ -0,0 +1,113 @@
+/* Clamshell does not support methods, the list format:  interface.method */
+
+var not_support_list = [
+       "Application.launch",
+       "Application.kill",
+       "Application.exit",
+       "Application.launchService",
+       "Application.getApplicationService",
+       "Application.getCurrentApplicationContext",
+       "Application.getApplicationsInformation",
+       "Application.addApplicationInformationEventListener",
+       "Application.removeApplicationInformationEventListener",
+
+       /*  Bluetooth */
+       "BluetoothManager.getDefaultAdapter",
+       "BluetoothAdapter.setName",
+       "BluetoothAdapter.setPowered",
+       "BluetoothAdapter.setVisible",
+       "BluetoothAdapter.discoverDevices",
+       "BluetoothAdapter.stopDiscovery",
+       "BluetoothAdapter.getKnownDevices",
+       "BluetoothAdapter.getDevice",
+       "BluetoothAdapter.createBonding",
+       "BluetoothAdapter.destroyBonding",
+       "BluetoothAdapter.registerRFCOMMServiceByUUID",
+       "BluetoothDevice.connectToServiceByUUID",
+       "BluetoothServiceHandler.unregister",
+
+       /* Time */
+       "TimeUtil.getCurrentDateTime",
+       "TimeUtil.setCurrentDateTime",
+       "TimeUtil.getLocalTimezone",
+       "TimeUtil.getAvailableTimezones",
+       "TimeUtil.getDateFormat",
+       "TimeUtil.getTimeFormat",
+       "TimeUtil.isLeapYear",
+       "TZDate.getTimezoneAbbreviation",
+       "TZDate.secondsFromUTC",
+       "TZDate.isDST",
+       "TZDate.getPreviousDSTTransition",
+       "TZDate.getNextDSTTransition",
+
+       /* Call */
+       "CallHistory.Find",
+       "CallHistory.Remove",
+       "CallHistory.removeBatch",
+       "CallHistory.removeAll",
+       "CallHistory.deleteRecording",
+       "CallHistory.addListener",
+       "CallHistory.removeListener",
+
+       /* Calendar */
+       "CalendarManager.getCalendars",
+       "Calendar.add",
+       "Calendar.addBatch",
+       "Calendar.update",
+       "Calendar.updateBatch",
+       "Calendar.remove",
+       "Calendar.removeBatch",
+       "Calendar.find",
+       "Calendar.addChangeListener",
+       "Calendar.removeChangeListener",
+       "CalendarEvent.expandRecurrence",
+
+       /* Contact */
+       "AddressBook.Add",
+       "AddressBook.addBatch",
+       "AddressBook.update",
+       "AddressBook.updateBatch",
+       "AddressBook.remove",
+       "AddressBook.removeBatch",
+       "AddressBook.find",
+       "AddressBook.addChangeListener",
+       "Contact.convertToString",
+
+       /* Filesystem */
+       "FileSystemManager.Resolve",
+       "FileSystemManager.getStorage",
+       "FileSystemManager.listStorages",
+       "FileSystemManager.addStorageStateChangeListener",
+       "File.toURI",
+       "File.listFiles",
+       "File.openStream",
+       "File.readAsText",
+       "File.copyTo",
+       "File.moveTo",
+       "File.deleteDirectory",
+       "File.deleteFile",
+
+       /* Messaging */
+       "MessageService.sendMessage",
+       "MessageStorage.addDraftMessage",
+       "MessageStorage.findMessages",
+       "MessageStorage.removeMessages",
+       "MessageStorage.updateMessages",
+       "MessageStorage.findConversations",
+       "MessageStorage.removeConversations",
+       "MessageStorage.findFolders",
+       "MessageStorage.addMessagesChangeListener",
+       "MessageStorage.addConversationsChangeListener",
+       "MessageStorage.addFoldersChangeListener",
+       "MessageStorage.removeChangeListener",
+
+       /* POI */
+       "POIProvider.remove",
+
+       /* Media-Capture */
+       "capture",
+
+       /* Vibration */
+       "Vibration"
+];
+
diff --git a/common/tct-maxLength-wrt-tests/resources/blacklist.default b/common/tct-maxLength-wrt-tests/resources/blacklist.default
new file mode 100755 (executable)
index 0000000..4670187
--- /dev/null
@@ -0,0 +1,5 @@
+/* default blacklist.js, just a placeholder:  interface.method */
+
+var not_support_list = [
+];
+
diff --git a/common/tct-maxLength-wrt-tests/resources/blacklist.js b/common/tct-maxLength-wrt-tests/resources/blacklist.js
new file mode 100755 (executable)
index 0000000..4670187
--- /dev/null
@@ -0,0 +1,5 @@
+/* default blacklist.js, just a placeholder:  interface.method */
+
+var not_support_list = [
+];
+
diff --git a/common/tct-maxLength-wrt-tests/resources/testharness.css b/common/tct-maxLength-wrt-tests/resources/testharness.css
new file mode 100755 (executable)
index 0000000..365084f
--- /dev/null
@@ -0,0 +1,92 @@
+html {
+    font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
+}
+
+#log .warning,
+#log .warning a {
+  color: black;
+  background: yellow;
+}
+
+#log .error,
+#log .error a {
+  color: white;
+  background: red;
+}
+
+#log pre {
+  border: 1px solid black;
+  padding: 1em;
+}
+
+section#summary {
+    margin-bottom:1em;
+}
+
+table#results {
+    border-collapse:collapse;
+    table-layout:fixed;
+    width:100%;
+}
+
+table#results th:first-child,
+table#results td:first-child {
+    width:4em;
+}
+
+table#results th:last-child,
+table#results td:last-child {
+    width:50%;
+}
+
+table#results.assertions th:last-child,
+table#results.assertions td:last-child {
+    width:35%;
+}
+
+table#results th {
+    padding:0;
+    padding-bottom:0.5em;
+    border-bottom:medium solid black;
+}
+
+table#results td {
+    padding:1em;
+    padding-bottom:0.5em;
+    border-bottom:thin solid black;
+}
+
+tr.pass > td:first-child {
+    color:green;
+}
+
+tr.fail > td:first-child {
+    color:red;
+}
+
+tr.timeout > td:first-child {
+    color:red;
+}
+
+tr.notrun > td:first-child {
+    color:blue;
+}
+
+.pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
+    font-variant:small-caps;
+}
+
+table#results span {
+    display:block;
+}
+
+table#results span.expected {
+    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
+    white-space:pre;
+}
+
+table#results span.actual {
+    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
+    white-space:pre;
+}
+
diff --git a/common/tct-maxLength-wrt-tests/resources/testharness.js b/common/tct-maxLength-wrt-tests/resources/testharness.js
new file mode 100755 (executable)
index 0000000..163d0f2
--- /dev/null
@@ -0,0 +1,2237 @@
+/*
+Distributed under both the W3C Test Suite License [1] and the W3C
+3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
+policies and contribution forms [3].
+
+[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
+[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
+[3] http://www.w3.org/2004/10/27-testcases
+*/
+
+/*
+ * == Introduction ==
+ *
+ * This file provides a framework for writing testcases. It is intended to
+ * provide a convenient API for making common assertions, and to work both
+ * for testing synchronous and asynchronous DOM features in a way that
+ * promotes clear, robust, tests.
+ *
+ * == Basic Usage ==
+ *
+ * To use this file, import the script and the testharnessreport script into
+ * the test document:
+ * <script src="/resources/testharness.js"></script>
+ * <script src="/resources/testharnessreport.js"></script>
+ *
+ * Within each file one may define one or more tests. Each test is atomic
+ * in the sense that a single test has a single result (pass/fail/timeout).
+ * Within each test one may have a number of asserts. The test fails at the
+ * first failing assert, and the remainder of the test is (typically) not run.
+ *
+ * If the file containing the tests is a HTML file with an element of id "log"
+ * this will be populated with a table containing the test results after all
+ * the tests have run.
+ *
+ * NOTE: By default tests must be created before the load event fires. For ways
+ *       to create tests after the load event, see "Determining when all tests
+ *       are complete", below
+ *
+ * == Synchronous Tests ==
+ *
+ * To create a synchronous test use the test() function:
+ *
+ * test(test_function, name, properties)
+ *
+ * test_function is a function that contains the code to test. For example a
+ * trivial passing test would be:
+ *
+ * test(function() {assert_true(true)}, "assert_true with true")
+ *
+ * The function passed in is run in the test() call.
+ *
+ * properties is an object that overrides default test properties. The
+ * recognised properties are:
+ *    timeout - the test timeout in ms
+ *
+ * e.g.
+ * test(test_function, "Sample test", {timeout:1000})
+ *
+ * would run test_function with a timeout of 1s.
+ *
+ * Additionally, test-specific metadata can be passed in the properties. These
+ * are used when the individual test has different metadata from that stored 
+ * in the <head>.
+ * The recognized metadata properties are:
+ *
+ *    help - The url of the part of the specification being tested
+ *
+ *    assert - A human readable description of what the test is attempting 
+ *             to prove
+ *
+ *    author - Name and contact information for the author of the test in the
+ *             format: "Name <email_addr>" or "Name http://contact/url"
+ *
+ * == Asynchronous Tests ==
+ *
+ * Testing asynchronous features is somewhat more complex since the result of
+ * a test may depend on one or more events or other callbacks. The API provided
+ * for testing these features is indended to be rather low-level but hopefully
+ * applicable to many situations.
+ *
+ * To create a test, one starts by getting a Test object using async_test:
+ *
+ * async_test(name, properties)
+ *
+ * e.g.
+ * var t = async_test("Simple async test")
+ *
+ * Assertions can be added to the test by calling the step method of the test
+ * object with a function containing the test assertions:
+ *
+ * t.step(function() {assert_true(true)});
+ *
+ * When all the steps are complete, the done() method must be called:
+ *
+ * t.done();
+ *
+ * As a convenience, async_test can also takes a function as first argument.
+ * This function is called with the test object as both its `this` object and
+ * first argument. The above example can be rewritten as:
+ *
+ * async_test(function(t) {
+ *     object.some_event = function() {
+ *         t.step(function (){assert_true(true); t.done();});
+ *     };
+ * }, "Simple async test");
+ *
+ * which avoids cluttering the global scope with references to async
+ * tests instances.
+ *
+ * The properties argument is identical to that for test().
+ *
+ * In many cases it is convenient to run a step in response to an event or a
+ * callback. A convenient method of doing this is through the step_func method
+ * which returns a function that, when called runs a test step. For example
+ *
+ * object.some_event = t.step_func(function(e) {assert_true(e.a)});
+ *
+ * == Making assertions ==
+ *
+ * Functions for making assertions start assert_
+ * The best way to get a list is to look in this file for functions names
+ * matching that pattern. The general signature is
+ *
+ * assert_something(actual, expected, description)
+ *
+ * although not all assertions precisely match this pattern e.g. assert_true
+ * only takes actual and description as arguments.
+ *
+ * The description parameter is used to present more useful error messages when
+ * a test fails
+ *
+ * NOTE: All asserts must be located in a test() or a step of an async_test().
+ *       asserts outside these places won't be detected correctly by the harness
+ *       and may cause a file to stop testing.
+ *
+ * == Setup ==
+ *
+ * Sometimes tests require non-trivial setup that may fail. For this purpose
+ * there is a setup() function, that may be called with one or two arguments.
+ * The two argument version is:
+ *
+ * setup(func, properties)
+ *
+ * The one argument versions may omit either argument.
+ * func is a function to be run synchronously. setup() becomes a no-op once
+ * any tests have returned results. Properties are global properties of the test
+ * harness. Currently recognised properties are:
+ *
+ * timeout - The time in ms after which the harness should stop waiting for
+ *           tests to complete (this is different to the per-test timeout
+ *           because async tests do not start their timer until .step is called)
+ *
+ * explicit_done - Wait for an explicit call to done() before declaring all
+ *                 tests complete (see below)
+ *
+ * output_document - The document to which results should be logged. By default
+ *                   this is the current document but could be an ancestor
+ *                   document in some cases e.g. a SVG test loaded in an HTML
+ *                   wrapper
+ *
+ * explicit_timeout - disable file timeout; only stop waiting for results
+ *                    when the timeout() function is called (typically for
+ *                    use when integrating with some existing test framework
+ *                    that has its own timeout mechanism).
+ *
+ * == Determining when all tests are complete ==
+ *
+ * By default the test harness will assume there are no more results to come
+ * when:
+ * 1) There are no Test objects that have been created but not completed
+ * 2) The load event on the document has fired
+ *
+ * This behaviour can be overridden by setting the explicit_done property to
+ * true in a call to setup(). If explicit_done is true, the test harness will
+ * not assume it is done until the global done() function is called. Once done()
+ * is called, the two conditions above apply like normal.
+ *
+ * == Generating tests ==
+ *
+ * NOTE: this functionality may be removed
+ *
+ * There are scenarios in which is is desirable to create a large number of
+ * (synchronous) tests that are internally similar but vary in the parameters
+ * used. To make this easier, the generate_tests function allows a single
+ * function to be called with each set of parameters in a list:
+ *
+ * generate_tests(test_function, parameter_lists, properties)
+ *
+ * For example:
+ *
+ * generate_tests(assert_equals, [
+ *     ["Sum one and one", 1+1, 2],
+ *     ["Sum one and zero", 1+0, 1]
+ *     ])
+ *
+ * Is equivalent to:
+ *
+ * test(function() {assert_equals(1+1, 2)}, "Sum one and one")
+ * test(function() {assert_equals(1+0, 1)}, "Sum one and zero")
+ *
+ * Note that the first item in each parameter list corresponds to the name of
+ * the test.
+ *
+ * The properties argument is identical to that for test(). This may be a 
+ * single object (used for all generated tests) or an array.
+ *
+ * == Callback API ==
+ *
+ * The framework provides callbacks corresponding to 3 events:
+ *
+ * start - happens when the first Test is created
+ * result - happens when a test result is recieved
+ * complete - happens when all results are recieved
+ *
+ * The page defining the tests may add callbacks for these events by calling
+ * the following methods:
+ *
+ *   add_start_callback(callback) - callback called with no arguments
+ *   add_result_callback(callback) - callback called with a test argument
+ *   add_completion_callback(callback) - callback called with an array of tests
+ *                                       and an status object
+ *
+ * tests have the following properties:
+ *   status: A status code. This can be compared to the PASS, FAIL, TIMEOUT and
+ *           NOTRUN properties on the test object
+ *   message: A message indicating the reason for failure. In the future this
+ *            will always be a string
+ *
+ *  The status object gives the overall status of the harness. It has the
+ *  following properties:
+ *    status: Can be compared to the OK, ERROR and TIMEOUT properties
+ *    message: An error message set when the status is ERROR
+ *
+ * == External API ==
+ *
+ * In order to collect the results of multiple pages containing tests, the test
+ * harness will, when loaded in a nested browsing context, attempt to call
+ * certain functions in each ancestor and opener browsing context:
+ *
+ * start - start_callback
+ * result - result_callback
+ * complete - completion_callback
+ *
+ * These are given the same arguments as the corresponding internal callbacks
+ * described above.
+ *
+ * == External API through cross-document messaging ==
+ *
+ * Where supported, the test harness will also send messages using
+ * cross-document messaging to each ancestor and opener browsing context. Since
+ * it uses the wildcard keyword (*), cross-origin communication is enabled and
+ * script on different origins can collect the results.
+ *
+ * This API follows similar conventions as those described above only slightly
+ * modified to accommodate message event API. Each message is sent by the harness
+ * is passed a single vanilla object, available as the `data` property of the
+ * event object. These objects are structures as follows:
+ *
+ * start - { type: "start" }
+ * result - { type: "result", test: Test }
+ * complete - { type: "complete", tests: [Test, ...], status: TestsStatus }
+ *
+ * == List of assertions ==
+ *
+ * assert_true(actual, description)
+ *   asserts that /actual/ is strictly true
+ *
+ * assert_false(actual, description)
+ *   asserts that /actual/ is strictly false
+ *
+ * assert_equals(actual, expected, description)
+ *   asserts that /actual/ is the same value as /expected/
+ *
+ * assert_not_equals(actual, expected, description)
+ *   asserts that /actual/ is a different value to /expected/. Yes, this means
+ *   that "expected" is a misnomer
+ *
+ * assert_in_array(actual, expected, description)
+ *   asserts that /expected/ is an Array, and /actual/ is equal to one of the
+ *   members -- expected.indexOf(actual) != -1
+ *
+ * assert_array_equals(actual, expected, description)
+ *   asserts that /actual/ and /expected/ have the same length and the value of
+ *   each indexed property in /actual/ is the strictly equal to the corresponding
+ *   property value in /expected/
+ *
+ * assert_approx_equals(actual, expected, epsilon, description)
+ *   asserts that /actual/ is a number within +/- /epsilon/ of /expected/
+ *
+ * assert_less_than(actual, expected, description)
+ *   asserts that /actual/ is a number less than /expected/
+ *
+ * assert_greater_than(actual, expected, description)
+ *   asserts that /actual/ is a number greater than /expected/
+ *
+ * assert_less_than_equal(actual, expected, description)
+ *   asserts that /actual/ is a number less than or equal to /expected/
+ *
+ * assert_greater_than_equal(actual, expected, description)
+ *   asserts that /actual/ is a number greater than or equal to /expected/
+ *
+ * assert_regexp_match(actual, expected, description)
+ *   asserts that /actual/ matches the regexp /expected/
+ *
+ * assert_class_string(object, class_name, description)
+ *   asserts that the class string of /object/ as returned in
+ *   Object.prototype.toString is equal to /class_name/.
+ *
+ * assert_own_property(object, property_name, description)
+ *   assert that object has own property property_name
+ *
+ * assert_inherits(object, property_name, description)
+ *   assert that object does not have an own property named property_name
+ *   but that property_name is present in the prototype chain for object
+ *
+ * assert_idl_attribute(object, attribute_name, description)
+ *   assert that an object that is an instance of some interface has the
+ *   attribute attribute_name following the conditions specified by WebIDL
+ *
+ * assert_readonly(object, property_name, description)
+ *   assert that property property_name on object is readonly
+ *
+ * assert_throws(code, func, description)
+ *   code - the expected exception:
+ *     o string: the thrown exception must be a DOMException with the given
+ *               name, e.g., "TimeoutError" (for compatibility with existing
+ *               tests, a constant is also supported, e.g., "TIMEOUT_ERR")
+ *     o object: the thrown exception must have a property called "name" that
+ *               matches code.name
+ *     o null:   allow any exception (in general, one of the options above
+ *               should be used)
+ *   func - a function that should throw
+ *
+ * assert_unreached(description)
+ *   asserts if called. Used to ensure that some codepath is *not* taken e.g.
+ *   an event does not fire.
+ *
+ * assert_any(assert_func, actual, expected_array, extra_arg_1, ... extra_arg_N)
+ *   asserts that one assert_func(actual, expected_array_N, extra_arg1, ..., extra_arg_N)
+ *   is true for some expected_array_N in expected_array. This only works for assert_func
+ *   with signature assert_func(actual, expected, args_1, ..., args_N). Note that tests
+ *   with multiple allowed pass conditions are bad practice unless the spec specifically
+ *   allows multiple behaviours. Test authors should not use this method simply to hide 
+ *   UA bugs.
+ *
+ * assert_exists(object, property_name, description)
+ *   *** deprecated ***
+ *   asserts that object has an own property property_name
+ *
+ * assert_not_exists(object, property_name, description)
+ *   *** deprecated ***
+ *   assert that object does not have own property property_name
+ */
+
+(function ()
+{
+    var debug = false;
+    // default timeout is 5 seconds, test can override if needed
+    var settings = {
+      output:true,
+      timeout:9000,
+      test_timeout:5000
+    };
+
+    var xhtml_ns = "http://www.w3.org/1999/xhtml";
+
+    // script_prefix is used by Output.prototype.show_results() to figure out
+    // where to get testharness.css from.  It's enclosed in an extra closure to
+    // not pollute the library's namespace with variables like "src".
+    var script_prefix = null;
+    (function ()
+    {
+        var scripts = document.getElementsByTagName("script");
+        for (var i = 0; i < scripts.length; i++)
+        {
+            if (scripts[i].src)
+            {
+                var src = scripts[i].src;
+            }
+            else if (scripts[i].href)
+            {
+                //SVG case
+                var src = scripts[i].href.baseVal;
+            }
+            if (src && src.slice(src.length - "testharness.js".length) === "testharness.js")
+            {
+                script_prefix = src.slice(0, src.length - "testharness.js".length);
+                break;
+            }
+        }
+    })();
+
+    /*
+     * API functions
+     */
+
+    var name_counter = 0;
+    function next_default_name()
+    {
+        //Don't use document.title to work around an Opera bug in XHTML documents
+        var prefix = document.getElementsByTagName("title").length > 0 ?
+                         document.getElementsByTagName("title")[0].firstChild.data :
+                         "Untitled";
+        var suffix = name_counter > 0 ? " " + name_counter : "";
+        name_counter++;
+        return prefix + suffix;
+    }
+
+    function test(func, name, properties)
+    {
+        var test_name = name ? name : next_default_name();
+        properties = properties ? properties : {};
+        var test_obj = new Test(test_name, properties);
+        test_obj.step(func);
+        if (test_obj.status === test_obj.NOTRUN) {
+            test_obj.done();
+        }
+    }
+
+    function async_test(func, name, properties)
+    {
+        if (typeof func !== "function") {
+            properties = name;
+            name = func;
+            func = null;
+        }
+        var test_name = name ? name : next_default_name();
+        properties = properties ? properties : {};
+        var test_obj = new Test(test_name, properties);
+        if (func) {
+            test_obj.step(func, test_obj, test_obj);
+        }
+        return test_obj;
+    }
+
+    function setup(func_or_properties, maybe_properties)
+    {
+        var func = null;
+        var properties = {};
+        if (arguments.length === 2) {
+            func = func_or_properties;
+            properties = maybe_properties;
+        } else if (func_or_properties instanceof Function){
+            func = func_or_properties;
+        } else {
+            properties = func_or_properties;
+        }
+        tests.setup(func, properties);
+        output.setup(properties);
+    }
+
+    function done() {
+        tests.end_wait();
+    }
+
+    function generate_tests(func, args, properties) {
+        forEach(args, function(x, i)
+                {
+                    var name = x[0];
+                    test(function()
+                         {
+                             func.apply(this, x.slice(1));
+                         }, 
+                         name, 
+                         Array.isArray(properties) ? properties[i] : properties);
+                });
+    }
+
+    function on_event(object, event, callback)
+    {
+      object.addEventListener(event, callback, false);
+    }
+
+    expose(test, 'test');
+    expose(async_test, 'async_test');
+    expose(generate_tests, 'generate_tests');
+    expose(setup, 'setup');
+    expose(done, 'done');
+    expose(on_event, 'on_event');
+
+    /*
+     * Return a string truncated to the given length, with ... added at the end
+     * if it was longer.
+     */
+    function truncate(s, len)
+    {
+        if (s.length > len) {
+            return s.substring(0, len - 3) + "...";
+        }
+        return s;
+    }
+
+    /*
+     * Convert a value to a nice, human-readable string
+     */
+    function format_value(val)
+    {
+        if (Array.isArray(val))
+        {
+            return "[" + val.map(format_value).join(", ") + "]";
+        }
+
+        switch (typeof val)
+        {
+        case "string":
+            val = val.replace("\\", "\\\\");
+            for (var i = 0; i < 32; i++)
+            {
+                var replace = "\\";
+                switch (i) {
+                case 0: replace += "0"; break;
+                case 1: replace += "x01"; break;
+                case 2: replace += "x02"; break;
+                case 3: replace += "x03"; break;
+                case 4: replace += "x04"; break;
+                case 5: replace += "x05"; break;
+                case 6: replace += "x06"; break;
+                case 7: replace += "x07"; break;
+                case 8: replace += "b"; break;
+                case 9: replace += "t"; break;
+                case 10: replace += "n"; break;
+                case 11: replace += "v"; break;
+                case 12: replace += "f"; break;
+                case 13: replace += "r"; break;
+                case 14: replace += "x0e"; break;
+                case 15: replace += "x0f"; break;
+                case 16: replace += "x10"; break;
+                case 17: replace += "x11"; break;
+                case 18: replace += "x12"; break;
+                case 19: replace += "x13"; break;
+                case 20: replace += "x14"; break;
+                case 21: replace += "x15"; break;
+                case 22: replace += "x16"; break;
+                case 23: replace += "x17"; break;
+                case 24: replace += "x18"; break;
+                case 25: replace += "x19"; break;
+                case 26: replace += "x1a"; break;
+                case 27: replace += "x1b"; break;
+                case 28: replace += "x1c"; break;
+                case 29: replace += "x1d"; break;
+                case 30: replace += "x1e"; break;
+                case 31: replace += "x1f"; break;
+                }
+                val = val.replace(RegExp(String.fromCharCode(i), "g"), replace);
+            }
+            return '"' + val.replace(/"/g, '\\"') + '"';
+        case "boolean":
+        case "undefined":
+            return String(val);
+        case "number":
+            // In JavaScript, -0 === 0 and String(-0) == "0", so we have to
+            // special-case.
+            if (val === -0 && 1/val === -Infinity)
+            {
+                return "-0";
+            }
+            return String(val);
+        case "object":
+            if (val === null)
+            {
+                return "null";
+            }
+
+            // Special-case Node objects, since those come up a lot in my tests.  I
+            // ignore namespaces.  I use duck-typing instead of instanceof, because
+            // instanceof doesn't work if the node is from another window (like an
+            // iframe's contentWindow):
+            // http://www.w3.org/Bugs/Public/show_bug.cgi?id=12295
+            if ("nodeType" in val
+            && "nodeName" in val
+            && "nodeValue" in val
+            && "childNodes" in val)
+            {
+                switch (val.nodeType)
+                {
+                case Node.ELEMENT_NODE:
+                    var ret = "<" + val.tagName.toLowerCase();
+                    for (var i = 0; i < val.attributes.length; i++)
+                    {
+                        ret += " " + val.attributes[i].name + '="' + val.attributes[i].value + '"';
+                    }
+                    ret += ">" + val.innerHTML + "</" + val.tagName.toLowerCase() + ">";
+                    return "Element node " + truncate(ret, 60);
+                case Node.TEXT_NODE:
+                    return 'Text node "' + truncate(val.data, 60) + '"';
+                case Node.PROCESSING_INSTRUCTION_NODE:
+                    return "ProcessingInstruction node with target " + format_value(truncate(val.target, 60)) + " and data " + format_value(truncate(val.data, 60));
+                case Node.COMMENT_NODE:
+                    return "Comment node <!--" + truncate(val.data, 60) + "-->";
+                case Node.DOCUMENT_NODE:
+                    return "Document node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
+                case Node.DOCUMENT_TYPE_NODE:
+                    return "DocumentType node";
+                case Node.DOCUMENT_FRAGMENT_NODE:
+                    return "DocumentFragment node with " + val.childNodes.length + (val.childNodes.length == 1 ? " child" : " children");
+                default:
+                    return "Node object of unknown type";
+                }
+            }
+
+            // Fall through to default
+        default:
+            return typeof val + ' "' + truncate(String(val), 60) + '"';
+        }
+    }
+    expose(format_value, "format_value");
+
+    /*
+     * Assertions
+     */
+
+    function assert_true(actual, description)
+    {
+        assert(actual === true, "assert_true", description,
+                                "expected true got ${actual}", {actual:actual});
+    };
+    expose(assert_true, "assert_true");
+
+    function assert_false(actual, description)
+    {
+        assert(actual === false, "assert_false", description,
+                                 "expected false got ${actual}", {actual:actual});
+    };
+    expose(assert_false, "assert_false");
+
+    function same_value(x, y) {
+        if (y !== y)
+        {
+            //NaN case
+            return x !== x;
+        }
+        else if (x === 0 && y === 0) {
+            //Distinguish +0 and -0
+            return 1/x === 1/y;
+        }
+        else
+        {
+            //typical case
+            return x === y;
+        }
+    }
+
+    function assert_equals(actual, expected, description)
+    {
+         /*
+          * Test if two primitives are equal or two objects
+          * are the same object
+          */
+        if (typeof actual != typeof expected)
+        {
+            assert(false, "assert_equals", description,
+                          "expected (" + typeof expected + ") ${expected} but got (" + typeof actual + ") ${actual}",
+                          {expected:expected, actual:actual});
+            return;
+        }
+        assert(same_value(actual, expected), "assert_equals", description,
+                                             "expected ${expected} but got ${actual}",
+                                             {expected:expected, actual:actual});
+    };
+    expose(assert_equals, "assert_equals");
+
+    function assert_not_equals(actual, expected, description)
+    {
+         /*
+          * Test if two primitives are unequal or two objects
+          * are different objects
+          */
+        assert(!same_value(actual, expected), "assert_not_equals", description,
+                                              "got disallowed value ${actual}",
+                                              {actual:actual});
+    };
+    expose(assert_not_equals, "assert_not_equals");
+
+    function assert_in_array(actual, expected, description)
+    {
+        assert(expected.indexOf(actual) != -1, "assert_in_array", description,
+                                               "value ${actual} not in array ${expected}",
+                                               {actual:actual, expected:expected});
+    }
+    expose(assert_in_array, "assert_in_array");
+
+    function assert_object_equals(actual, expected, description)
+    {
+         //This needs to be improved a great deal
+         function check_equal(actual, expected, stack)
+         {
+             stack.push(actual);
+
+             var p;
+             for (p in actual)
+             {
+                 assert(expected.hasOwnProperty(p), "assert_object_equals", description,
+                                                    "unexpected property ${p}", {p:p});
+
+                 if (typeof actual[p] === "object" && actual[p] !== null)
+                 {
+                     if (stack.indexOf(actual[p]) === -1)
+                     {
+                         check_equal(actual[p], expected[p], stack);
+                     }
+                 }
+                 else
+                 {
+                     assert(same_value(actual[p], expected[p]), "assert_object_equals", description,
+                                                       "property ${p} expected ${expected} got ${actual}",
+                                                       {p:p, expected:expected, actual:actual});
+                 }
+             }
+             for (p in expected)
+             {
+                 assert(actual.hasOwnProperty(p),
+                        "assert_object_equals", description,
+                        "expected property ${p} missing", {p:p});
+             }
+             stack.pop();
+         }
+         check_equal(actual, expected, []);
+    };
+    expose(assert_object_equals, "assert_object_equals");
+
+    function assert_array_equals(actual, expected, description)
+    {
+        assert(actual.length === expected.length,
+               "assert_array_equals", description,
+               "lengths differ, expected ${expected} got ${actual}",
+               {expected:expected.length, actual:actual.length});
+
+        for (var i=0; i < actual.length; i++)
+        {
+            assert(actual.hasOwnProperty(i) === expected.hasOwnProperty(i),
+                   "assert_array_equals", description,
+                   "property ${i}, property expected to be $expected but was $actual",
+                   {i:i, expected:expected.hasOwnProperty(i) ? "present" : "missing",
+                   actual:actual.hasOwnProperty(i) ? "present" : "missing"});
+            assert(same_value(expected[i], actual[i]),
+                   "assert_array_equals", description,
+                   "property ${i}, expected ${expected} but got ${actual}",
+                   {i:i, expected:expected[i], actual:actual[i]});
+        }
+    }
+    expose(assert_array_equals, "assert_array_equals");
+
+    function assert_approx_equals(actual, expected, epsilon, description)
+    {
+        /*
+         * Test if two primitive numbers are equal withing +/- epsilon
+         */
+        assert(typeof actual === "number",
+               "assert_approx_equals", description,
+               "expected a number but got a ${type_actual}",
+               {type_actual:typeof actual});
+
+        assert(Math.abs(actual - expected) <= epsilon,
+               "assert_approx_equals", description,
+               "expected ${expected} +/- ${epsilon} but got ${actual}",
+               {expected:expected, actual:actual, epsilon:epsilon});
+    };
+    expose(assert_approx_equals, "assert_approx_equals");
+
+    function assert_less_than(actual, expected, description)
+    {
+        /*
+         * Test if a primitive number is less than another
+         */
+        assert(typeof actual === "number",
+               "assert_less_than", description,
+               "expected a number but got a ${type_actual}",
+               {type_actual:typeof actual});
+
+        assert(actual < expected,
+               "assert_less_than", description,
+               "expected a number less than ${expected} but got ${actual}",
+               {expected:expected, actual:actual});
+    };
+    expose(assert_less_than, "assert_less_than");
+
+    function assert_greater_than(actual, expected, description)
+    {
+        /*
+         * Test if a primitive number is greater than another
+         */
+        assert(typeof actual === "number",
+               "assert_greater_than", description,
+               "expected a number but got a ${type_actual}",
+               {type_actual:typeof actual});
+
+        assert(actual > expected,
+               "assert_greater_than", description,
+               "expected a number greater than ${expected} but got ${actual}",
+               {expected:expected, actual:actual});
+    };
+    expose(assert_greater_than, "assert_greater_than");
+
+    function assert_less_than_equal(actual, expected, description)
+    {
+        /*
+         * Test if a primitive number is less than or equal to another
+         */
+        assert(typeof actual === "number",
+               "assert_less_than_equal", description,
+               "expected a number but got a ${type_actual}",
+               {type_actual:typeof actual});
+
+        assert(actual <= expected,
+               "assert_less_than", description,
+               "expected a number less than or equal to ${expected} but got ${actual}",
+               {expected:expected, actual:actual});
+    };
+    expose(assert_less_than_equal, "assert_less_than_equal");
+
+    function assert_greater_than_equal(actual, expected, description)
+    {
+        /*
+         * Test if a primitive number is greater than or equal to another
+         */
+        assert(typeof actual === "number",
+               "assert_greater_than_equal", description,
+               "expected a number but got a ${type_actual}",
+               {type_actual:typeof actual});
+
+        assert(actual >= expected,
+               "assert_greater_than_equal", description,
+               "expected a number greater than or equal to ${expected} but got ${actual}",
+               {expected:expected, actual:actual});
+    };
+    expose(assert_greater_than_equal, "assert_greater_than_equal");
+
+    function assert_regexp_match(actual, expected, description) {
+        /*
+         * Test if a string (actual) matches a regexp (expected)
+         */
+        assert(expected.test(actual),
+               "assert_regexp_match", description,
+               "expected ${expected} but got ${actual}",
+               {expected:expected, actual:actual});
+    }
+    expose(assert_regexp_match, "assert_regexp_match");
+
+    function assert_class_string(object, class_string, description) {
+        assert_equals({}.toString.call(object), "[object " + class_string + "]",
+                      description);
+    }
+    expose(assert_class_string, "assert_class_string");
+
+
+    function _assert_own_property(name) {
+        return function(object, property_name, description)
+        {
+            assert(object.hasOwnProperty(property_name),
+                   name, description,
+                   "expected property ${p} missing", {p:property_name});
+        };
+    }
+    expose(_assert_own_property("assert_exists"), "assert_exists");
+    expose(_assert_own_property("assert_own_property"), "assert_own_property");
+
+    function assert_not_exists(object, property_name, description)
+    {
+        assert(!object.hasOwnProperty(property_name),
+               "assert_not_exists", description,
+               "unexpected property ${p} found", {p:property_name});
+    };
+    expose(assert_not_exists, "assert_not_exists");
+
+    function _assert_inherits(name) {
+        return function (object, property_name, description)
+        {
+            assert(typeof object === "object",
+                   name, description,
+                   "provided value is not an object");
+
+            assert("hasOwnProperty" in object,
+                   name, description,
+                   "provided value is an object but has no hasOwnProperty method");
+
+            assert(!object.hasOwnProperty(property_name),
+                   name, description,
+                   "property ${p} found on object expected in prototype chain",
+                   {p:property_name});
+
+            assert(property_name in object,
+                   name, description,
+                   "property ${p} not found in prototype chain",
+                   {p:property_name});
+        };
+    }
+    expose(_assert_inherits("assert_inherits"), "assert_inherits");
+    expose(_assert_inherits("assert_idl_attribute"), "assert_idl_attribute");
+
+    function assert_readonly(object, property_name, description)
+    {
+         var initial_value = object[property_name];
+         try {
+             //Note that this can have side effects in the case where
+             //the property has PutForwards
+             object[property_name] = initial_value + "a"; //XXX use some other value here?
+             assert(same_value(object[property_name], initial_value),
+                    "assert_readonly", description,
+                    "changing property ${p} succeeded",
+                    {p:property_name});
+         }
+         finally
+         {
+             object[property_name] = initial_value;
+         }
+    };
+    expose(assert_readonly, "assert_readonly");
+
+    function assert_throws(code, func, description)
+    {
+        try
+        {
+            func.call(this);
+            assert(false, "assert_throws", description,
+                   "${func} did not throw", {func:func});
+        }
+        catch(e)
+        {
+            if (e instanceof AssertionError) {
+                throw(e);
+            }
+            if (code === null)
+            {
+                return;
+            }
+            if (typeof code === "object")
+            {
+                assert(typeof e == "object" && "name" in e && e.name == code.name,
+                       "assert_throws", description,
+                       "${func} threw ${actual} (${actual_name}) expected ${expected} (${expected_name})",
+                                    {func:func, actual:e, actual_name:e.name,
+                                     expected:code,
+                                     expected_name:code.name});
+                return;
+            }
+
+            var code_name_map = {
+                INDEX_SIZE_ERR: 'IndexSizeError',
+                HIERARCHY_REQUEST_ERR: 'HierarchyRequestError',
+                WRONG_DOCUMENT_ERR: 'WrongDocumentError',
+                INVALID_CHARACTER_ERR: 'InvalidCharacterError',
+                NO_MODIFICATION_ALLOWED_ERR: 'NoModificationAllowedError',
+                NOT_FOUND_ERR: 'NotFoundError',
+                NOT_SUPPORTED_ERR: 'NotSupportedError',
+                INVALID_STATE_ERR: 'InvalidStateError',
+                SYNTAX_ERR: 'SyntaxError',
+                INVALID_MODIFICATION_ERR: 'InvalidModificationError',
+                NAMESPACE_ERR: 'NamespaceError',
+                INVALID_ACCESS_ERR: 'InvalidAccessError',
+                TYPE_MISMATCH_ERR: 'TypeMismatchError',
+                SECURITY_ERR: 'SecurityError',
+                NETWORK_ERR: 'NetworkError',
+                ABORT_ERR: 'AbortError',
+                URL_MISMATCH_ERR: 'URLMismatchError',
+                QUOTA_EXCEEDED_ERR: 'QuotaExceededError',
+                TIMEOUT_ERR: 'TimeoutError',
+                INVALID_NODE_TYPE_ERR: 'InvalidNodeTypeError',
+                DATA_CLONE_ERR: 'DataCloneError'
+            };
+
+            var name = code in code_name_map ? code_name_map[code] : code;
+
+            var name_code_map = {
+                IndexSizeError: 1,
+                HierarchyRequestError: 3,
+                WrongDocumentError: 4,
+                InvalidCharacterError: 5,
+                NoModificationAllowedError: 7,
+                NotFoundError: 8,
+                NotSupportedError: 9,
+                InvalidStateError: 11,
+                SyntaxError: 12,
+                InvalidModificationError: 13,
+                NamespaceError: 14,
+                InvalidAccessError: 15,
+                TypeMismatchError: 17,
+                SecurityError: 18,
+                NetworkError: 19,
+                AbortError: 20,
+                URLMismatchError: 21,
+                QuotaExceededError: 22,
+                TimeoutError: 23,
+                InvalidNodeTypeError: 24,
+                DataCloneError: 25,
+
+                UnknownError: 0,
+                ConstraintError: 0,
+                DataError: 0,
+                TransactionInactiveError: 0,
+                ReadOnlyError: 0,
+                VersionError: 0
+            };
+
+            if (!(name in name_code_map))
+            {
+                throw new AssertionError('Test bug: unrecognized DOMException code "' + code + '" passed to assert_throws()');
+            }
+
+            var required_props = { code: name_code_map[name] };
+
+            if (required_props.code === 0
+            || ("name" in e && e.name !== e.name.toUpperCase() && e.name !== "DOMException"))
+            {
+                // New style exception: also test the name property.
+                required_props.name = name;
+            }
+
+            //We'd like to test that e instanceof the appropriate interface,
+            //but we can't, because we don't know what window it was created
+            //in.  It might be an instanceof the appropriate interface on some
+            //unknown other window.  TODO: Work around this somehow?
+
+            assert(typeof e == "object",
+                   "assert_throws", description,
+                   "${func} threw ${e} with type ${type}, not an object",
+                   {func:func, e:e, type:typeof e});
+
+            for (var prop in required_props)
+            {
+                assert(typeof e == "object" && prop in e && e[prop] == required_props[prop],
+                       "assert_throws", description,
+                       "${func} threw ${e} that is not a DOMException " + code + ": property ${prop} is equal to ${actual}, expected ${expected}",
+                       {func:func, e:e, prop:prop, actual:e[prop], expected:required_props[prop]});
+            }
+        }
+    }
+    expose(assert_throws, "assert_throws");
+
+    function assert_unreached(description) {
+         assert(false, "assert_unreached", description,
+                "Reached unreachable code");
+    }
+    expose(assert_unreached, "assert_unreached");
+
+    function assert_any(assert_func, actual, expected_array) 
+    {
+        var args = [].slice.call(arguments, 3)
+        var errors = []
+        var passed = false;
+        forEach(expected_array, 
+                function(expected)
+                {
+                    try {
+                        assert_func.apply(this, [actual, expected].concat(args))
+                        passed = true;
+                    } catch(e) {
+                        errors.push(e.message);
+                    }
+                });
+        if (!passed) {
+            throw new AssertionError(errors.join("\n\n"));
+        }
+    }
+    expose(assert_any, "assert_any");
+
+    function Test(name, properties)
+    {
+        this.name = name;
+        this.status = this.NOTRUN;
+        this.timeout_id = null;
+        this.is_done = false;
+
+        this.properties = properties;
+        this.timeout_length = properties.timeout ? properties.timeout : settings.test_timeout;
+
+        this.message = null;
+
+        var this_obj = this;
+        this.steps = [];
+
+        tests.push(this);
+    }
+
+    Test.statuses = {
+        PASS:0,
+        FAIL:1,
+        TIMEOUT:2,
+        NOTRUN:3
+    };
+
+    Test.prototype = merge({}, Test.statuses);
+
+    Test.prototype.structured_clone = function()
+    {
+        if(!this._structured_clone)
+        {
+            var msg = this.message;
+            msg = msg ? String(msg) : msg;
+            this._structured_clone = merge({
+                name:String(this.name),
+                status:this.status,
+                message:msg
+            }, Test.statuses);
+        }
+        return this._structured_clone;
+    };
+
+    Test.prototype.step = function(func, this_obj)
+    {
+        //In case the test has already failed
+        if (this.status !== this.NOTRUN)
+        {
+          return;
+        }
+
+        tests.started = true;
+
+        if (this.timeout_id === null) {
+            this.set_timeout();
+        }
+
+        this.steps.push(func);
+
+        if (arguments.length === 1)
+        {
+            this_obj = this;
+        }
+
+        try
+        {
+            return func.apply(this_obj, Array.prototype.slice.call(arguments, 2));
+        }
+        catch(e)
+        {
+            //This can happen if something called synchronously invoked another
+            //step
+            if (this.status !== this.NOTRUN)
+            {
+                return;
+            }
+            this.status = this.FAIL;
+            this.message = (typeof e === "object" && e !== null) ? e.message : e;
+            if (typeof e.stack != "undefined" && typeof e.message == "string") {
+                //Try to make it more informative for some exceptions, at least
+                //in Gecko and WebKit.  This results in a stack dump instead of
+                //just errors like "Cannot read property 'parentNode' of null"
+                //or "root is null".  Makes it a lot longer, of course.
+                this.message += "(stack: " + e.stack + ")";
+            }
+            this.done();
+            if (debug && e.constructor !== AssertionError) {
+                throw e;
+            }
+        }
+    };
+
+    Test.prototype.step_func = function(func, this_obj)
+    {
+        var test_this = this;
+
+        if (arguments.length === 1)
+        {
+            this_obj = test_this;
+        }
+
+        return function()
+        {
+            test_this.step.apply(test_this, [func, this_obj].concat(
+                Array.prototype.slice.call(arguments)));
+        };
+    };
+
+    Test.prototype.step_func_done = function(func, this_obj)
+    {
+        var test_this = this;
+
+        if (arguments.length === 1)
+        {
+            this_obj = test_this;
+        }
+
+        return function()
+        {
+            test_this.step.apply(test_this, [func, this_obj].concat(
+                Array.prototype.slice.call(arguments)));
+            test_this.done();
+        };
+    };
+
+    Test.prototype.set_timeout = function()
+    {
+        var this_obj = this;
+        this.timeout_id = setTimeout(function()
+                                     {
+                                         this_obj.timeout();
+                                     }, this.timeout_length);
+    };
+
+    Test.prototype.timeout = function()
+    {
+        this.status = this.TIMEOUT;
+        this.timeout_id = null;
+        this.message = "Test timed out";
+        this.done();
+    };
+
+    Test.prototype.done = function()
+    {
+        if (this.is_done) {
+            return;
+        }
+        clearTimeout(this.timeout_id);
+        if (this.status === this.NOTRUN)
+        {
+            this.status = this.PASS;
+        }
+        this.is_done = true;
+        tests.result(this);
+    };
+
+
+    /*
+     * Harness
+     */
+
+    function TestsStatus()
+    {
+        this.status = null;
+        this.message = null;
+    }
+
+    TestsStatus.statuses = {
+        OK:0,
+        ERROR:1,
+        TIMEOUT:2
+    };
+
+    TestsStatus.prototype = merge({}, TestsStatus.statuses);
+
+    TestsStatus.prototype.structured_clone = function()
+    {
+        if(!this._structured_clone)
+        {
+            var msg = this.message;
+            msg = msg ? String(msg) : msg;
+            this._structured_clone = merge({
+                status:this.status,
+                message:msg
+            }, TestsStatus.statuses);
+        }
+        return this._structured_clone;
+    };
+
+    function Tests()
+    {
+        this.tests = [];
+        this.num_pending = 0;
+
+        this.phases = {
+            INITIAL:0,
+            SETUP:1,
+            HAVE_TESTS:2,
+            HAVE_RESULTS:3,
+            COMPLETE:4
+        };
+        this.phase = this.phases.INITIAL;
+
+        this.properties = {};
+
+        //All tests can't be done until the load event fires
+        this.all_loaded = false;
+        this.wait_for_finish = false;
+        this.processing_callbacks = false;
+
+        this.timeout_length = settings.timeout;
+        this.timeout_id = null;
+
+        this.start_callbacks = [];
+        this.test_done_callbacks = [];
+        this.all_done_callbacks = [];
+
+        this.status = new TestsStatus();
+
+        var this_obj = this;
+
+        on_event(window, "load",
+                 function()
+                 {
+                     this_obj.all_loaded = true;
+                     if (this_obj.all_done())
+                     {
+                         this_obj.complete();
+                     }
+                 });
+
+        this.set_timeout();
+    }
+
+    Tests.prototype.setup = function(func, properties)
+    {
+        if (this.phase >= this.phases.HAVE_RESULTS)
+        {
+            return;
+        }
+        if (this.phase < this.phases.SETUP)
+        {
+            this.phase = this.phases.SETUP;
+        }
+
+        for (var p in properties)
+        {
+            if (properties.hasOwnProperty(p))
+            {
+                this.properties[p] = properties[p];
+            }
+        }
+
+        if (properties.timeout)
+        {
+            this.timeout_length = properties.timeout;
+        }
+        if (properties.explicit_done)
+        {
+            this.wait_for_finish = true;
+        }
+        if (properties.explicit_timeout) {
+            this.timeout_length = null;
+        }
+
+        if (func)
+        {
+            try
+            {
+                func();
+            } catch(e)
+            {
+                this.status.status = this.status.ERROR;
+                this.status.message = e;
+            };
+        }
+        this.set_timeout();
+    };
+
+    Tests.prototype.set_timeout = function()
+    {
+        var this_obj = this;
+        clearTimeout(this.timeout_id);
+        if (this.timeout_length !== null)
+        {
+            this.timeout_id = setTimeout(function() {
+                                             this_obj.timeout();
+                                         }, this.timeout_length);
+        }
+    };
+
+    Tests.prototype.timeout = function() {
+        this.status.status = this.status.TIMEOUT;
+        this.complete();
+    };
+
+    Tests.prototype.end_wait = function()
+    {
+        this.wait_for_finish = false;
+        if (this.all_done()) {
+            this.complete();
+        }
+    };
+
+    Tests.prototype.push = function(test)
+    {
+        if (this.phase < this.phases.HAVE_TESTS) {
+            this.start();
+        }
+        this.num_pending++;
+        this.tests.push(test);
+    };
+
+    Tests.prototype.all_done = function() {
+        return (this.all_loaded && this.num_pending === 0 &&
+                !this.wait_for_finish && !this.processing_callbacks);
+    };
+
+    Tests.prototype.start = function() {
+        this.phase = this.phases.HAVE_TESTS;
+        this.notify_start();
+    };
+
+    Tests.prototype.notify_start = function() {
+        var this_obj = this;
+        forEach (this.start_callbacks,
+                 function(callback)
+                 {
+                     callback(this_obj.properties);
+                 });
+        forEach_windows(
+                function(w, is_same_origin)
+                {
+                    if(is_same_origin && w.start_callback)
+                    {
+                        try
+                        {
+                            w.start_callback(this_obj.properties);
+                        }
+                        catch(e)
+                        {
+                            if (debug)
+                            {
+                                throw(e);
+                            }
+                        }
+                    }
+                    if (supports_post_message(w) && w !== self)
+                    {
+                        w.postMessage({
+                            type: "start",
+                            properties: this_obj.properties
+                        }, "*");
+                    }
+                });
+    };
+
+    Tests.prototype.result = function(test)
+    {
+        if (this.phase > this.phases.HAVE_RESULTS)
+        {
+            return;
+        }
+        this.phase = this.phases.HAVE_RESULTS;
+        this.num_pending--;
+        this.notify_result(test);
+    };
+
+    Tests.prototype.notify_result = function(test) {
+        var this_obj = this;
+        this.processing_callbacks = true;
+        forEach(this.test_done_callbacks,
+                function(callback)
+                {
+                    callback(test, this_obj);
+                });
+
+        forEach_windows(
+                function(w, is_same_origin)
+                {
+                    if(is_same_origin && w.result_callback)
+                    {
+                        try
+                        {
+                            w.result_callback(test);
+                        }
+                        catch(e)
+                        {
+                            if(debug) {
+                                throw e;
+                            }
+                        }
+                    }
+                    if (supports_post_message(w) && w !== self)
+                    {
+                        w.postMessage({
+                            type: "result",
+                            test: test.structured_clone()
+                        }, "*");
+                    }
+                });
+        this.processing_callbacks = false;
+        if (this_obj.all_done())
+        {
+            this_obj.complete();
+        }
+    };
+
+    Tests.prototype.complete = function() {
+        if (this.phase === this.phases.COMPLETE) {
+            return;
+        }
+        this.phase = this.phases.COMPLETE;
+        var this_obj = this;
+        this.tests.forEach(
+            function(x)
+            {
+                if(x.status === x.NOTRUN)
+                {
+                    this_obj.notify_result(x);
+                }
+            }
+        );
+        this.notify_complete();
+    };
+
+    Tests.prototype.notify_complete = function()
+    {
+        clearTimeout(this.timeout_id);
+        var this_obj = this;
+        var tests = map(this_obj.tests,
+                        function(test)
+                        {
+                            return test.structured_clone();
+                        });
+        if (this.status.status === null)
+        {
+            this.status.status = this.status.OK;
+        }
+
+        forEach (this.all_done_callbacks,
+                 function(callback)
+                 {
+                     callback(this_obj.tests, this_obj.status);
+                 });
+
+        forEach_windows(
+                function(w, is_same_origin)
+                {
+                    if(is_same_origin && w.completion_callback)
+                    {
+                        try
+                        {
+                            w.completion_callback(this_obj.tests, this_obj.status);
+                        }
+                        catch(e)
+                        {
+                            if (debug)
+                            {
+                                throw e;
+                            }
+                        }
+                    }
+                    if (supports_post_message(w) && w !== self)
+                    {
+                        w.postMessage({
+                            type: "complete",
+                            tests: tests,
+                            status: this_obj.status.structured_clone()
+                        }, "*");
+                    }
+                });
+    };
+
+    var tests = new Tests();
+
+    function timeout() {
+        if (tests.timeout_length === null)
+        {
+            tests.timeout();
+        }
+    }
+    expose(timeout, 'timeout');
+
+    function add_start_callback(callback) {
+        tests.start_callbacks.push(callback);
+    }
+
+    function add_result_callback(callback)
+    {
+        tests.test_done_callbacks.push(callback);
+    }
+
+    function add_completion_callback(callback)
+    {
+       tests.all_done_callbacks.push(callback);
+    }
+
+    expose(add_start_callback, 'add_start_callback');
+    expose(add_result_callback, 'add_result_callback');
+    expose(add_completion_callback, 'add_completion_callback');
+
+    /*
+     * Output listener
+    */
+
+    function Output() {
+      this.output_document = document;
+      this.output_node = null;
+      this.done_count = 0;
+      this.enabled = settings.output;
+      this.phase = this.INITIAL;
+    }
+
+    Output.prototype.INITIAL = 0;
+    Output.prototype.STARTED = 1;
+    Output.prototype.HAVE_RESULTS = 2;
+    Output.prototype.COMPLETE = 3;
+
+    Output.prototype.setup = function(properties) {
+        if (this.phase > this.INITIAL) {
+            return;
+        }
+
+        //If output is disabled in testharnessreport.js the test shouldn't be
+        //able to override that
+        this.enabled = this.enabled && (properties.hasOwnProperty("output") ?
+                                        properties.output : settings.output);
+    };
+
+    Output.prototype.init = function(properties)
+    {
+        if (this.phase >= this.STARTED) {
+            return;
+        }
+        if (properties.output_document) {
+            this.output_document = properties.output_document;
+        } else {
+            this.output_document = document;
+        }
+        this.phase = this.STARTED;
+    };
+
+    Output.prototype.resolve_log = function()
+    {
+        var output_document;
+        if (typeof this.output_document === "function")
+        {
+            output_document = this.output_document.apply(undefined);
+        } else
+        {
+            output_document = this.output_document;
+        }
+        if (!output_document)
+        {
+            return;
+        }
+        var node = output_document.getElementById("log");
+        if (node)
+        {
+            this.output_document = output_document;
+            this.output_node = node;
+        }
+    };
+
+    Output.prototype.show_status = function(test)
+    {
+        if (this.phase < this.STARTED)
+        {
+            this.init();
+        }
+        if (!this.enabled)
+        {
+            return;
+        }
+        if (this.phase < this.HAVE_RESULTS)
+        {
+            this.resolve_log();
+            this.phase = this.HAVE_RESULTS;
+        }
+        this.done_count++;
+        if (this.output_node)
+        {
+            if (this.done_count < 100
+            || (this.done_count < 1000 && this.done_count % 100 == 0)
+            || this.done_count % 1000 == 0) {
+                this.output_node.textContent = "Running, "
+                    + this.done_count + " complete, "
+                    + tests.num_pending + " remain";
+            }
+        }
+    };
+
+    Output.prototype.show_results = function (tests, harness_status)
+    {
+        if (this.phase >= this.COMPLETE) {
+            return;
+        }
+        if (!this.enabled)
+        {
+            return;
+        }
+        if (!this.output_node) {
+            this.resolve_log();
+        }
+        this.phase = this.COMPLETE;
+
+        var log = this.output_node;
+        if (!log)
+        {
+            return;
+        }
+        var output_document = this.output_document;
+
+        while (log.lastChild)
+        {
+            log.removeChild(log.lastChild);
+        }
+
+        if (script_prefix != null) {
+            var stylesheet = output_document.createElementNS(xhtml_ns, "link");
+            stylesheet.setAttribute("rel", "stylesheet");
+            stylesheet.setAttribute("href", script_prefix + "testharness.css");
+            var heads = output_document.getElementsByTagName("head");
+            if (heads.length) {
+                heads[0].appendChild(stylesheet);
+            }
+        }
+
+        var status_text = {};
+        status_text[Test.prototype.PASS] = "Pass";
+        status_text[Test.prototype.FAIL] = "Fail";
+        status_text[Test.prototype.TIMEOUT] = "Timeout";
+        status_text[Test.prototype.NOTRUN] = "Not Run";
+
+        var status_number = {};
+        forEach(tests, function(test) {
+                    var status = status_text[test.status];
+                    if (status_number.hasOwnProperty(status))
+                    {
+                        status_number[status] += 1;
+                    } else {
+                        status_number[status] = 1;
+                    }
+                });
+
+        function status_class(status)
+        {
+            return status.replace(/\s/g, '').toLowerCase();
+        }
+
+        var summary_template = ["section", {"id":"summary"},
+                                ["h2", {}, "Summary"],
+                                ["p", {}, "Found ${num_tests} tests"],
+                                function(vars) {
+                                    var rv = [["div", {}]];
+                                    var i=0;
+                                    while (status_text.hasOwnProperty(i)) {
+                                        if (status_number.hasOwnProperty(status_text[i])) {
+                                            var status = status_text[i];
+                                            rv[0].push(["div", {"class":status_class(status)},
+                                                        ["label", {},
+                                                         ["input", {type:"checkbox", checked:"checked"}],
+                                                         status_number[status] + " " + status]]);
+                                        }
+                                        i++;
+                                    }
+                                    return rv;
+                                }];
+
+        log.appendChild(render(summary_template, {num_tests:tests.length}, output_document));
+
+        forEach(output_document.querySelectorAll("section#summary label"),
+                function(element)
+                {
+                    on_event(element, "click",
+                             function(e)
+                             {
+                                 if (output_document.getElementById("results") === null)
+                                 {
+                                     e.preventDefault();
+                                     return;
+                                 }
+                                 var result_class = element.parentNode.getAttribute("class");
+                                 var style_element = output_document.querySelector("style#hide-" + result_class);
+                                 var input_element = element.querySelector("input");
+                                 if (!style_element && !input_element.checked) {
+                                     style_element = output_document.createElementNS(xhtml_ns, "style");
+                                     style_element.id = "hide-" + result_class;
+                                     style_element.textContent = "table#results > tbody > tr."+result_class+"{display:none}";
+                                     output_document.body.appendChild(style_element);
+                                 } else if (style_element && input_element.checked) {
+                                     style_element.parentNode.removeChild(style_element);
+                                 }
+                             });
+                });
+
+        // This use of innerHTML plus manual escaping is not recommended in
+        // general, but is necessary here for performance.  Using textContent
+        // on each individual <td> adds tens of seconds of execution time for
+        // large test suites (tens of thousands of tests).
+        function escape_html(s)
+        {
+            return s.replace(/\&/g, "&amp;")
+                .replace(/</g, "&lt;")
+                .replace(/"/g, "&quot;")
+                .replace(/'/g, "&#39;");
+        }
+
+        function has_assertions()
+        {
+            for (var i = 0; i < tests.length; i++) {
+                if (tests[i].properties.hasOwnProperty("assert")) {
+                    return true;
+                }
+            }
+            return false;
+        }
+        
+        function get_assertion(test)
+        {
+            if (test.properties.hasOwnProperty("assert")) {
+                if (Array.isArray(test.properties.assert)) {
+                    return test.properties.assert.join(' ');
+                }
+                return test.properties.assert;
+            }
+            return '';
+        }
+        
+        log.appendChild(document.createElementNS(xhtml_ns, "section"));
+        var assertions = has_assertions();
+        var html = "<h2>Details</h2><table id='results' " + (assertions ? "class='assertions'" : "" ) + ">"
+            + "<thead><tr><th>Result</th><th>Test Name</th>"
+            + (assertions ? "<th>Assertion</th>" : "")
+            + "<th>Message</th></tr></thead>"
+            + "<tbody>";
+        for (var i = 0; i < tests.length; i++) {
+            html += '<tr class="'
+                + escape_html(status_class(status_text[tests[i].status]))
+                + '"><td>'
+                + escape_html(status_text[tests[i].status])
+                + "</td><td>"
+                + escape_html(tests[i].name)
+                + "</td><td>"
+                + (assertions ? escape_html(get_assertion(tests[i])) + "</td><td>" : "")
+                + escape_html(tests[i].message ? tests[i].message : " ")
+                + "</td></tr>";
+        }
+        html += "</tbody></table>";
+        try {
+            log.lastChild.innerHTML = html;
+        } catch (e) {
+            log.appendChild(document.createElementNS(xhtml_ns, "p"))
+               .textContent = "Setting innerHTML for the log threw an exception.";
+            log.appendChild(document.createElementNS(xhtml_ns, "pre"))
+               .textContent = html;
+        }
+    };
+
+    var output = new Output();
+    add_start_callback(function (properties) {output.init(properties);});
+    add_result_callback(function (test) {output.show_status(tests);});
+    add_completion_callback(function (tests, harness_status) {output.show_results(tests, harness_status);});
+
+    /*
+     * Template code
+     *
+     * A template is just a javascript structure. An element is represented as:
+     *
+     * [tag_name, {attr_name:attr_value}, child1, child2]
+     *
+     * the children can either be strings (which act like text nodes), other templates or
+     * functions (see below)
+     *
+     * A text node is represented as
+     *
+     * ["{text}", value]
+     *
+     * String values have a simple substitution syntax; ${foo} represents a variable foo.
+     *
+     * It is possible to embed logic in templates by using a function in a place where a
+     * node would usually go. The function must either return part of a template or null.
+     *
+     * In cases where a set of nodes are required as output rather than a single node
+     * with children it is possible to just use a list
+     * [node1, node2, node3]
+     *
+     * Usage:
+     *
+     * render(template, substitutions) - take a template and an object mapping
+     * variable names to parameters and return either a DOM node or a list of DOM nodes
+     *
+     * substitute(template, substitutions) - take a template and variable mapping object,
+     * make the variable substitutions and return the substituted template
+     *
+     */
+
+    function is_single_node(template)
+    {
+        return typeof template[0] === "string";
+    }
+
+    function substitute(template, substitutions)
+    {
+        if (typeof template === "function") {
+            var replacement = template(substitutions);
+            if (replacement)
+            {
+                var rv = substitute(replacement, substitutions);
+                return rv;
+            }
+            else
+            {
+                return null;
+            }
+        }
+        else if (is_single_node(template))
+        {
+            return substitute_single(template, substitutions);
+        }
+        else
+        {
+            return filter(map(template, function(x) {
+                                  return substitute(x, substitutions);
+                              }), function(x) {return x !== null;});
+        }
+    }
+
+    function substitute_single(template, substitutions)
+    {
+        var substitution_re = /\${([^ }]*)}/g;
+
+        function do_substitution(input) {
+            var components = input.split(substitution_re);
+            var rv = [];
+            for (var i=0; i<components.length; i+=2)
+            {
+                rv.push(components[i]);
+                if (components[i+1])
+                {
+                    rv.push(String(substitutions[components[i+1]]));
+                }
+            }
+            return rv;
+        }
+
+        var rv = [];
+        rv.push(do_substitution(String(template[0])).join(""));
+
+        if (template[0] === "{text}") {
+            substitute_children(template.slice(1), rv);
+        } else {
+            substitute_attrs(template[1], rv);
+            substitute_children(template.slice(2), rv);
+        }
+
+        function substitute_attrs(attrs, rv)
+        {
+            rv[1] = {};
+            for (var name in template[1])
+            {
+                if (attrs.hasOwnProperty(name))
+                {
+                    var new_name = do_substitution(name).join("");
+                    var new_value = do_substitution(attrs[name]).join("");
+                    rv[1][new_name] = new_value;
+                };
+            }
+        }
+
+        function substitute_children(children, rv)
+        {
+            for (var i=0; i<children.length; i++)
+            {
+                if (children[i] instanceof Object) {
+                    var replacement = substitute(children[i], substitutions);
+                    if (replacement !== null)
+                    {
+                        if (is_single_node(replacement))
+                        {
+                            rv.push(replacement);
+                        }
+                        else
+                        {
+                            extend(rv, replacement);
+                        }
+                    }
+                }
+                else
+                {
+                    extend(rv, do_substitution(String(children[i])));
+                }
+            }
+            return rv;
+        }
+
+        return rv;
+    }
+
+ function make_dom_single(template, doc)
+ {
+     var output_document = doc || document;
+     if (template[0] === "{text}")
+     {
+         var element = output_document.createTextNode("");
+         for (var i=1; i<template.length; i++)
+         {
+             element.data += template[i];
+         }
+     }
+     else
+     {
+         var element = output_document.createElementNS(xhtml_ns, template[0]);
+         for (var name in template[1]) {
+             if (template[1].hasOwnProperty(name))
+             {
+                 element.setAttribute(name, template[1][name]);
+             }
+         }
+         for (var i=2; i<template.length; i++)
+         {
+             if (template[i] instanceof Object)
+             {
+                 var sub_element = make_dom(template[i]);
+                 element.appendChild(sub_element);
+             }
+             else
+             {
+                 var text_node = output_document.createTextNode(template[i]);
+                 element.appendChild(text_node);
+             }
+         }
+     }
+
+     return element;
+ }
+
+
+
+ function make_dom(template, substitutions, output_document)
+    {
+        if (is_single_node(template))
+        {
+            return make_dom_single(template, output_document);
+        }
+        else
+        {
+            return map(template, function(x) {
+                           return make_dom_single(x, output_document);
+                       });
+        }
+    }
+
+ function render(template, substitutions, output_document)
+    {
+        return make_dom(substitute(template, substitutions), output_document);
+    }
+
+    /*
+     * Utility funcions
+     */
+    function assert(expected_true, function_name, description, error, substitutions)
+    {
+        if (expected_true !== true)
+        {
+            throw new AssertionError(make_message(function_name, description,
+                                                  error, substitutions));
+        }
+    }
+
+    function AssertionError(message)
+    {
+        this.message = message;
+    }
+
+    function make_message(function_name, description, error, substitutions)
+    {
+        for (var p in substitutions) {
+            if (substitutions.hasOwnProperty(p)) {
+                substitutions[p] = format_value(substitutions[p]);
+            }
+        }
+        var node_form = substitute(["{text}", "${function_name}: ${description}" + error],
+                                   merge({function_name:function_name,
+                                          description:(description?description + " ":"")},
+                                          substitutions));
+        return node_form.slice(1).join("");
+    }
+
+    function filter(array, callable, thisObj) {
+        var rv = [];
+        for (var i=0; i<array.length; i++)
+        {
+            if (array.hasOwnProperty(i))
+            {
+                var pass = callable.call(thisObj, array[i], i, array);
+                if (pass) {
+                    rv.push(array[i]);
+                }
+            }
+        }
+        return rv;
+    }
+
+    function map(array, callable, thisObj)
+    {
+        var rv = [];
+        rv.length = array.length;
+        for (var i=0; i<array.length; i++)
+        {
+            if (array.hasOwnProperty(i))
+            {
+                rv[i] = callable.call(thisObj, array[i], i, array);
+            }
+        }
+        return rv;
+    }
+
+    function extend(array, items)
+    {
+        Array.prototype.push.apply(array, items);
+    }
+
+    function forEach (array, callback, thisObj)
+    {
+        for (var i=0; i<array.length; i++)
+        {
+            if (array.hasOwnProperty(i))
+            {
+                callback.call(thisObj, array[i], i, array);
+            }
+        }
+    }
+
+    function merge(a,b)
+    {
+        var rv = {};
+        var p;
+        for (p in a)
+        {
+            rv[p] = a[p];
+        }
+        for (p in b) {
+            rv[p] = b[p];
+        }
+        return rv;
+    }
+
+    function expose(object, name)
+    {
+        var components = name.split(".");
+        var target = window;
+        for (var i=0; i<components.length - 1; i++)
+        {
+            if (!(components[i] in target))
+            {
+                target[components[i]] = {};
+            }
+            target = target[components[i]];
+        }
+        target[components[components.length - 1]] = object;
+    }
+
+    function forEach_windows(callback) {
+        // Iterate of the the windows [self ... top, opener]. The callback is passed
+        // two objects, the first one is the windows object itself, the second one
+        // is a boolean indicating whether or not its on the same origin as the
+        // current window.
+        var cache = forEach_windows.result_cache;
+        if (!cache) {
+            cache = [[self, true]];
+            var w = self;
+            var i = 0;
+            var so;
+            var origins = location.ancestorOrigins;
+            while (w != w.parent)
+            {
+                w = w.parent;
+                // In WebKit, calls to parent windows' properties that aren't on the same
+                // origin cause an error message to be displayed in the error console but
+                // don't throw an exception. This is a deviation from the current HTML5
+                // spec. See: https://bugs.webkit.org/show_bug.cgi?id=43504
+                // The problem with WebKit's behavior is that it pollutes the error console
+                // with error messages that can't be caught.
+                //
+                // This issue can be mitigated by relying on the (for now) proprietary
+                // `location.ancestorOrigins` property which returns an ordered list of
+                // the origins of enclosing windows. See:
+                // http://trac.webkit.org/changeset/113945.
+                if(origins) {
+                    so = (location.origin == origins[i]);
+                }
+                else
+                {
+                    so = is_same_origin(w);
+                }
+                cache.push([w, so]);
+                i++;
+            }
+            w = window.opener;
+            if(w)
+            {
+                // window.opener isn't included in the `location.ancestorOrigins` prop.
+                // We'll just have to deal with a simple check and an error msg on WebKit
+                // browsers in this case.
+                cache.push([w, is_same_origin(w)]);
+            }
+            forEach_windows.result_cache = cache;
+        }
+
+        forEach(cache,
+                function(a)
+                {
+                    callback.apply(null, a);
+                });
+    }
+
+    function is_same_origin(w) {
+        try {
+            'random_prop' in w;
+            return true;
+        } catch(e) {
+            return false;
+        }
+    }
+
+    function supports_post_message(w)
+    {
+        var supports;
+        var type;
+        // Given IE  implements postMessage across nested iframes but not across
+        // windows or tabs, you can't infer cross-origin communication from the presence
+        // of postMessage on the current window object only.
+        //
+        // Touching the postMessage prop on a window can throw if the window is
+        // not from the same origin AND post message is not supported in that
+        // browser. So just doing an existence test here won't do, you also need
+        // to wrap it in a try..cacth block.
+        try
+        {
+            type = typeof w.postMessage;
+            if (type === "function")
+            {
+                supports = true;
+            }
+            // IE8 supports postMessage, but implements it as a host object which
+            // returns "object" as its `typeof`.
+            else if (type === "object")
+            {
+                supports = true;
+            }
+            // This is the case where postMessage isn't supported AND accessing a
+            // window property across origins does NOT throw (e.g. old Safari browser).
+            else
+            {
+                supports = false;
+            }
+        }
+        catch(e) {
+            // This is the case where postMessage isn't supported AND accessing a
+            // window property across origins throws (e.g. old Firefox browser).
+            supports = false;
+        }
+        return supports;
+    }
+})();
+
+/*
+ *For blacklist
+ */
+
+function is_platform_supported(name)
+{
+    var ret = true;
+
+    if (not_support_list.indexOf(name) >= 0)
+        ret = false;
+
+    return ret;
+}
+
+// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/common/tct-maxLength-wrt-tests/resources/testharnessreport.js b/common/tct-maxLength-wrt-tests/resources/testharnessreport.js
new file mode 100755 (executable)
index 0000000..fa73347
--- /dev/null
@@ -0,0 +1,380 @@
+/*
+ * This file is intended for vendors to implement
+ * code needed to integrate testharness.js tests with their own test systems.
+ *
+ * The default implementation extracts metadata from the tests and validates 
+ * it against the cached version that should be present in the test source 
+ * file. If the cache is not found or is out of sync, source code suitable for
+ * caching the metadata is optionally generated.
+ *
+ * The cached metadata is present for extraction by test processing tools that
+ * are unable to execute javascript.
+ *
+ * Metadata is attached to tests via the properties parameter in the test
+ * constructor. See testharness.js for details.
+ *
+ * Typically test system integration will attach callbacks when each test has
+ * run, using add_result_callback(callback(test)), or when the whole test file
+ * has completed, using 
+ * add_completion_callback(callback(tests, harness_status)).
+ *
+ * For more documentation about the callback functions and the
+ * parameters they are called with see testharness.js
+ */
+
+
+
+var metadata_generator = {
+
+    currentMetadata: {},
+    cachedMetadata: false,
+    metadataProperties: ['help', 'assert', 'author'],
+    
+    error: function(message) {
+        var messageElement = document.createElement('p');
+        messageElement.setAttribute('class', 'error');
+        this.appendText(messageElement, message);
+        
+        var summary = document.getElementById('summary');
+        if (summary) {
+            summary.parentNode.insertBefore(messageElement, summary);
+        }
+        else {
+            document.body.appendChild(messageElement);
+        }
+    },
+
+    /**
+     * Ensure property value has contact information
+     */
+    validateContact: function(test, propertyName) {
+        var result = true;
+        var value = test.properties[propertyName];
+        var values = Array.isArray(value) ? value : [value];
+        for (var index = 0; index < values.length; index++) {
+            value = values[index];
+            var re = /(\S+)(\s*)<(.*)>(.*)/;
+            if (! re.test(value)) {
+                re = /(\S+)(\s+)(http[s]?:\/\/)(.*)/
+                if (! re.test(value)) {
+                    this.error('Metadata property "' + propertyName + 
+                        '" for test: "' + test.name +
+                        '" must have name and contact information ' +
+                        '("name <email>" or "name http(s)://")');
+                    result = false;
+                }
+            }
+        }
+        return result;
+    },
+    
+    /**
+     * Extract metadata from test object
+     */
+    extractFromTest: function(test) {
+        var testMetadata = {};
+        // filter out metadata from other properties in test
+        for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
+             metaIndex++) {
+            var meta = this.metadataProperties[metaIndex];
+            if (test.properties.hasOwnProperty(meta)) {
+                if ('author' == meta) {
+                    this.validateContact(test, meta);
+                }
+                testMetadata[meta] = test.properties[meta];
+            }
+        }
+        return testMetadata;
+    },
+    
+    /**
+     * Compare cached metadata to extracted metadata
+     */
+    validateCache: function() {
+        for (var testName in this.currentMetadata) {
+            if (! this.cachedMetadata.hasOwnProperty(testName)) {
+                return false;
+            }
+            var testMetadata = this.currentMetadata[testName];
+            var cachedTestMetadata = this.cachedMetadata[testName];
+            delete this.cachedMetadata[testName];
+            
+            for (var metaIndex = 0; metaIndex < this.metadataProperties.length;
+                 metaIndex++) {
+                var meta = this.metadataProperties[metaIndex];
+                if (cachedTestMetadata.hasOwnProperty(meta) && 
+                    testMetadata.hasOwnProperty(meta)) {
+                    if (Array.isArray(cachedTestMetadata[meta])) {
+                      if (! Array.isArray(testMetadata[meta])) {
+                          return false;
+                      }
+                      if (cachedTestMetadata[meta].length == 
+                          testMetadata[meta].length) {
+                          for (var index = 0; 
+                               index < cachedTestMetadata[meta].length; 
+                               index++) {
+                              if (cachedTestMetadata[meta][index] != 
+                                  testMetadata[meta][index]) {
+                                  return false;
+                              }
+                          }
+                      }
+                      else {
+                          return false;
+                      }
+                    }
+                    else {
+                      if (Array.isArray(testMetadata[meta])) {
+                        return false;
+                      }
+                      if (cachedTestMetadata[meta] != testMetadata[meta]) {
+                        return false;
+                      }
+                    }
+                }
+                else if (cachedTestMetadata.hasOwnProperty(meta) || 
+                         testMetadata.hasOwnProperty(meta)) {
+                    return false;
+                }
+            }
+        }
+        for (var testName in this.cachedMetadata) {
+            return false;
+        }
+        return true;
+    },
+  
+    appendText: function(elemement, text) {
+        elemement.appendChild(document.createTextNode(text));
+    },
+  
+    jsonifyArray: function(arrayValue, indent) {
+        var output = '[';
+
+        if (1 == arrayValue.length) {
+            output += JSON.stringify(arrayValue[0]);
+        }
+        else {
+            for (var index = 0; index < arrayValue.length; index++) {
+                if (0 < index) {
+                    output += ',\n  ' + indent;
+                }
+                output += JSON.stringify(arrayValue[index]);
+            }
+        }
+        output += ']';
+        return output;
+    },
+    
+    jsonifyObject: function(objectValue, indent) {
+        var output = '{';
+        
+        var count = 0;
+        for (var property in objectValue) {
+            ++count;
+            if (Array.isArray(objectValue[property]) || 
+                ('object' == typeof(value))) {
+                ++count;
+            }
+        }
+        if (1 == count) {
+            for (var property in objectValue) {
+                output += ' "' + property + '": '
+                          + JSON.stringify(objectValue[property])
+                          + ' ';
+            }
+        }
+        else {
+            var first = true;
+            for (var property in objectValue) {
+                if (! first) {
+                    output += ',';
+                }
+                first = false;
+                output += '\n  ' + indent + '"' + property + '": ';
+                var value = objectValue[property];
+                if (Array.isArray(value)) {
+                    output += this.jsonifyArray(value, indent + 
+                        '                '.substr(0, 5 + property.length));
+                }
+                else if ('object' == typeof(value)) {
+                    output += this.jsonifyObject(value, indent + '  ');
+                }
+                else {
+                    output += JSON.stringify(value);
+                }
+            }
+            if (1 < output.length) {
+                output += '\n' + indent;
+            }
+        }
+        output += '}';
+        return output;
+    },
+  
+    /**
+     * Generate javascript source code for captured metadata
+     * Metadata is in pretty-printed JSON format
+     */
+    generateSource: function() {
+        var source = 
+            '<script id="metadata_cache">/*\n' + 
+            this.jsonifyObject(this.currentMetadata, '') + '\n' + 
+            '*/</script>\n';
+        return source;
+    },
+    
+    /**
+     * Add element containing metadata source code
+     */
+    addSourceElement: function(event) {
+        var sourceWrapper = document.createElement('div');
+        sourceWrapper.setAttribute('id', 'metadata_source');
+
+        var instructions = document.createElement('p');
+        if (this.cachedMetadata) {
+            this.appendText(instructions, 
+                'Replace the existing <script id="metadata_cache"> element ' + 
+                'in the test\'s <head> with the following:');
+        }
+        else {
+            this.appendText(instructions, 
+                'Copy the following into the <head> element of the test ' +
+                'or the test\'s metadata sidecar file:');
+        }
+        sourceWrapper.appendChild(instructions);
+        
+        var sourceElement = document.createElement('pre');
+        this.appendText(sourceElement, this.generateSource());
+
+        sourceWrapper.appendChild(sourceElement);
+        
+        var messageElement = document.getElementById('metadata_issue');
+        messageElement.parentNode.insertBefore(sourceWrapper, 
+                                               messageElement.nextSibling);
+        messageElement.parentNode.removeChild(messageElement);
+
+        (event.preventDefault) ? event.preventDefault() : 
+                                 event.returnValue = false;
+    },
+    
+    /**
+     * Extract the metadata cache from the cache element if present
+     */
+    getCachedMetadata: function() {
+        var cacheElement = document.getElementById('metadata_cache');
+        
+        if (cacheElement) {
+            var cacheText = cacheElement.firstChild.nodeValue;
+            var openBrace = cacheText.indexOf('{');
+            var closeBrace = cacheText.lastIndexOf('}');
+            if ((-1 < openBrace) && (-1 < closeBrace)) {
+                cacheText = cacheText.slice(openBrace, closeBrace + 1);
+                try {
+                    this.cachedMetadata = JSON.parse(cacheText);
+                }
+                catch (exc) {
+                    this.cachedMetadata = 'Invalid JSON in Cached metadata. ';
+                }
+            }
+            else {
+                this.cachedMetadata = 'Metadata not found in cache element. ';
+            }
+        }
+    },
+    
+    /**
+     * Main entry point, extract metadata from tests, compare to cached version
+     * if present.
+     * If cache not present or differs from extrated metadata, generate an error
+     */
+    process: function(tests, harness_status) {
+        for (var index = 0; index < tests.length; index++) {
+            var test = tests[index];
+            if (this.currentMetadata.hasOwnProperty(test.name)) {
+                this.error('Duplicate test name: ' + test.name);
+            }
+            else {
+                this.currentMetadata[test.name] = this.extractFromTest(test);
+            }
+        }
+
+        this.getCachedMetadata();
+        
+        var message = null;
+        var messageClass = 'warning';
+        var showSource = false;
+        
+        if (0 == tests.length) {
+            if (this.cachedMetadata) {
+                message = 'Cached metadata present but no tests. ';
+            }
+        }
+        else if (1 == tests.length) {
+            if (this.cachedMetadata) {
+                message = 'Single test files should not have cached metadata. ';
+            }
+            else {
+                var testMetadata = this.currentMetadata[tests[0].name];
+                var hasMetadata = false;
+                for (var meta in testMetadata) {
+                    hasMetadata |= testMetadata.hasOwnProperty(meta);
+                }
+                if (hasMetadata) {
+                    message = 'Single tests should not have metadata. ' +
+                              'Move metadata to <head>. ';
+                }
+            }
+        }
+        else {
+            if (this.cachedMetadata) {
+                messageClass = 'error';
+                if ('string' == typeof(this.cachedMetadata)) {
+                    message = this.cachedMetadata;
+                    showSource = true;
+                }
+                else if (! this.validateCache()) {
+                    message = 'Cached metadata out of sync. ';
+                    showSource = true;
+                }
+            }
+        }
+        
+        if (message) {
+            var messageElement = document.createElement('p');
+            messageElement.setAttribute('id', 'metadata_issue');
+            messageElement.setAttribute('class', messageClass);
+            this.appendText(messageElement, message);
+            
+            if (showSource) {
+                var link = document.createElement('a');
+                this.appendText(link, 'Click for source code.');
+                link.setAttribute('href', '#');
+                link.setAttribute('onclick', 
+                                  'metadata_generator.addSourceElement(event)');
+                messageElement.appendChild(link);
+            }
+            
+            var summary = document.getElementById('summary');
+            if (summary) {
+                summary.parentNode.insertBefore(messageElement, summary);
+            }
+            else {
+                var log = document.getElementById('log');
+                if (log) {
+                    log.appendChild(messageElement);
+                }
+            }
+        }
+    },
+
+    setup: function() {
+        add_completion_callback(
+            function (tests, harness_status) { 
+                metadata_generator.process(tests, harness_status)
+            });
+    }
+}
+
+metadata_generator.setup();
+// vim: set expandtab shiftwidth=4 tabstop=4:
diff --git a/common/tct-maxLength-wrt-tests/tct-maxLength-wrt-tests.spec b/common/tct-maxLength-wrt-tests/tct-maxLength-wrt-tests.spec
new file mode 100755 (executable)
index 0000000..984e255
--- /dev/null
@@ -0,0 +1,22 @@
+name=$(basename $(pwd))
+main_version="2.3.1"
+release=""
+version="$main_version"
+appname=$(echo $name|sed 's/-/_/g')
+
+# set value "1" if this suite need to sign,otherwise set "0" #
+sign="0"
+
+# set value "1" if this suite need to keep src_file,otherwise set "0" #
+src_file="1"
+
+# specified files to be kept in whitelist #
+whitelist="
+inst.sh
+tests.xml
+tests.full.xml
+COPYING
+LICENSE.Apache-2.0
+LICENSE.CC-BY-3.0
+NOTICE
+mediasrc"
diff --git a/common/tct-maxLength-wrt-tests/testcase.xsl b/common/tct-maxLength-wrt-tests/testcase.xsl
new file mode 100755 (executable)
index 0000000..8623c28
--- /dev/null
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+       <xsl:output method="html" version="1.0" encoding="UTF-8"
+               indent="yes" />
+       <xsl:template match="/">
+               <html>
+                       <STYLE type="text/css">
+                               @import "tests.css";
+                       </STYLE>
+
+                       <body>
+                               <div id="testcasepage">
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td>
+                                                                       <h1>Test Cases</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="suites">
+                                               <table>
+                                                       <tr>
+                                                               <th>Test Suite</th>
+                                                               <th>Total</th>
+                                                               <th>Auto</th>
+                                                               <th>Manual</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>
+                                                                       Total
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of select="count(test_definition/suite/set//testcase)" />
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition/suite/set//testcase[@execution_type = 'auto'])" />
+                                                               </td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition/suite/set//testcase[@execution_type != 'auto'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <xsl:for-each select="test_definition/suite">
+                                                               <tr>
+                                                                       <td>
+                                                                               <xsl:value-of select="@name" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase)" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set/testcase[@execution_type = 'auto'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set/testcase[@execution_type != 'auto'])" />
+                                                                       </td>
+                                                               </tr>
+                                                       </xsl:for-each>
+                                               </table>
+                                       </div>
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td class="title">
+                                                                       <h1>Detailed Test Cases</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="cases">
+                                               <xsl:for-each select="test_definition/suite">
+                                                       <xsl:sort select="@name" />
+                                                       <p>
+                                                               Test Suite:
+                                                               <xsl:value-of select="@name" />
+                                                       </p>
+                                                       <table>
+                                                               <tr>
+                                                                       <th>Case_ID</th>
+                                                                       <th>Purpose</th>
+                                                                       <th>Type</th>
+                                                                       <th>Component</th>
+                                                                       <th>Execution Type</th>
+                                                                       <th>Description</th>
+                                                                       <th>Specification</th>
+                                                               </tr>
+                                                               <xsl:for-each select=".//set">
+                                                                       <xsl:sort select="@name" />
+                                                                       <tr>
+                                                                               <td colspan="7">
+                                                                                       Test Set:
+                                                                                       <xsl:value-of select="@name" />
+                                                                               </td>
+                                                                       </tr>
+                                                                       <xsl:for-each select=".//testcase">
+                                                                               <xsl:sort select="@id" />
+                                                                               <tr>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@id" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@purpose" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@type" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@component" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@execution_type" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <p>
+                                                                                                       Pre_condition:
+                                                                                                       <xsl:value-of select=".//description/pre_condition" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Post_condition:
+                                                                                                       <xsl:value-of select=".//description/post_condition" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Test Script Entry:
+                                                                                                       <xsl:value-of select=".//description/test_script_entry" />
+                                                                                               </p>
+                                                                                               <p>
+                                                                                                       Steps:
+                                                                                                       <p />
+                                                                                                       <xsl:for-each select=".//description/steps/step">
+                                                                                                               <xsl:sort select="@order" />
+                                                                                                               Step
+                                                                                                               <xsl:value-of select="@order" />
+                                                                                                               :
+                                                                                                               <xsl:value-of select="./step_desc" />
+                                                                                                               ;
+                                                                                                               <p />
+                                                                                                               Expected Result:
+                                                                                                               <xsl:value-of select="./expected" />
+                                                                                                               <p />
+                                                                                                       </xsl:for-each>
+                                                                                               </p>
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:call-template name="br-replace">
+                                                                                                       <xsl:with-param name="word" select=".//spec" />
+                                                                                               </xsl:call-template>
+                                                                                       </td>
+                                                                               </tr>
+                                                                       </xsl:for-each>
+                                                               </xsl:for-each>
+                                                       </table>
+                                               </xsl:for-each>
+                                       </div>
+                               </div>
+                       </body>
+               </html>
+       </xsl:template>
+       <xsl:template name="br-replace">
+               <xsl:param name="word" />
+               <xsl:variable name="cr">
+                       <xsl:text>
+</xsl:text>
+               </xsl:variable>
+               <xsl:choose>
+                       <xsl:when test="contains($word,$cr)">
+                               <xsl:value-of select="substring-before($word,$cr)" />
+                               <br />
+                               <xsl:call-template name="br-replace">
+                                       <xsl:with-param name="word" select="substring-after($word,$cr)" />
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$word" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/common/tct-maxLength-wrt-tests/testresult.xsl b/common/tct-maxLength-wrt-tests/testresult.xsl
new file mode 100755 (executable)
index 0000000..d1ad1b9
--- /dev/null
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+       <xsl:output method="html" version="1.0" encoding="UTF-8"
+               indent="yes" />
+       <xsl:template match="/">
+               <html>
+                       <STYLE type="text/css">
+                               @import "tests.css";
+                       </STYLE>
+
+                       <body>
+                               <div id="testcasepage">
+                                       <div id="title">
+                                               <table>
+                                                       <tr>
+                                                               <td>
+                                                                       <h1>Test Report</h1>
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+                                       <div id="device">
+                                               <table>
+                                                       <tr>
+                                                               <th colspan="2">Device Information</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device Name</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_name" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device Model</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_model" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>OS Version</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@os_version" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Device ID</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@device_id" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Firmware Version</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@firmware_version" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Screen Size</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@screen_size" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Resolution</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@resolution" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Host Info</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/@host" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Others</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/environment/other" />
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+
+                                       <div id="summary">
+                                               <table>
+                                                       <tr>
+                                                               <th colspan="2">Test Summary</th>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Plan Name</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/@test_plan_name" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Tests Total</td>
+                                                               <td>
+                                                                       <xsl:value-of select="count(test_definition//suite/set/testcase)" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Passed</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'PASS'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Failed</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'FAIL'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test N/A</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Test Not Run</td>
+                                                               <td>
+                                                                       <xsl:value-of
+                                                                               select="count(test_definition//suite/set/testcase) - count(test_definition//suite/set/testcase[@result = 'PASS']) - count(test_definition//suite/set/testcase[@result = 'FAIL']) - count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>Start time</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/start_at" />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td>End time</td>
+                                                               <td>
+                                                                       <xsl:value-of select="test_definition/summary/end_at" />
+                                                               </td>
+                                                       </tr>
+                                               </table>
+                                       </div>
+
+
+                                       <div id="suite_summary">
+                                               <div id="title">
+                                                       <table>
+                                                               <tr>
+                                                                       <td class="title">
+                                                                               <h1>Test Summary by Suite</h1>
+                                                                       </td>
+                                                               </tr>
+                                                       </table>
+                                               </div>
+                                               <table>
+                                                       <tr>
+                                                               <th>Suite</th>
+                                                               <th>Passed</th>
+                                                               <th>Failed</th>
+                                                               <th>N/A</th>
+                                                               <th>Not Run</th>
+                                                               <th>Total</th>
+                                                       </tr>
+                                                       <xsl:for-each select="test_definition/suite">
+                                                               <xsl:sort select="@name" />
+                                                               <tr>
+                                                                       <td>
+                                                                               <xsl:value-of select="@name" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'PASS'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'FAIL'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase[@result = 'BLOCK'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of
+                                                                                       select="count(set//testcase) - count(set//testcase[@result = 'PASS']) - count(set//testcase[@result = 'FAIL']) - count(set//testcase[@result = 'BLOCK'])" />
+                                                                       </td>
+                                                                       <td>
+                                                                               <xsl:value-of select="count(set//testcase)" />
+                                                                       </td>
+                                                               </tr>
+                                                       </xsl:for-each>
+                                               </table>
+                                       </div>
+
+                                       <div id="cases">
+                                               <div id="title">
+                                                       <table>
+                                                               <tr>
+                                                                       <td class="title">
+                                                                               <h1 align="center">Detailed Test Results</h1>
+                                                                       </td>
+                                                               </tr>
+                                                       </table>
+                                               </div>
+                                               <xsl:for-each select="test_definition/suite">
+                                                       <xsl:sort select="@name" />
+                                                       <p>
+                                                               Test Suite:
+                                                               <xsl:value-of select="@name" />
+                                                       </p>
+                                                       <table>
+                                                               <tr>
+                                                                       <th>Case_ID</th>
+                                                                       <th>Purpose</th>
+                                                                       <th>Result</th>
+                                                                       <th>Stdout</th>
+                                                               </tr>
+                                                               <xsl:for-each select=".//set">
+                                                                       <xsl:sort select="@name" />
+                                                                       <tr>
+                                                                               <td colspan="4">
+                                                                                       Test Set:
+                                                                                       <xsl:value-of select="@name" />
+                                                                               </td>
+                                                                       </tr>
+                                                                       <xsl:for-each select=".//testcase">
+                                                                               <xsl:sort select="@id" />
+                                                                               <tr>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@id" />
+                                                                                       </td>
+                                                                                       <td>
+                                                                                               <xsl:value-of select="@purpose" />
+                                                                                       </td>
+
+                                                                                       <xsl:choose>
+                                                                                               <xsl:when test="@result">
+                                                                                                       <xsl:if test="@result = 'FAIL'">
+                                                                                                               <td class="red_rate">
+                                                                                                                       <xsl:value-of select="@result" />
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                                       <xsl:if test="@result = 'PASS'">
+                                                                                                               <td class="green_rate">
+                                                                                                                       <xsl:value-of select="@result" />
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                                       <xsl:if test="@result = 'BLOCK' ">
+                                                                                                               <td>
+                                                                                                                       BLOCK
+                                                                                                               </td>
+                                                                                                       </xsl:if>
+                                                                                               </xsl:when>
+                                                                                               <xsl:otherwise>
+                                                                                                       <td>
+
+                                                                                                       </td>
+                                                                                               </xsl:otherwise>
+                                                                                       </xsl:choose>
+                                                                                       <td>
+                                                                                               <xsl:value-of select=".//result_info/stdout" />
+                                                                                               <xsl:if test=".//result_info/stdout = ''">
+                                                                                                       N/A
+                                                                                               </xsl:if>
+                                                                                       </td>
+                                                                               </tr>
+                                                                       </xsl:for-each>
+                                                               </xsl:for-each>
+                                                       </table>
+                                               </xsl:for-each>
+                                       </div>
+                               </div>
+                       </body>
+               </html>
+       </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/common/tct-maxLength-wrt-tests/tests.css b/common/tct-maxLength-wrt-tests/tests.css
new file mode 100755 (executable)
index 0000000..30c3670
--- /dev/null
@@ -0,0 +1,103 @@
+@charset "UTF-8";
+/* CSS Document */
+#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
+       {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       font-weight: inherit;
+       font-style: inherit;
+       font-size: 0.96em;
+       font-family: arial;
+       vertical-align: baseline;
+}
+
+#testcasepage p {
+       text-align: left;
+}
+
+#testcasepage table {
+       border-collapse: separate;
+       border-spacing: 0;
+       margin-bottom: 1.4em;
+       vertical-align: middle;
+}
+
+#testcasepage th,#testcasepage td {
+       text-align: left;
+       font-weight: normal;
+       padding: 4px 10px 4px 5px;
+       vertical-align: middle;
+}
+
+#cases table {
+       width: 101%;
+}
+
+#title table {
+       width: 101%;
+}
+
+#device table {
+       width: 50%;
+}
+
+#summary table {
+       width: 50%;
+}
+
+#testcasepage th {
+       border-bottom: 1px solid #000;
+       background-color: #AAAAAA;
+       border-left: 1px solid #000;
+       border-top: 1px solid #000;
+       color: #000;
+       font-weight: bold;
+       vertical-align: bottom;
+}
+
+#testcasepage th:last-child, #testcasepage td:last-child {
+       border-right: 1px solid #000;
+}
+
+#testcasepage td {
+       border-left: 1px solid;
+       font-weight: normal;
+       border-bottom: 1px solid;
+}
+
+#testcasepage td.yellow_rate {
+       background-color: #ffcc00;
+}
+
+#testcasepage td.green_rate {
+       background-color: #33cc33;
+}
+
+#testcasepage td.dgreen_rate {
+       background-color: #339933;
+}
+
+#testcasepage td.red_rate {
+       background-color: #FF3333;
+}
+
+#title table, #title tr, #title td {
+       border-left: none;
+       border-bottom: none;
+       text-align: center;
+}
+
+#title td:last-child {
+       border-right: none;
+}
+
+#testcasepage h1 {
+       font-size: 2em;
+       font-family: Arial, sans-serif; font-weight : bold;
+       line-height: 1;
+       color: #000;
+       margin-bottom: 0.75em;
+       padding-top: 0.25em;
+       font-weight: bold;
+}
\ No newline at end of file
diff --git a/common/tct-maxLength-wrt-tests/tests.full.xml b/common/tct-maxLength-wrt-tests/tests.full.xml
new file mode 100755 (executable)
index 0000000..9329ac7
--- /dev/null
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite name="tct-maxLength-wrt-tests" launcher="WRTLauncher -iu" category="Web Runtime">
+    <set name="WGT_AuthorHREF_L2048">
+      <testcase purpose="Verify WRT support for Author element href attribute with max length of 2048 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_AuthorHREF_L2048">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_ContentEncoding_L2048">
+      <testcase purpose="Verify WRT support for Content encoding attribute with max length of 2048 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_ContentEncoding_L2048">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_ContentEncoding_LG2048">
+      <testcase purpose="Verify WRT should strip for Content encoding attribute greater than max length of 2048 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_ContentEncoding_LG2048">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_Email_L2048">
+      <testcase purpose="Verify WRT support for  Author   element email attribute with max length of 2048 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_Email_L2048">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_PreferenceName_L80">
+      <testcase purpose="Verify WRT support for Preference element name attribute with max length of 80 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_PreferenceName_L80">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_PreferenceName_LG80">
+      <testcase purpose="Verify WRT support for stripping Preference element name attribute value if greater than max length of 80 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_PreferenceName_LG80">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase> 
+    </set>
+    <set name="WGT_PreferenceValue_L8192">
+      <testcase purpose="Verify WRT support for Preference element value attribute with max length of 8192 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_PreferenceValue_L8192">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_PreferenceValue_LG8192">
+      <testcase purpose="Verify WRT support for stripping Preference element value attribute if greater than max length of 8192 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_PreferenceValue_LG8192">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_ShortName_L2048">
+      <testcase purpose="Verify WRT support for Name element Short attribute with max length of 2048 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_ShortName_L2048">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_MetaKey_L80_Public">
+      <testcase purpose="Verify WRT support for tizen:metadata element key attribute with max length of 80 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_MetaKey_L80_Public">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_MetaKey_LG80_Public">
+      <testcase purpose="Verify WRT should strip to 80 chracters for tizen:metadata element key attribute greater than max length of 80 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_MetaKey_LG80_Public">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_MetaValue_L8192_Public">
+      <testcase purpose="Verify WRT support for tizen:metadata element value attribute with max length of  8192 characters." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_MetaValue_L8192_Public">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="WGT_MetaValue_LG8192_Public">
+      <testcase purpose="Verify WRT should strip to 8192 for tizen:metadata element value attribute greater than max length of  8192 characters.." type="compliance" status="approved" component="WebAPI/Widget/Tizen Configuration Extensions" execution_type="auto" priority="P3" id="WGT_MetaValue_LG8192_Public">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="Widget" specification="Tizen Configuration Extensions" section="Widget" category="Web Runtime"/>
+            <spec_url>TBD</spec_url>
+            <spec_statement/>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+ </suite>
+</test_definition>
diff --git a/common/tct-maxLength-wrt-tests/tests.xml b/common/tct-maxLength-wrt-tests/tests.xml
new file mode 100755 (executable)
index 0000000..b2b5f7a
--- /dev/null
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite launcher="WRTLauncher -iu" name="tct-maxLength-wrt-tests" category="Web Runtime">
+    <set launcher="WRTLauncher -iuz" name="WGT_Email_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_Email_L2048" purpose="Test that WRT support for author element email attribute with max length of 2048 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_ShortName_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_ShortName_L2048" purpose="Test that WRT support for Name element Short attribute with max length of 2048 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_ShortName_LG2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_ShortName_LG2048" purpose="Test that WRT support for Name element Short attribute stripping to 2048 extension when the length is greater than max length of 2048 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_AuthorHREF_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_AuthorHREF_L2048" purpose="Test that WRT support for Author element href attribute with max length of 2048 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_ContentEncoding_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_ContentEncoding_L2048" purpose="Test that WRT support for Content encoding attribute with max length of 2048 character.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_ContentEncoding_LG2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_ContentEncoding_LG2048" purpose="Test that WRT should strip for Content encoding attribute greater than max length of 2048 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceName_L80">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_PreferenceName_L80" purpose="Test that WRT support for Preference element name attribute with max length of 80 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceName_LG80">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_PreferenceName_LG80" purpose="Test that WRT support for stripping Preference element name attribute value if greater than max length of 80 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceValue_L8192">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_PreferenceValue_L8192" purpose="Test that WRT support for Preference element value attribute with max length of 8192 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceValue_LG8192">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_PreferenceValue_LG8192" purpose="Test that WRT support for stripping Preference element value attribute if  greater than max length of 8192 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_MetaKey_L80_Public">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_MetaKey_L80_Public" purpose="Test that support for metadata element key attribute with max length of 80 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_MetaKey_LG80_Public">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_MetaKey_LG80_Public" purpose="Test that WRT should strip to 80 chracters for metadata element key attribute greater than max length of 80 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_MetaValue_L8192_Public">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_MetaValue_L8192_Public" purpose="Test that WRT support for metadata element value attribute with max length of  8192 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set launcher="WRTLauncher -iuz" name="WGT_MetaValue_LG8192_Public">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="maxLength_WGT_MetaValue_LG8192_Public" purpose="Test that WRT should strip to 8192 for metadata element value attribute greater than max length of  8192 characters.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+  </suite>
+</test_definition>
diff --git a/common/tct-maxLength-wrt-tests/webrunner/Makefile.am b/common/tct-maxLength-wrt-tests/webrunner/Makefile.am
new file mode 100755 (executable)
index 0000000..35781c6
--- /dev/null
@@ -0,0 +1,3 @@
+webrunner_SCRIPTS = *
+webrunnerdir = $(prefix)/opt/tct-maxLength-wrt-tests/webrunner
+EXTRA_DIST = $(webrunner_SCRIPTS)
diff --git a/common/tct-maxLength-wrt-tests/webrunner/index.html b/common/tct-maxLength-wrt-tests/webrunner/index.html
new file mode 100755 (executable)
index 0000000..ae4787e
--- /dev/null
@@ -0,0 +1,141 @@
+<!doctype html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Wang, Jing <jing.j.wang@intel.com>
+
+-->
+
+<head>
+<meta name="viewport" content="width=device-width">
+<script src="jquery-1.10.2.min.js"></script>
+<style type="text/css">
+html {
+       font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
+}
+
+body {
+       background-color: white;
+}
+
+table#browse {
+       border-collapse:collapse;
+       table-layout:fixed;width:80%;
+}
+
+table#browse th:first-child,table#browse td:first-child {width:40%;}
+
+table#browse th:last-child,table#browse td:last-child {width:30%;}
+
+table#browse th {
+       padding:0;
+       padding-bottom:0.5em;
+       text-align:left;
+       border-bottom:medium solid black;
+}
+table#browse td {
+       padding:1em;
+       padding-bottom:0.5em;
+       border-bottom:thin solid black;
+}
+div#navbar{
+       box-sizing: border-box;
+       width: 99%;
+       border: 0px;
+       text-align: left;
+       background: slateblue;
+       color: white;
+}
+div#footbar{
+       width: 99%;
+       border: 0px;
+       text-align: left;
+}
+textarea#testinfo{
+       width: 99%;
+       font-size: 0.8em;
+}
+input{
+       font-size: 1.2em;
+       padding-top: 0.1em;
+       padding-bottom: 0.1em;
+}
+
+#btnPrev,#btnNext{
+       width: 8%;
+}
+#btnDone,#btnRun,#btnList,#btnPass,#btnFail,#btnBlock{
+       width: 12%;
+       font-weight: bold;
+}
+
+#btnPass { color: green;}
+#btnFail { color: red;}
+#btnBlock { color: orange;}
+#labBatch{
+       font-size: 0.5em;
+}
+#textTest {
+       width: 60%;
+}
+
+#frmTest {
+       border: none;
+}
+.singlemode { display: none;}
+.short{
+       padding-left: 1em;
+}
+</style>
+</head>
+
+<body>
+<div id="navbar" class="batchmode">
+       <span class="short singlemode"><input type="button" id="btnList" value="List"/></span>
+       <span class="singlemode short">
+               <input type="button" id="btnPrev" value="<"/>
+               <input type="text"  id="textTest" readonly />
+               <input type="button" id="btnNext" value=">"/> 
+       </span>
+       <span class="short listmode"> <input type="button" id="btnDone" value="Done"/></span>
+</div>
+<div id="divSum"> </div>
+<div width="99%" class="singlemode">
+       <textarea class="batchmode" id="testinfo" rows=4 disabled>
+       </textarea>
+</div>
+<div id="footbar" class="batchmode">
+       <span class="short"><input type="button"  id="btnRun" value="Run"/></span>
+       <span class="short singlemode"><input type="button" id="btnPass" value="PASS"/></span>
+       <span class="short singlemode"><input type="button" id="btnFail" value="FAIL"/></span>
+       <span class="short singlemode"><input type="button" id="btnBlock" value="BLOCK"/></span>
+</div>
+<iframe width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
+</iframe>
+<script src="testrunner.js"> </script>
+</body>
+</html>
diff --git a/common/tct-maxLength-wrt-tests/webrunner/jquery-1.10.2.min.js b/common/tct-maxLength-wrt-tests/webrunner/jquery-1.10.2.min.js
new file mode 100755 (executable)
index 0000000..da41706
--- /dev/null
@@ -0,0 +1,6 @@
+/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
+//@ sourceMappingURL=jquery-1.10.2.min.map
+*/
+(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t
+}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
+u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
diff --git a/common/tct-maxLength-wrt-tests/webrunner/testrunner.js b/common/tct-maxLength-wrt-tests/webrunner/testrunner.js
new file mode 100755 (executable)
index 0000000..ef68fc1
--- /dev/null
@@ -0,0 +1,760 @@
+/*
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Wang, Jing <jing.j.wang@intel.com>
+
+*/
+(function (window){
+       function TestRunner() {
+               this.start = null;
+               this.ui = null;
+               this.submitResult = null;
+               this.report = function (result, message) {};
+               this.doTest = function () {};
+       }
+
+       TestRunner.prototype = (function () {
+               var index = -1;
+               var Tests = [];
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
+               return { 
+                       constructor: TestRunner,
+                       options:  parms,
+                       getTestContext: function (field) {
+                               return testContext[field];
+                       },
+
+                       goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
+                               index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
+                       },
+
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
+                       },
+
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
+                               index = ind;
+                       },
+
+                       getTest: function (ind) {
+                               if (typeof ind === "undefined")
+                                       ind = index;
+                               return Tests[ind];
+                       },
+
+                       addTest: function (test) {
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
+                       },
+
+                       sumInit: function (num) {
+                               if (typeof num === "undefined")
+                                       num = Tests.length;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
+                       },
+                       
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
+                                       sum[oldRes]--;
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
+                                       sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
+                       },
+
+                       checkResult: function (oTestDoc) {
+                               var message = "";
+                               // Handle sub-index test
+                               if (testContext.sub_index > 0) {
+                                       var oRes = $(oTestDoc).find("table#results");
+                                       if (oRes.length == 0)
+                                               return false;
+                                       var ind = testContext.sub_index - 1;
+                                       var $n = $(oRes).find('tbody > tr').eq(ind);
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
+                                       return true;
+                               }
+
+                               var oPass = $(oTestDoc).find(".pass");
+                               var oFail = $(oTestDoc).find(".fail");
+                               // All tests pass
+                               if (oPass.length > 0 && oFail.length == 0) {
+                                       this.report('PASS', message);
+                                       return true;
+                               }
+                               // Handle failed tests
+                               if (oFail.length > 0) {
+                                       var oRes = $(oTestDoc).find("table#results");
+                                       $(oRes).find('tr.fail').each(function() {
+                                               message += " *" + $(this).children("td:eq(1)").text() + ": ";
+                                               message += $(this).children("td:eq(2)").text();
+                                       });
+                                       this.report('FAIL', message);
+                                       return true;
+                               }
+                               return false;
+                       },
+
+                       testInfo: function (ind) {
+                               var info = "";
+                               var tc = this.getTest();
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
+                               if (tc.pre_condition)
+                                       info += "\nPrecondition: " + tc.pre_condition;
+                               if (tc.steps)
+                                       info += "\n" + tc.steps;
+                               return info;
+                       },
+
+                       getTestCaseUrl: function () {
+                               function getUriField(uri, param) {
+                                       var querys = uri.split("?")
+                                       if (querys.length <= 1)
+                                               return "";
+                                       uri = querys[1];
+                                       var start = uri.indexOf(param);
+                                       if (start == -1)
+                                               return "";
+                                       start += param.length + 1;
+                                       var end = uri.indexOf("&", start);
+                                       if (end == -1)
+                                               return uri.substring(start);
+                                       return uri.substring(start, end);
+                               }
+                               var tc = this.getTest();
+                               if (!tc) return null;
+                               var delay = tc.onload_delay;
+                               if (delay)
+                                       testContext.onload_delay = parseInt(delay) * 1000;
+                               else
+                                       testContext.onload_delay = 5000;
+
+                               var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
+                               var val = getUriField(uri, "value");
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
+                                       testContext.sub_index = parseInt(val);
+                                       testContext.uri = uri.split("?")[0];
+                                       if (testContext.uri == testContext.prev_uri)
+                                               return "";
+                               } else {
+                                       testContext.uri = uri;
+                                       testContext.sub_index = 0;
+                               }
+                               testContext.prev_uri = testContext.uri;
+                               testContext.start_time = new Date();
+                               return testContext.uri;
+                       },
+
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
+                                       return;
+                               if (!this.ui.testComplete()){
+                                       if (testContext.onload_delay > 0){
+                                               var tval = 500;
+                                               var self = this;
+                                               setTimeout(function() {self.loadReady();}, tval);
+                                               testContext.onload_delay -= tval;
+                                               return
+                                       }
+                                       this.report("BLOCK", "Timeout");
+                               }
+                               this.doTest();
+                       },
+
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
+                       },
+
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
+                       },
+
+                       TestCase: function () {
+                               return {
+                                       id: null,
+                                       test_script_entry: null,
+                                       execution_type: "manual",
+                                       result: "NOTRUN",
+                                       purpose: "",
+                                       set: null,
+                                       pre_condition: "",
+                                       onload_delay: 0,
+                                       steps: "",
+                                       data: null};
+                       }
+               };
+          }());
+       // Standalone test runner
+       var master_runner = new TestRunner();
+       master_runner.start = function (ui) {
+               function filter(xml, self) {
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
+               }
+
+               var self = this;
+               ui.bind(self);
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
+       };
+
+       master_runner.doTest = function () {
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
+                       return;
+               }
+               this.ui.updateTest();   
+       };
+
+       master_runner.report = function (result, log) {
+               var tc = this.getTest();
+               if (!tc) return;
+               var oldresult = tc.result;
+               this.sumUpdate(oldresult, result, tc.set);
+               tc.result = result;
+               $(tc.data).find('result_info').remove();
+               $(tc.data).attr('result', result);
+               var doc = $.parseXML("<result_info><actual_result>" + result +
+                                  "</actual_result><start>" + this.getTestContext("start_time") +
+                                  "</start><end>" + new Date() + "</end><stdout>" +
+                                  escape_html(log) + "</stdout></result_info>");
+               $(tc.data).append(doc.documentElement);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
+       };
+
+       master_runner.submitResult = function () {
+               var xmldoc = this.internal.xmldoc;
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
+       };
+
+       master_runner.internal = {xmldoc: null};
+
+       // Controlled test runner
+       var slave_runner = new TestRunner();
+       slave_runner.start = function (ui) {
+               function sync_session_id() {
+                       $.get(SERVER + "/init_session_id?session_id="
+                                         + self.internal.session_id);
+               }
+               var self = this;
+               self.internal.session_id = Math.round(Math.random() * 10000);
+               sync_session_id();
+               var next_step = self.internal.get_json("ask_next_step");
+               if (!next_step || next_step.step != "continue")
+                        return false;
+               ui.bind(self);
+               var f = function () {
+                       var p = self.internal.get_json("check_execution_progress");
+                       if (p) self.sumInit(parseInt(p.total));
+                       self.doTest();
+               };
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
+               return true;
+       };
+
+       slave_runner.doTest = function () {
+               var self = this;
+               if (self.internal.stage > 0) {
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
+                       return;
+               }
+               var next_step = self.internal.get_json("ask_next_step");
+               if (next_step && next_step.step == "continue") {
+                       var task = self.internal.get_json("auto_test_task");
+                       if (task === null) {
+                               print_error("ask_test_task", "Fail get task");
+                       } else if (task.invalid === 0) {
+                               print_error("ask_test_task", "Invalid session");
+                       } else if (task.stop === 0) {
+                               print_error("ask_test_task", "close window");
+                       } else if (task.none !== 0) { //handle auto test
+                               var test = self.TestCase();
+                               test.id = task.case_id;
+                               test.onload_delay = task.onload_delay;
+                               test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
+                               test.purpose = task.purpose;
+                               test.pre_condition = task.pre_condition;
+                               self.addTest(test);
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
+                               return;
+                       } else {  //handle manual test
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.internal.stage = 1;
+                               var mtask = self.internal.get_json("manual_cases");
+                               if (mtask && mtask.none != 0) {
+                                       self.cleanTests();
+                                       for (var i = 0, max = mtask.length; i < max; i++) {
+                                               var test = self.TestCase();
+                                               test.id = mtask[i].case_id;
+                                               test.test_script_entry = mtask[i].entry;
+                                               test.purpose = mtask[i].purpose;
+                                               test.pre_condition = mtask[i].pre_condition;
+                                               test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
+                                               var steps = "";
+                                               $(mtask[i].steps).each(function () {
+                                                       steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
+                                                       steps += "Expect\t: " + this.expected + "\n";
+                                               });
+                                               test.steps = steps;
+                                               self.addTest(test);
+                                       }
+                                       self.ui.updateTest(-1);
+                                       self.sumInit();
+                                       self.ui.browse();
+                               } else
+                                       close_window();
+                               return;
+                       }
+               }
+               close_window();
+       };
+
+       slave_runner.report = function(result, log) {
+               var tc = this.getTest();
+               var oldresult;
+               if (this.internal.stage > 0) {
+                       this.internal.post_json("commit_manual_result",
+                               {"case_id": tc.id, "result": result});
+                       oldresult = tc.result
+                       tc.result = result;
+               } else {
+                       this.internal.post_json("commit_result",
+                               { "case_id" : tc.id,
+                                 "result" : result,
+                                 "msg" : "[Message]" + log,
+                                 "session_id" : this.internal.session_id});
+                       oldresult = "NOTRUN";
+               }
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
+       };
+
+       slave_runner.submitResult = function () {
+               $.get(SERVER + "/generate_xml");
+       };
+
+       slave_runner.internal = {
+               session_id: null,
+               stage: 0,
+               get_json: function (name) {
+                       var jsondata = null;
+                       $.getJSON(SERVER + "/" + name + "?session_id="
+                                + this.session_id, function(data) {
+                                        jsondata = data;});
+                       return jsondata; },
+               post_json: function (name, d) {
+                  $.post(SERVER + "/" + name, d, null, "json");
+               }
+       };
+
+       var i_ui = (function () {
+               var testinfo = $("#testinfo").get(0);
+               var frmTest = $("#frmTest").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
+               var btnDone = $("#btnDone").get(0);
+               var btnNext = $("#btnNext").get(0);
+               var btnPrev = $("#btnPrev").get(0);
+               var btnRun      = $("#btnRun").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
+               var runner = null;
+               var listmode = null;
+               var nextTest = function () {
+                       runner.goNext();
+                       selectTest();
+               };
+
+               var prevTest = function() {
+                       runner.goPrev();
+                       selectTest();
+               };
+
+               var selectResult = function() {
+                       runner.report(this.value, "");
+               };
+
+               var selectTest = function () {
+                       frmTest.src = "";
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
+               };
+
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
+
+               return {
+                       bind: function (r) {
+                               var self = this;
+                               r.ui = self;
+                               runner = r;
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
+                               $(btnNext).on("click", nextTest);
+                               $(btnPrev).on("click", prevTest);
+                               $(btnRun).on("click",  function () {
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
+                               });
+                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(btnDone).on("click", function () {
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
+                               });
+                               frmTest.height = $(window).height();
+                       },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
+
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
+                               } else {
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
+                               }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
+                       },
+
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
+                       },
+                       runTest: function (uri) {
+                               if (uri === null) return;
+                               if (uri)
+                                       frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
+                       },
+
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
+                       },
+          };
+       } ());
+
+       function escape_html(s) {
+               return s.replace(/\&/g, "&amp;").replace(/</g, "&lt;").replace(/"/g,
+                       "&quot;").replace(/'/g, "&#39;");
+       }
+
+       function print_error(command, message) {
+               console.warn("Command -" + command + ": " + message);
+       }
+
+       function close_window() {
+               setTimeout("window.open('','_self','');window.close()", 1000);
+       }
+
+       function pre_init() {
+               var runner_ok = false;
+               $.get(SERVER + "/check_server", function () {
+                       runner_ok = slave_runner.start(i_ui);
+               });
+               if (!runner_ok)
+                       master_runner.start(i_ui);
+       }
+       var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
+       $.ajaxSetup({ async: false});
+       $(window).on("ready", pre_init);
+})(window);
index 91bb88f7823806f9aef405bfc0a36b77579aebaf..8a670e1c09c9225fe20ee72615bffdfeed9b5ae7 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-pm-wrt-tests], [2.3b], [gangx.feng@intel.com])
+AC_INIT([tct-pm-wrt-tests], [2.3.1], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 5e61d82b8ca608b8698d62924bdb091f0775d12d..cca9d2c68421278060b442c63556fd422c2b8279 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/security-messaging-write-disable" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>web-api-version</name>
index 1975a625b21bc8674b80d9d02bb4999f32e7e834..89d26f1e9e0451f06a3ea2d43f4baf4a327cb144 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version3" version="3.1.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version3" version="2.3.1" viewmodes="maximized">
   <tizen:application id="wrt1wvt010.widgetversion3" package="wrt1wvt010" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version3</name>
-</widget>
\ No newline at end of file
+</widget>
index d542e27c8a216de54352068edb18a6ea5107e88c..c1cb5db7cddd85a34740a6fcc0aa9b6bfe2dccfb 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-rt01-wrt-tests], [2.3b], [yunfenx.hao@intel.com])
+AC_INIT([tct-rt01-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index c95751fb18b028b07d423b3816a368fddabeb0c2..7e8db296f5d4176045ecbdcd8fbcabceb31166f6 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/dom-events-audio-onerror" version="1.0" viewmodes="fullscreen">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>dom-events-audio-onerror</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index a3b525ddfcd276a55c13e23a74725568ca604351..b5dee83b0df230fe396c0621e85ecbbeedf4b6cb 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/dom-events-video-onerror" version="1.0" viewmodes="fullscreen">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>dom-events-video-onerror</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 8c51d63c9fe439035eb5da921727cd5b1a670bd2..1477c3085499868075b53ab768e6359ad22ad877 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/lifecycle-hide-running-app" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" >
   <content src="index.html"/>
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>lifecycle-hide-running-app</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 55719c9f536f37ab5c30b39db021a69ef245f3de..f3a12044bdd53a5c3a65121ec119b9fa4b0e2436 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/lifecycle-load-event" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" >
   <content src="index.html"/>
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>lifecycle-load-event</name>
   <tizen:application id="wrt3lle017.LifecycleLoadEvent" package="wrt3lle017" required_version="2.3"/>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index e1740fff0eb7891dc513c101d2be2f37c13a2f08..8c1edc65c4a8f56f5ec92ddd38ace893be26cade 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-get-false" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-get-false</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 2f0704725ea40a01be19481f99284adcc4e663b6..a6b6f9258360953dc609f3712d3baaeb57c9955b 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-get" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-get</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index a433f15956244d622306b4711c22c593f1b3cca7..9cff100314b0dbbe7860e19051472a8b2a9fbe6c 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-head-false" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-head-false</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index b717599f41ce1a0ae4e4db4a8f3e7f138b2d6344..99a30c95edb17fece883740bbcbf51aabe20d5d6 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-head" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-head</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 671e4abe2c7ae4d20dd67b2118c05dea6bc03db3..7a4508884a6feabda9e58f38f6fc38b891274774 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-invalid" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-invalid</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 81878eea650542b732db6033f22efeba707297a9..54a63de43e0125950cc0f5e075e14fdaa4fef564 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-null" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-null</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 135ae4abd3a88bc7566856b15ed67a7b3f2470ee..468f6961cab51402c080bfb40b47625a5b0577a6 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-post-false" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-post-false</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 90f052d4afc03a3e8e0db1d9c2c5caaa5aa88a35..a2889354716d85028b2c10483e90e842b7fef9dd 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/other-uri-XMLHttpRequest-post" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>other-uri-XMLHttpRequest-post</name>
index 7955e82fac70c0fa7600f44b04744c2b3a763825..0c557bc24a0bb089b5b3edefb66119194edfd554 100755 (executable)
@@ -1,7 +1,9 @@
 /*
 Copyright (c) 2013 Intel Corporation.
+
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
+
 * Redistributions of works must retain the original copyright notice, this list
   of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the original copyright notice,
@@ -10,6 +12,7 @@ are permitted provided that the following conditions are met:
 * Neither the name of Intel Corporation nor the names of its contributors
   may be used to endorse or promote products derived from this work without
   specific prior written permission.
+
 THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -20,56 +23,127 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 Authors:
         Wang, Jing <jing.j.wang@intel.com>
-*/
 
+*/
+$(function(){
+    try {
+        // Checks if a device supports bluetooth API or not
+        var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+        console.log("Shape = " + shape);
+        //alert(" Shape = " + shape);
+    } catch (error) {
+        // alert("Error name: " + error.name + ", message: " + error.message);
+        console.log("Error name: " + error.name + ", message: " + error.message);
+    }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
-               this.submitResult = null;
                this.ui = null;
+               this.submitResult = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
-               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
-               var autoflag = false;
                var Tests = [];
-               var sum = {"TOTAL": 0,
-                         "PASS" : 0,
-                         "FAIL" : 0,
-                         "BLOCK" : 0,
-                         "NOTRUN" : 0
-               };
-               var testContext =  {
-                       start_time: null,
-                       prev_uri: "",
-                       uri: "",
-                       sub_index: 0,
-                       onload_delay: 0
-               };
+               var Sets =  {};
+               function newSummary() {
+                       return {"TOTAL": 0,
+                               "PASS" : 0,
+                               "FAIL" : 0,
+                               "BLOCK" : 0,
+                               "NOTRUN" : 0};
+               }
+               function newTestContext() {
+                       return {start_time: null,
+                               prev_uri: "",
+                               uri: "",
+                               sub_index: 0,
+                               onload_delay: 0
+                       };
+               }
+               function getParms () {
+                       var parms = {};
+                       var items = location.search.substring(1).split('&');
+                       for ( var i = 0, max = items.length; i < max; i++) {
+                               var pos = items[i].indexOf('=');
+                               if (pos > 0) {
+                                       var key = items[i].substring(0, pos);
+                                       var val = items[i].substring(pos + 1);
+                                       if (!parms[key]) {
+                                               var rawVal = decodeURI(val);
+                                               if (rawVal.indexOf(',') < 0)
+                                                       parms[key] = rawVal;
+                                               else
+                                                       parms[key] = rawVal.split(',');
+                                       }
+                               } else
+                                  parms[items[i]] = 1;
+                       }
+                       if (!parms.testsuite)
+                               parms.testsuite = 'tests.xml';
+                       return parms;
+               }
+               var parms = getParms();
+               var sum = newSummary();
+               var testContext =  newTestContext();
                return { 
                        constructor: TestRunner,
+                       options:  parms,
                        getTestContext: function (field) {
                                return testContext[field];
                        },
 
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
                        goNext: function () {
+                               if (Tests.length === 0) return false;
+                               if (index >= Tests.length) {
+                                       index = -1;
+                                       return false;
+                               }
                                index++;
+                               return true;
+                       },
+       
+                       goPrev: function () {
+                               if (Tests.length === 0) return false;
+                               if (index < 0) {
+                                       index = Tests.length;
+                                       return false;
+                               }
+                               index--;
+                               return true;
                        },
 
-                       getTestIndex: function () {
-                               return index;
+                       runAll: function () {
+                               testContext = newTestContext();
+                               this.ui.updateView(VIEWFLAGS.add("batch"));
+                               this.ui.updateView(VIEWFLAGS.del("list"));
+                               this.testIndex(-1);     
+                               this.doTest();
+                       },
+       
+                       cleanTests: function () {
+                               Tests = [];
                        },
 
-                       setTestIndex: function (ind) {
+                       testIndex: function (ind) {
+                               if (typeof ind === "undefined")
+                                       return index;
                                index = ind;
                        },
 
@@ -80,32 +154,32 @@ Authors:
                        },
 
                        addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
+                               if (test instanceof Array)
+                                       Tests = Tests.concat(test);
+                               else
+                                       Tests.push(test);
                        },
 
                        sumInit: function (num) {
                                if (typeof num === "undefined")
                                        num = Tests.length;
-                               sum["TOTAL"] = sum["NOTRUN"] = num;
-                               sum["PASS"] = sum["FAIL"] = sum["BLOCK"] = 0;
+                               sum.TOTAL = sum.NOTRUN = num;
+                               sum.PASS = sum.FAIL = sum.BLOCK = 0;
                        },
                        
-                       sumUpdate: function (oldRes, newRes) {
-                               if (oldRes !== null)
+                       sumUpdate: function (oldRes, newRes, set) {
+                               if (oldRes !== null) {
                                        sum[oldRes]--;
-                               if (newRes !== null)
+                                       if (set !== null) Sets[set][oldRes]--;
+                               }
+                               if (newRes !== null) {
                                        sum[newRes]++;
+                                       if (set != null) Sets[set][newRes]++;
+                               }
                        },
 
-                       checkResult: function () {
+                       checkResult: function (oTestDoc) {
                                var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -113,13 +187,11 @@ Authors:
                                                return false;
                                        var ind = testContext.sub_index - 1;
                                        var $n = $(oRes).find('tbody > tr').eq(ind);
-                                       if ($n.length > 0) {
-                                               var result = $n.children("td:eq(0)").text();
-                                               message = $n.children("td:eq(2)").text();
-                                               if (result)
-                                                       this.report(result.toUpperCase(), message);
-                                       } else
-                                               this.report('FAIL', 'Not found test');
+                                       if ($n.length == 0)
+                                               return false
+                                       var result = $n.children("td:eq(0)").text();
+                                       message = $n.children("td:eq(2)").text();
+                                       this.report(result.toUpperCase(), message);
                                        return true;
                                }
 
@@ -143,13 +215,13 @@ Authors:
                                return false;
                        },
 
-                       testinfo: function () {
+                       testInfo: function (ind) {
                                var info = "";
-                               for (var n in sum)
-                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               info += "\n\nTest\t: " + tc.test_script_entry;
-                               info += "\nPurpose\t: " +  tc.purpose;
+                               if (!tc) return info;
+                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
+                               info += tc.test_script_entry;
+                               info += "\nPurpose: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -157,18 +229,12 @@ Authors:
                                return info;
                        },
 
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
+                       getTestCaseUrl: function () {
                                function getUriField(uri, param) {
                                        var querys = uri.split("?")
                                        if (querys.length <= 1)
                                                return "";
+                                       uri = querys[1];
                                        var start = uri.indexOf(param);
                                        if (start == -1)
                                                return "";
@@ -179,6 +245,7 @@ Authors:
                                        return uri.substring(start, end);
                                }
                                var tc = this.getTest();
+                               if (!tc) return null;
                                var delay = tc.onload_delay;
                                if (delay)
                                        testContext.onload_delay = parseInt(delay) * 1000;
@@ -186,14 +253,17 @@ Authors:
                                        testContext.onload_delay = 5000;
 
                                var uri = tc.test_script_entry;
+                               if (typeof this.options.testprefix !== "undefined") {
+                                       var pos = uri.indexOf('http://');
+                                       if (pos !== 0)
+                                               uri = this.options.testprefix + uri
+                               }
                                var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
+                               if (val && tc.execution_type == "auto" && VIEWFLAGS.has("batch")) { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
+                                       if (testContext.uri == testContext.prev_uri)
                                                return "";
-                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -203,14 +273,14 @@ Authors:
                                return testContext.uri;
                        },
 
-                       load_ready: function () {
-                               if (!autoflag)
+                       loadReady: function () {
+                               if (!VIEWFLAGS.has("batch"))
                                        return;
-                               if (!this.checkResult()){
+                               if (!this.ui.testComplete()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
+                                               setTimeout(function() {self.loadReady();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -219,25 +289,78 @@ Authors:
                                this.doTest();
                        },
 
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
+                       getTestSum: function (include_set) {
+                               var sumdata = "<section><h3>Total:" + sum.TOTAL
+                                               + " Pass:<span style='color:green;'>" + sum.PASS
+                                               + "</span> Fail:<span style='color:red;'>" + sum.FAIL
+                                               + "</span> Block:<span style='color:orange;'>" + sum.BLOCK
+                                               + "</span> NotRun:<span style='color:black;'>" + sum.NOTRUN
+                                               + "</span></h3></section>";
+                               if (VIEWFLAGS.has("batch")) {
+                                       var tc = this.getTest();
+                                       if (tc) sumdata += "<h4><span style='background-color: wheat'>(#" + index + ") " + tc.id + "</span></h4>";
+                               }
+
+                               if (include_set) {
+                                       sumdata += "<p><table id='browse'><tr><th>TestSet</th>";
+                                       sumdata += "<th>Total</th><th>Pass</th><th>Fail</th><th>Block</th></tr>";
+                                       $.each(Sets, function (key, val){
+                                               sumdata += "<tr><td>" + key+ "</td>";
+                                               sumdata += "<td style='color:black;'>" + val.TOTAL + "</td>";
+                                               sumdata += "<td style='color:green;'>" + val.PASS + "</td>";
+                                               sumdata += "<td style='color:red;'>" + val.FAIL + "</td>";
+                                               sumdata += "<td style='color:orange;'>" + val.BLOCK + "</td></tr>";
+                                       });
+                                       sumdata += "</table>";
+                               }
+                               return sumdata;
                        },
 
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
+                       getBrowseInfo: function () {
+                               var failList = passList = blockList = notrunList = "";
+                               function createTestList(tc, color, ind) {
+                                       var mtag = (tc.execution_type === "manual") ? "(M)" : ""; 
+                                       return "<li>" + mtag + "<a rel='" + ind + "' href='' style ='color:" + color + ";'>" + tc.id + "</a>" + "</li>";
+                               }
+                               Sets = {};
+                               $.each(Tests, function (ind ,val) {
+                                       if (this.set === null)
+                                               this.set = "default";
+                                       if (typeof Sets[this.set] === "undefined")
+                                               Sets[this.set] = newSummary(); 
+                                       Sets[this.set][this.result]++;
+                                       Sets[this.set]["TOTAL"]++;
+                                       if (this.result == "FAIL")
+                                               failList += createTestList(this, "red", ind);
+                                       if (this.result == "PASS")
+                                               passList += createTestList(this, "green", ind);
+                                       if (this.result == "BLOCK")
+                                               blockList += createTestList(this, "orange", ind);
+                                       if (this.result == "NOTRUN")
+                                               notrunList += createTestList(this, "black", ind);
+                               });
+                               var data = "<html><head><style>ul li {padding-bottom:0.8em;font-size: 1.3em;}";
+                               data += "html{font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;}</style></head><body>";
+                               if (notrunList)
+                                       data += "<section><h3>Notruns</h3><ul>" + notrunList + "</ul></section>";
+                               if (failList)
+                                       data += "<section><h3 style='color: red;'>Fails</h3><ul>" + failList + "</ul></section>";
+                               if (blockList)
+                                       data += "<section><h3 style='color: orange;'>Blocks</h3><ul>" + blockList + "</ul></section>";
+                               if (passList)
+                                       data += "<section><h3 style='color: green'>Passes</h3><ul>" + passList + "</ul></section>";
+                               data += "</body></html>";
+                               return data;
                        },
 
-                       TestCase: function() {
+                       TestCase: function () {
                                return {
                                        id: null,
                                        test_script_entry: null,
                                        execution_type: "manual",
                                        result: "NOTRUN",
                                        purpose: "",
+                                       set: null,
                                        pre_condition: "",
                                        onload_delay: 0,
                                        steps: "",
@@ -249,89 +372,89 @@ Authors:
        var master_runner = new TestRunner();
        master_runner.start = function (ui) {
                function filter(xml, self) {
-                       $(xml).find("testcase").each(function() {
-                               var v = $(this).attr('execution_type');
-                               if (parms.execution_type && v != parms.execution_type
-                                               && $.inArray(v, parms.execution_type) < 0) {
-                                       $(this).remove();
-                                       return;
-                               }
-                               v = $(this).attr('priority');
-                               if (parms.priority && v != parms.priority
-                                               && $.inArray(v, parms.priority) < 0){
-                                       $(this).remove();
-                                       return;
-                               }
-                               var test = self.TestCase();
-                               test.id = $(this).attr("id");
-                               test.execution_type = $(this).attr("execution_type");
-                               test.test_script_entry = $(this).find("test_script_entry").text();
-                               test.purpose = $(this).attr("purpose");
-                               test.pre_condition = $(this).find("pre_condition").text();
-                               test.onload_delay = $(this).attr("onload_delay");
-                               test.result = "NOTRUN";
-                               test.data = this;
-                               self.addTest(test);
-                       });
-               }
-
-               function getParms() {
-                       var parms = {};
-                       var items = location.search.substring(1).split('&');
-                       for ( var i = 0, max = items.length; i < max; i++) {
-                               var pos = items[i].indexOf('=');
-                               if (pos > 0) {
-                                       var key = items[i].substring(0, pos);
-                                       var val = items[i].substring(pos + 1);
-                                       if (!parms[key]) {
-                                               var rawVal = decodeURI(val);
-                                               if (rawVal.indexOf(',') < 0)
-                                                       parms[key] = rawVal;
-                                               else
-                                                       parms[key] = rawVal.split(',');
+                       var set_ind = 0;
+                       var manuals = [];
+                       $(xml).find("set").each(function () {
+                               var setname = $(this).attr("name");
+                               if (!setname)
+                                       setname = "set" + set_ind;
+                               $(this).find("testcase").each(function () {
+                                       var v = $(this).attr('execution_type');
+                                       if (self.options.execution_type && v != self.options.execution_type
+                                                       && $.inArray(v, self.options.execution_type) < 0) {
+                                               $(this).remove();
+                                               return;
                                        }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
+                                       v = $(this).attr('priority');
+                                       if (self.options.priority && v != self.options.priority
+                                                       && $.inArray(v, self.options.priority) < 0){
+                                               $(this).remove();
+                                               return;
+                                       }
+                                       var test = self.TestCase();
+                                       test.id = $(this).attr("id");
+                                       test.execution_type = $(this).attr("execution_type");
+                                       test.test_script_entry = $(this).find("test_script_entry").text();
+                                       test.purpose = $(this).attr("purpose");
+                                       test.pre_condition = $(this).find("pre_condition").text();
+                                       test.onload_delay = $(this).attr("onload_delay");
+                                       test.result = "NOTRUN";
+                                       test.set = setname;
+                                       test.data = this;
+                                       if (test.execution_type === "auto")
+                                               self.addTest(test);
+                                       else
+                                               manuals.push(test);
+                               });
+                               set_ind++;
+                       });
+                       self.addTest(manuals);
                }
 
                var self = this;
                ui.bind(self);
-               var parms = getParms();
-               $.get(parms.testsuite, null, function (xml) {
-                               self.internal.xmldoc = xml;
-                               filter(xml, self);
-                               self.sumInit();
-                               self.ui.updateList();
-                               if (parms.hasOwnProperty("autorun"))
-                                       self.autoTest();
-                       }, "xml");
+               $.get(self.options.testsuite, null, function (xml) {
+                       self.internal.xmldoc = xml;
+                       filter(xml, self);
+                       self.sumInit();
+                       setTimeout(function () {
+                               self.ui.browse();
+                               setTimeout(function () {
+                                       if (self.options.autorun)
+                                               self.runAll();
+                               }, 2000);
+                       }, 100);
+               }, "xml");
        };
 
        master_runner.doTest = function () {
-               var self = this, tc;
-               self.goNext();
-               while ((tc = self.getTest())) {
-                       if (tc.execution_type != 'auto') {
-                               self.goNext();
-                               continue;
-                       }
-                       self.ui.updateTestInfo(self.testinfo());
-                       self.ui.runTest(self.getTestCase());
+               var self = this, tc = null;
+               while (self.goNext()) {
+                       tc = self.getTest();
+                       if (!tc || tc.execution_type === "manual")
+                               break;
+                       self.ui.updateTestInfo(self.testInfo(), null, null);
+                       self.ui.runTest(self.getTestCaseUrl());
+                       return;
+               }
+               if (self.options.autorun) {
+                       self.submitResult();
+                       close_window();
+                       return;
+               }
+               this.ui.updateView(VIEWFLAGS.del("batch"));
+               if (!tc) {
+                       setTimeout(function () {self.ui.browse();}, 500);
                        return;
                }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
+               this.ui.updateTest();   
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
+               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
+               this.sumUpdate(oldresult, result, tc.set);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -340,56 +463,14 @@ Authors:
                                   "</start><end>" + new Date() + "</end><stdout>" +
                                   escape_html(log) + "</stdout></result_info>");
                $(tc.data).append(doc.documentElement);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var data = "<title>Test Result</title><head>";
-               data += "<link rel='stylesheet' type='text/css' href='report.css'>";
-               data += "</head><body><section id='summary'><h2>Summary</h2>";
-               var failList = $(xmldoc).find("testcase[result='FAIL']");
-               var blockList = $(xmldoc).find("testcase[result='BLOCK']");
-               var ipassList = $(xmldoc).find("testcase[result='PASS']");
-               var ifail, iblock;
-               data += "<h3>Total:" + this.getTestLength()
-                               + " Pass:<span style='color:green;'>" + ipassList.length
-                               + "</span> Fail:<span style='color:red;'>" + failList.length
-                               + "</span> Block:<span style='color:orange;'>" + blockList.length
-                               + "</span></h3></section>";
-
-               data += "<p><table id='results'><tr><th>TestSet</th>";
-               data += "<th>Pass</th><th>Fail</th><th>Block</th></tr>";
-               $(xmldoc).find("set").each(function (){
-                       ipass = $(this).find("testcase[result='PASS']").length;
-                       ifail = $(this).find("testcase[result='FAIL']").length;
-                       iblock = $(this).find("testcase[result='BLOCK']").length;
-                       data += "<tr><td>" + $(this).attr('name') + "</td>";
-                       data += "<td style='color:green;'>" + ipass + "</td>";
-                       data += "<td style='color:red;'>" + ifail + "</td>";
-                       data += "<td style='color:orange;'>" + iblock + "</td></tr>";
-               });
-               data += "</table>";
-
-               function appendList(list, title, color) {
-                       data += "<section><h2>" + title + "</h2>";
-                       $(list).each(function() {
-                               var url = $(this).find("test_script_entry").text();
-                               data += "<ul><li><a href='" + url + "' style ='color:" + color + ";'>" + url + "</a></li></ul>";
-                       });
-                       data += "</section>";
-               }
-
-               if (failList.length > 0)
-                       appendList(failList, "Fails", "red");
-
-               if (blockList.length > 0)
-                       appendList(blockList, "Blocks", "orange");
-
-               var tdoc = this.ui.getTestfrmDoc();
-               tdoc.open("text/html", "replace");
-               tdoc.writeln(data);
+               var contents = (new XMLSerializer()).serializeToString(xmldoc);
+               if (window.opener) window.opener.postMessage(contents, "*");
        };
 
        master_runner.internal = {xmldoc: null};
@@ -408,22 +489,23 @@ Authors:
                if (!next_step || next_step.step != "continue")
                         return false;
                ui.bind(self);
-               self.ui.updateTestInfo("Connecting server...");
                var f = function () {
                        var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
+                       if (p) self.sumInit(parseInt(p.total));
                        self.doTest();
                };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
+               self.ui.updateView(VIEWFLAGS.add("batch"));
+               self.ui.updateView(VIEWFLAGS.del("list"));
+               setTimeout(f, 1000);
                return true;
        };
 
        slave_runner.doTest = function () {
                var self = this;
                if (self.internal.stage > 0) {
-                       self.setAutomode(false);
+                       self.ui.updateView(VIEWFLAGS.del("batch"));
+                       self.goNext();
+                       self.ui.updateTest();
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -431,27 +513,28 @@ Authors:
                        var task = self.internal.get_json("auto_test_task");
                        if (task === null) {
                                print_error("ask_test_task", "Fail get task");
-                       } else if (task.invalid == 0) {
+                       } else if (task.invalid === 0) {
                                print_error("ask_test_task", "Invalid session");
-                       } else if (task.stop == 0) {
+                       } else if (task.stop === 0) {
                                print_error("ask_test_task", "close window");
-                       } else if (task.none != 0) { //handle auto test
+                       } else if (task.none !== 0) { //handle auto test
                                var test = self.TestCase();
                                test.id = task.case_id;
                                test.onload_delay = task.onload_delay;
                                test.test_script_entry = task.entry;
+                               test.execution_type = "auto";
                                test.purpose = task.purpose;
                                test.pre_condition = task.pre_condition;
-                               self.cleanTests();
                                self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
+                               self.goNext();
+                               self.ui.updateTestInfo(self.testInfo(), null, null);
+                               self.ui.runTest(self.getTestCaseUrl());
                                return;
                        } else {  //handle manual test
-                               self.setAutomode(false);
+                               self.ui.updateView(VIEWFLAGS.del("batch"));
                                self.internal.stage = 1;
                                var mtask = self.internal.get_json("manual_cases");
-                               if (mtask && mtask.none !=0) {
+                               if (mtask && mtask.none != 0) {
                                        self.cleanTests();
                                        for (var i = 0, max = mtask.length; i < max; i++) {
                                                var test = self.TestCase();
@@ -460,6 +543,8 @@ Authors:
                                                test.purpose = mtask[i].purpose;
                                                test.pre_condition = mtask[i].pre_condition;
                                                test.result = "NOTRUN";
+                                               test.execution_type = "manual";
+                                               test.index = i;
                                                var steps = "";
                                                $(mtask[i].steps).each(function () {
                                                        steps += "Step-" + this.order + "\t: " + this.step_desc + "\n";
@@ -468,8 +553,9 @@ Authors:
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateList();
+                                       self.ui.updateTest(-1);
                                        self.sumInit();
+                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -486,7 +572,6 @@ Authors:
                                {"case_id": tc.id, "result": result});
                        oldresult = tc.result
                        tc.result = result;
-                       this.ui.updateResult(result);
                } else {
                        this.internal.post_json("commit_result",
                                { "case_id" : tc.id,
@@ -495,13 +580,13 @@ Authors:
                                  "session_id" : this.internal.session_id});
                        oldresult = "NOTRUN";
                }
-               this.sumUpdate(oldresult, result);
-               this.ui.updateTestInfo(this.testinfo());
+               this.sumUpdate(oldresult, result, null);
+               if (VIEWFLAGS.has("batch")) result = null;
+               this.ui.updateTestInfo(null, this.getTestSum(false), result);
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
-               close_window();
        };
 
        slave_runner.internal = {
@@ -521,32 +606,26 @@ Authors:
        var i_ui = (function () {
                var testinfo = $("#testinfo").get(0);
                var frmTest = $("#frmTest").get(0);
-               var selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").get(0);
+               var textTest  = $("#textTest").get(0);
+               var btnPass = $("#btnPass").get(0);
+               var btnFail = $("#btnFail").get(0);
+               var btnBlock = $("#btnBlock").get(0);
                var btnDone = $("#btnDone").get(0);
                var btnNext = $("#btnNext").get(0);
                var btnPrev = $("#btnPrev").get(0);
                var btnRun      = $("#btnRun").get(0);
-               var divNav      = $("#navbar").get(0);
-               var divFoot = $("#footbar").get(0);
-               var chkBatch = $("#chkBatch").get(0);
-               var chkManualonly = $("#chkManualonly").get(0);
+               var divSum = $("#divSum").get(0);
+               var btnList = $("#btnList").get(0);
                var runner = null;
+               var listmode = null;
                var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
+                       runner.goNext();
+                       selectTest();
                };
 
                var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
+                       runner.goPrev();
+                       selectTest();
                };
 
                var selectResult = function() {
@@ -554,106 +633,118 @@ Authors:
                };
 
                var selectTest = function () {
-                       var opt = this.options[this.selectedIndex];
-                       runner.setTestIndex(parseInt(opt.value));
-                       var result = runner.getTest().result;
-                       if (result == "PASS"){
-                               radPass.checked = true;
-                       } else if (result == "FAIL"){
-                               radFail.checked = true;
-                       } else {
-                               radPass.checked = false;
-                               radFail.checked = false;
-                       }
                        frmTest.src = "";
-                       testinfo.value = runner.testinfo();
+                       var tc = runner.getTest();
+                       if (!tc) {
+                               if (runner.testIndex() === -1)
+                                       textTest.value = "---Begin---";
+                               else
+                                       textTest.value = "---End---";
+                               changeColor("NOTRUN");
+                               return;
+                       }
+                       testinfo.value = runner.testInfo();
+                       $(divSum).html(runner.getTestSum(false));
+                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
+                       changeColor(tc.result);
                };
 
-               var changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
+               function changeColor(result) {
+                       if (result === "PASS")
+                               $(textTest).css("backgroundColor", "lightgreen");
+                       else if (result === "FAIL")
+                               $(textTest).css("backgroundColor", "tomato");
+                       else if (result === "BLOCK")
+                               $(textTest).css("backgroundColor", "yellow");
+                       else
+                               $(textTest).css("backgroundColor", "white");
+               }
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).on("click", selectResult);
+                               $(btnPass).on("click", selectResult);
+                               $(btnFail).on("click", selectResult);
+                               $(btnBlock).on("click", selectResult);
                                $(btnNext).on("click", nextTest);
                                $(btnPrev).on("click", prevTest);
                                $(btnRun).on("click",  function () {
-                                       if (chkBatch.checked && !chkManualonly.checked)
-                                               runner.autoTest();
-                                       else {
-                                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                                               runner.setTestIndex(parseInt(opt.value));
-                                               self.runTest(runner.getTestCase());
-                                       }
+                                       if (VIEWFLAGS.has("list")) {
+                                               runner.runAll();
+                                       } else 
+                                               self.runTest(runner.getTestCaseUrl());
                                });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
+                               $(frmTest).on("load",  function () {runner.loadReady();});
                                $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
+                                       runner.submitResult();
+                                       close_window();
+                               });
+                               $(btnList).on("click", function () {
+                                       frmTest.src = "";
+                                       //self.updateTest(-1);
+                                       setTimeout(function () {self.browse();}, 300);
                                });
                                frmTest.height = $(window).height();
                        },
+               
+                       browse: function () {
+                               var tdoc = frmTest.contentWindow.document;
+                               tdoc.open("text/html", "replace");
+                               tdoc.writeln(runner.getBrowseInfo());
+                               var self = this;
+                               $(tdoc).find("section ul li>a").on("click", function (e) {
+                                       var ind = parseInt($(this).attr("rel"));
+                                       self.updateView(VIEWFLAGS.del("list")); 
+                                       self.updateTest(ind);
+                                       window.scrollTo(0, 0);
+                                       e.preventDefault();
+                               });
+                               $(divSum).html(runner.getTestSum(true));
+                               self.updateView(VIEWFLAGS.add("list")); 
+                       },
+       
+                       updateTest: function (ind) {
+                               if (typeof ind !== "undefined") runner.testIndex(ind);
+                               selectTest();
+                       },
 
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
+                       updateView: function (flags) {
+                               if (flags & VIEWFLAGS.flags.list) {
+                                       $(".listmode").show();
+                                       $(".singlemode").hide();
                                } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
+                                       $(".listmode").hide();
+                                       $(".singlemode").show();
                                }
+                               if (flags & VIEWFLAGS.flags.batch)
+                                       $(".batchmode").hide();
+                               else
+                                       $(".batchmode").show();
                        },
 
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
+                       testComplete: function () {
+                               return runner.checkResult(frmTest.contentWindow.document);
                        },
-                  
                        runTest: function (uri) {
+                               if (uri === null) return;
                                if (uri)
                                        frmTest.src = uri;
+                               else
+                                       runner.loadReady();
+                               
                        },
 
-                       updateList: function (){
-                               var item;
-                               selTestlist.options.length = 0;
-                               for(var i = 0, max = runner.getTestLength(); i < max; i++){
-                                       var tc = runner.getTest(i);
-                                       if (chkManualonly.checked && tc.execution_type=="auto")
-                                               continue;
-                                       if (tc.id.length > 32) {
-                                               var prefix = tc.id.substring(0, 9);
-                                               var postfix = tc.id.substring(15);
-                                               item = new Option(prefix + " ... " + postfix, i);
-                                       } else
-                                               item = new Option(tc.id, i);
-                                       selTestlist.options.add(item);
-                                       changeOptColor(tc.result, item);
-                               }
-                               $(selTestlist).on("change",  selectTest);
-                               selectTest.call(selTestlist);
-                       },
-
-                       updateResult: function (result) {
-                               var opt = selTestlist.options[selTestlist.selectedIndex];
-                               changeOptColor(result, opt);
+                       updateTestInfo: function (info, sum, result) {
+                               if (info !== null)
+                                       testinfo.value = info;
+                               if (sum !== null)
+                                       $(divSum).html(sum);
+                               if (result !== null)
+                                       changeColor(result);
                        },
-
-                       updateTestInfo: function (info) {
-                          testinfo.value = info;
-                       }
           };
        } ());
 
@@ -679,6 +770,12 @@ Authors:
                        master_runner.start(i_ui);
        }
        var SERVER = "http://127.0.0.1:8000";
+       var VIEWFLAGS = { val: 0,
+               flags: {list: 1, batch: 2},
+               add: function (f) { this.val |= this.flags[f]; return this.val},
+               del: function (f) { this.val &= ~this.flags[f]; return this.val},
+               has: function (f) { return this.val & this.flags[f];},
+       };
        $.ajaxSetup({ async: false});
        $(window).on("ready", pre_init);
 })(window);
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 486c5bf82606bf6cc5c1b1f7cbdc5be0eb22b61e..1c7441146b89b139ad007a960f8ef581805b15ca 100755 (executable)
@@ -77,9 +77,9 @@ Steps:
           [1]. Download mp3 file to local machine such as "c:/".
           [2]. Rename the downloaded file as "test.mp3"
           [3]. Push the mp3 file to device with the command "sdb push c:/test.mp3 /opt/media/Videos/"
-          [4]. Rename the downloaded file as "Kalimba.mp3"
+          [4]. Rename the downloaded file as "Test.mp3"
                Push the mp3 file to device:
-                 Terminal: sdb push Kalimba.mp3 "path"
+                 Terminal: sdb push Test.mp3 "path"
                  path:
                   1."opt/usr/apps/wrt3uri090/res/wgt/".
        3) video
index 0a0efabbdb7d1b4b8b01996217e10978711aae08..ee81e4fa13d268c0801b154a8f62633821520962 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-rt02-wrt-tests], [2.3b], [yunfenx.hao@intel.com])
+AC_INIT([tct-rt02-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index ee047cdb6659d32cb554879e25e37601b00f3eed..9d5d3033086c2c7b8811e666da54eb44d906eeda 100755 (executable)
@@ -87,7 +87,7 @@ function func_launch()
     APP_NAME=${p_name%.*}
     WIDGETNAME=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
     wrt-launcher -s $WIDGETNAME
-    sleep 10
+    sleep 60
     App_Status=`wrt-launcher -r $WIDGETNAME | grep -w "not running"`
     if [ -z $App_Status ];then
       echo "The widget is launched successfully"
@@ -110,7 +110,7 @@ function func_launch_other()
     APP_NAME=${p_name%.*}
     APP_WIDGETNAME=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
     wrt-launcher -s $APP_WIDGETNAME
-    sleep 3
+    sleep 60
     if [ "$APP_NAME" = "lifecycle-launch-installed-app" ];then
         WIDGETNAME = "wrt3lhr012.LifecycleHideRunningApp"
         App_Status=`wrt-launcher -r $WIDGETNAME | grep -w "not running"`
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index f484f266504ac13b28908a9074154a7034688293..4071b558ae6708329b475dc32dbb5a2586f358da 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-sp01-wrt-tests], [2.3b], [gangx.feng@intel.com])
+AC_INIT([tct-sp01-wrt-tests], [2.3.1], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 78c777c2794f4928a1dc1103cac3a1091854c7fa..7b197d56e816eeba7da261151542e55e1cd637cc 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/protection-decrypt-css" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>protection-decrypt-css</name>
index d121016cb9c0aa2508d343d17e05b34dbabd858e..3dc9ef882fbddb16c4c356b6e80e316fae10c5fb 100755 (executable)
@@ -28,7 +28,27 @@ Authors:
         Wang, Jing <jing.j.wang@intel.com>
 
 */
-
+$(function(){
+ try {
+     // Checks if a device supports bluetooth API or not
+     var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+    console.log("Shape = " + shape);
+     //alert(" Shape = " + shape);
+ } catch (error) {
+    // alert("Error name: " + error.name + ", message: " + error.message);
+    console.log("Error name: " + error.name + ", message: " + error.message);
+ }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
index a740e4932df886cbf7ffa26cbc447688f087effe..c84a08701c5e9e7420de96e72e7a71841e4fb13a 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/protection-decrypt-html" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>protection-decrypt-html</name>
index d121016cb9c0aa2508d343d17e05b34dbabd858e..3dc9ef882fbddb16c4c356b6e80e316fae10c5fb 100755 (executable)
@@ -28,7 +28,27 @@ Authors:
         Wang, Jing <jing.j.wang@intel.com>
 
 */
-
+$(function(){
+ try {
+     // Checks if a device supports bluetooth API or not
+     var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+    console.log("Shape = " + shape);
+     //alert(" Shape = " + shape);
+ } catch (error) {
+    // alert("Error name: " + error.name + ", message: " + error.message);
+    console.log("Error name: " + error.name + ", message: " + error.message);
+ }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
index efda75a83d150cc177f36e26be6bb29b0ef3773f..91ea095d28b685437ce2fd42c65a120cc284ca48 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/protection-decrypt-js" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>protection-decrypt-js</name>
index d121016cb9c0aa2508d343d17e05b34dbabd858e..3dc9ef882fbddb16c4c356b6e80e316fae10c5fb 100755 (executable)
@@ -28,7 +28,27 @@ Authors:
         Wang, Jing <jing.j.wang@intel.com>
 
 */
-
+$(function(){
+ try {
+     // Checks if a device supports bluetooth API or not
+     var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+    console.log("Shape = " + shape);
+     //alert(" Shape = " + shape);
+ } catch (error) {
+    // alert("Error name: " + error.name + ", message: " + error.message);
+    console.log("Error name: " + error.name + ", message: " + error.message);
+ }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
index bfb62a1d363f4993bf47043ec8f38601f80ead6b..b157e89a0c7f1c395b0face0a55fa5ec2dc97618 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/storage-cookies-check" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>storage-cookies-check</name>
index d121016cb9c0aa2508d343d17e05b34dbabd858e..3dc9ef882fbddb16c4c356b6e80e316fae10c5fb 100755 (executable)
@@ -28,7 +28,27 @@ Authors:
         Wang, Jing <jing.j.wang@intel.com>
 
 */
-
+$(function(){
+ try {
+     // Checks if a device supports bluetooth API or not
+     var shape = tizen.systeminfo.getCapability("http://tizen.org/feature/screen.shape.circle");
+    console.log("Shape = " + shape);
+     //alert(" Shape = " + shape);
+ } catch (error) {
+    // alert("Error name: " + error.name + ", message: " + error.message);
+    console.log("Error name: " + error.name + ", message: " + error.message);
+ }
+
+    if(shape==true){
+       $('body').css('max-width', '100%');
+       $('body').css('max-height', '100%');
+       $('body').css('background-color', 'white');
+       $('body').css('margin-top', '20%');
+       $('body').css('margin-bottom', '20%');
+       $('body').css('margin-left', '20%');
+       $('body').css('margin-right', '20%');
+       }
+});
 (function (window){
        function TestRunner() {
                this.start = null;
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index d2d503b1126d06f30beffd6192f130a012e3e840..3bc4154640dfd3e0b79a6a46d295a75c5348d072 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-sp02-wrt-tests], [2.3b], [gangx.feng@intel.com])
+AC_INIT([tct-sp02-wrt-tests], [2.3.1], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index f7d26f6d532f2d212bd80f4aac92f694f96b3536..f3b728ccc869f47ede18a679192ca8aa0750214f 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/private_localstorage_check" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>private_localstorage_check</name>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 52edb535af5d3514d1144a3ce4fbe39f0151365a..67265c75b410bab06f293ae7431059ec72aa572e 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-stab-wrt-tests], [2.3b], [yugang.fan@intel.com])
+AC_INIT([tct-stab-wrt-tests], [2.3.1], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 6002e94840d8f70e348fa66b088995caa41bccd8..f787a50baaaf5f24ca0fc3e72d3039deb82de331 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/setting-bs-enable" xmlns='http://www.w3.org/ns/widgets' xmlns:tizen='http://tizen.org/ns/widgets'>
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>setting-bs-enable</name>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 672b59dbe0be8151b0a8bc548a84756ebbcab758..22e359d57c774db4806b97f9ddd586c5dbb021d4 100755 (executable)
@@ -1,4 +1,5 @@
 SUITE="tct-ext01-wrt-tests
+tct-privilege-wrt-tests
 tct-ui01-wrt-tests"
 
 #parse params
index c710fb832ba8b42d56698fafa7323698b867b626..34752895d1509ce123ab8335f5c43ae84b18ee44 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/application-privilege" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>application-privilege</name>
   <tizen:application id="wrt5scr031.ApplicationPrivilege" package="wrt5scr031" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
   <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
 </widget>
index fc9e28ae30ea8026b12d0f44cb3dddf105cdccc2..e22ad92427a56b8dacaf80b5060b49be65a3dafb 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-ext01-wrt-tests], [2.3b], [yugang.fan@intel.com])
+AC_INIT([tct-ext01-wrt-tests], [2.3.1], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index d0e12e31812605283e9cb332d1bbef06609250a3..bcf30d6b876228b1d98fc01fbc85f5db6d3a8160 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/metadata-support" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>metadata-support</name>
diff --git a/mobile/tct-ext01-wrt-tests/setting-install-location-auto/author-signature.xml b/mobile/tct-ext01-wrt-tests/setting-install-location-auto/author-signature.xml
new file mode 100755 (executable)
index 0000000..da32ca8
--- /dev/null
@@ -0,0 +1,90 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9kyXiAmMmY/tMQDctBPSx5jzOGEgCk/mU3VAXWANZqw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tV1mi1XaW3rILiMs0XjEV5wmFOygeFa5MIPSKeGEgY4=</DigestValue>
+</Reference>
+<Reference URI="jquery-1.10.2.min.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharness.css">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dihjcDakvbIP3sZWS+b4XQbvecMqj6kmDo1SSQJx+b0=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharness.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cNdjUJ9Sx7RcWRxoknxGiOWY+GOjYYrsv6T7F1a4qgQ=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharnessreport.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KDGW7TZA+p2Uo634MsHLPr81AhQZrP6GO6lgG9wCkKE=</DigestValue>
+</Reference>
+<Reference URI="test_index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvYY8EfnK9kc5al3e6PQCySxMbb0UOEDSw6vOB63N00=</DigestValue>
+</Reference>
+<Reference URI="testrunner.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E7S+xC73ZqXPUmymv6Wzcycrd1FisKfEUmDhHcodSC0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+VIqGNVSrIkfKnImIq8qMas40KuGVSNll+r20HkBgM1Nzdv4fb9ogVNukBe+9PJ/DhL2S6H8tztQ2
+UWABRvafZdsdz1O3bU9q870RPuahB55/+Myjq5FZYts8S5PB4q4EnvVwNWBJqmhKADRVvaeVVTVG
+p+ye5T9KI9VxRaFdmQg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUu04dv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w0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
index 50575d26b9627a10371e06ffa370218b10287fb6..e73a6d198159f8d4641338cbb990bac482725374 100755 (executable)
@@ -1,9 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
-  <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.3"/>
-  <content src="index.html"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <name>setting-install-location-auto</name>
-  <tizen:setting install-location="auto"/>
+<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="http://tizen.org/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
+    <access origin="*"></access>
+    <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.3"/>
+    <content src="index.html"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>setting-install-location-auto</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/internet"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+    <tizen:setting install-location="auto"/>
 </widget>
diff --git a/mobile/tct-ext01-wrt-tests/setting-install-location-auto/signature1.xml b/mobile/tct-ext01-wrt-tests/setting-install-location-auto/signature1.xml
new file mode 100755 (executable)
index 0000000..6911844
--- /dev/null
@@ -0,0 +1,92 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>An553OB3lZBz34nhLETijQ690s4zyhqjPgCLyidta0k=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9kyXiAmMmY/tMQDctBPSx5jzOGEgCk/mU3VAXWANZqw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tV1mi1XaW3rILiMs0XjEV5wmFOygeFa5MIPSKeGEgY4=</DigestValue>
+</Reference>
+<Reference URI="jquery-1.10.2.min.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharness.css">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dihjcDakvbIP3sZWS+b4XQbvecMqj6kmDo1SSQJx+b0=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharness.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cNdjUJ9Sx7RcWRxoknxGiOWY+GOjYYrsv6T7F1a4qgQ=</DigestValue>
+</Reference>
+<Reference URI="resources%2Ftestharnessreport.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KDGW7TZA+p2Uo634MsHLPr81AhQZrP6GO6lgG9wCkKE=</DigestValue>
+</Reference>
+<Reference URI="test_index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvYY8EfnK9kc5al3e6PQCySxMbb0UOEDSw6vOB63N00=</DigestValue>
+</Reference>
+<Reference URI="testrunner.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E7S+xC73ZqXPUmymv6Wzcycrd1FisKfEUmDhHcodSC0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TADFUDlKGS6teo96WHLB0D05Gff41hizOGGzSyXUJK/ze6VuRPMSJeYEUyptqQ20zSGU+k6zLt4k
+Giwbjrt/h09fULNJpiM8ePcwmToWcs/cDdTo29vD2UDr/czYc8Qc3EEtjcFrIELiXU2mvotw32yp
+d/nOLS0G/L3FGgNyydY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCI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+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
index bf710122115f2c8aaa4045c6b5edec97c022f811..d6cdcb0b3f21c0f09a4bec968484771df91d9c04 100755 (executable)
@@ -44,11 +44,27 @@ Authors:
     <div id="log"></div>
     <img id="img1" src="icon.png" height="1" width="1"/>
     <script language="javascript" type="text/javascript">
-        test(function() {
-            var img_path = document.getElementById("img1");
-            var excepted = "file:///opt/usr/apps/wrt2sil051/res/wgt/icon.png";
+     //   test(function() {
+         //   var img_path = document.getElementById("img1");
+  /*        var excepted = "file:///opt/usr/apps/wrt2sil051/res/wgt/icon.png";
             assert_equals(img_path.src, excepted);
+        }, "Check that when set install-location to 'auto', the install location is system defined install location.");*/
+       test(function() {
+            var exceptedPath = "file:///opt/usr/apps/wrt2sil051/res/wgt/icon.png";
+           function successCB(file){
+                assert_equals("icon.png", file.name);
+            }
+
+            function errorCB(e){
+                assert_unreached("Error callback invoked : "+e.name + e.message);
+            }  
+
+            try {        
+               tizen.filesystem.resolve(exceptedPath, successCB, errorCB);
+            } catch (e) {
+                assert_unreached("Exception thrown : "+e.name + e.message);
+            }
         }, "Check that when set install-location to 'auto', the install location is system defined install location.");
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
diff --git a/mobile/tct-privilege-wrt-tests/COPYING b/mobile/tct-privilege-wrt-tests/COPYING
new file mode 100755 (executable)
index 0000000..e28b655
--- /dev/null
@@ -0,0 +1,13 @@
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/LICENSE.Apache-2.0 b/mobile/tct-privilege-wrt-tests/LICENSE.Apache-2.0
new file mode 100755 (executable)
index 0000000..d645695
--- /dev/null
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/mobile/tct-privilege-wrt-tests/Makefile.am b/mobile/tct-privilege-wrt-tests/Makefile.am
new file mode 100755 (executable)
index 0000000..93e9eaa
--- /dev/null
@@ -0,0 +1,22 @@
+##
+#Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+#Licensed under the Apache License, Version 2.0 (the License);
+#you may not use this file except in compliance with the License.
+#You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+#
+#
+#Authors:
+#       Ran Wang <ran22.wang@samsung.com>
+#
+SUBDIRS =  scripts
+docdir = $(prefix)/opt/tct-privilege-wrt-tests
+dist_doc_DATA = README *.wgt COPYING tests.xml tests.full.xml
diff --git a/mobile/tct-privilege-wrt-tests/README b/mobile/tct-privilege-wrt-tests/README
new file mode 100755 (executable)
index 0000000..126426e
--- /dev/null
@@ -0,0 +1,64 @@
+----------------------------------------------
+Author
+----------------------------------------------
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Ran Wang <ran22.wang@samsung.com>
+
+----------------------------------------------
+Introduction
+----------------------------------------------
+This test suite is for W3C Widget Interface specification testing:
+
+http://www.w3.org/TR/2011/WD-widgets-apis-20110607/
+
+
+----------------------------------------------
+Test Environment
+----------------------------------------------
+1. Pre-install Testkit-Lite package on Host(ubuntu12.04 and ubuntu12.10).
+   sudo apt-get install python-pip
+   sudo pip install requests
+   sudo dpkg -i testkit-lite-<version>.deb
+2. Push "httpserver" into test machine.
+   sdb root on
+   sdb push httpserver /usr/bin
+   sdb shell chmod +x /usr/bin/httpserver
+3. Run the cases as "normal" user.
+
+
+----------------------------------------------
+Build and Run
+----------------------------------------------
+(Suppose you only got the source code set up on your test machine.
+ If you have obtained tct-privilege-wrt-tests ZIP packages on the test machine, you can directly go to step 3;
+ if you have not installed Testkit-Lite, you need to install the latest version.)
+
+Steps:
+1. Prepare for building by running the following command:
+   cd tct-privilege-wrt-tests
+
+2. Build ZIP package by running the following command:
+   ./pack.sh
+
+3. Unzip the package on the test machine by running the following command:
+   unzip -o tct-privilege-wrt-tests-<version>.zip -d /opt/usr/media/tct
+
+4. Install the package on the test machine by running the following command:
+   /opt/usr/media/tct/opt/tct-privilege-wrt-tests/inst.sh
+
+5. Run test cases by running the following command on host:
+   testkit-lite -f device:/opt/usr/media/tct/opt/tct-privilege-wrt-tests/tests.xml -e "WRTLauncher" -o tct-privilege-wrt-tests.results.xml
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/autogen b/mobile/tct-privilege-wrt-tests/autogen
new file mode 100755 (executable)
index 0000000..d41ae7d
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Authors:
+#               Fan, Yugang <yugang.fan@intel.com>
+#
+
+autoreconf --install
diff --git a/mobile/tct-privilege-wrt-tests/configure.ac b/mobile/tct-privilege-wrt-tests/configure.ac
new file mode 100755 (executable)
index 0000000..db292c8
--- /dev/null
@@ -0,0 +1,11 @@
+AC_INIT([tct-privilege-wrt-tests], [2.3.1], [ran22.wang@samsung.com])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+
+# Checks for programs.
+#AC_PROG_CC
+
+AC_CONFIG_FILES([\
+Makefile \
+scripts/Makefile \
+])
+AC_OUTPUT
diff --git a/mobile/tct-privilege-wrt-tests/inst.sh.wgt b/mobile/tct-privilege-wrt-tests/inst.sh.wgt
new file mode 100755 (executable)
index 0000000..4661715
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/bash
+wgt_installer="pkgcmd"
+NAME=$(basename $(cd $(dirname $0);pwd))
+
+#parse params
+USAGE="Usage: ./inst.sh [-i] [-u]
+  -i install wgt and config environment 
+  -u uninstall wgt and remove source file
+[-i] option was set as default."
+
+function installpkg(){
+    echo "No need to install $NAME.wgt ..."
+}
+
+function uninstallpkg(){
+### remove source file ###
+if [ -d /opt/usr/media/tct/opt/$NAME ];then
+    rm -rf /opt/usr/media/tct/opt/$NAME
+else
+    echo "Remove source file fail,please check if the source file exist: /opt/usr/media/tct/opt/$NAME ..."
+fi
+}
+
+case "$1" in
+    -h|--help) echo "$USAGE"
+               exit ;;
+    ""|-i) installpkg;;
+    -u) uninstallpkg;;
+    *) echo "Unknown option: $1"
+       echo "$USAGE"
+       exit ;;
+esac
diff --git a/mobile/tct-privilege-wrt-tests/pack.sh b/mobile/tct-privilege-wrt-tests/pack.sh
new file mode 100755 (executable)
index 0000000..8b07918
--- /dev/null
@@ -0,0 +1,246 @@
+#!/bin/bash
+source $(dirname $0)/$(basename $(pwd)).spec
+
+#parse params
+usage="Usage: ./pack.sh [-t <package type: wgt | apk | crx | xpk>]
+[-t wgt] option was set as default."
+
+if [[ $1 == "-h" || $1 == "--help" ]]; then
+    echo $usage
+    exit 1
+fi
+
+type="wgt"
+while getopts t: o
+do
+    case "$o" in
+    t) type=$OPTARG;;
+    *) echo $usage
+       exit 1;;
+    esac
+done
+
+if [[ $type == "wgt" || $type == "apk" || $type == "crx" || $type == "xpk" ]];then
+    echo "Create package with $type and raw source"
+else
+    echo "Sorry,$type is not support... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    echo "$usage"
+    exit 1
+fi
+
+if [[ -z $name || -z $version || -z $appname ]];then
+    echo "Package name or version not specified in spec"
+    exit 1
+fi
+
+SRC_ROOT=${PWD}
+BUILD_ROOT=/tmp/${name}_pack
+BUILD_DEST=/tmp/${name}
+
+# clean
+function clean_workspace(){
+echo "cleaning workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+rm -rf $BUILD_ROOT $BUILD_DEST
+}
+
+clean_workspace
+mkdir -p $BUILD_ROOT $BUILD_DEST
+
+# copy source code
+rm -rf *.rpm *.tar.bz2 *.tar.gz *.zip
+cp -arf $SRC_ROOT/* $BUILD_ROOT/
+
+# copy signing tool
+echo "copy signing tool... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cp -arf $SRC_ROOT/../../tools/signing $BUILD_ROOT/signing
+if [ $? -ne 0 ];then
+    echo "No signing tool found in $SRC_ROOT/../../tools.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+
+## function for create wgt apk xpk ##
+
+function create_wgt(){
+# create wgt
+cd $BUILD_ROOT
+pack_fail='FALSE'
+suite_dir=${PWD}
+all_dirs=`ls -l --time-style="long-iso" $suite_dir | grep '^d' | awk '{print $8}'|grep -v signing`
+black_dirs=''
+signing_white_dirs=''
+
+#black list reserved for some non-suite folders.
+if [ -f "$suite_dir/blackdirs" ]; then
+    black_dirs=`cat $suite_dir/blackdirs`
+    echo "Got black dirs: $black_dirs"
+fi
+
+#signning white list reserved for some signing folders.
+if [ -f "$suite_dir/signing_whitedirs" ]; then
+    signing_white_dirs=`cat $suite_dir/signing_whitedirs`
+    echo "Got signing white dirs: $signing_white_dirs"
+fi
+
+function check_blackdir()
+{
+  for bdir in ${black_dirs[@]}; do
+    if [ $1 == $bdir ]; then
+      return 1;
+    fi
+  done
+  return 0
+}
+
+function check_signing_whitedir()
+{
+  for signing_wdir in ${signing_white_dirs[@]}; do
+    if [ $1 == $signing_wdir ]; then
+      return 1;
+    fi
+  done
+  return 0
+}
+
+echo "-->> Creating widgets >>--"
+for app in $all_dirs; do
+    check_blackdir $app
+    if [ $? == 1 ]; then
+        echo "Got a black dir: $app"
+        continue
+    elif [ $(find $app|wc -l) -eq 1 ]; then
+        echo "No files found in $app, skip it ..."
+        continue
+    else
+        if [ -f $app.wgt ]; then
+            echo "Delete old packaged file"
+            rm -rf $app.wgt
+        fi
+        cd $app
+        echo "Start pack $app ..."
+        zip -rq ../$app.wgt *
+        if [ $? -ne 0 ]; then
+            pack_fail='TRUE'
+            echo "Create $app.wgt fail, continue to pack others"
+        else
+            check_signing_whitedir $app
+            if [ $? == 0 ];then
+               echo "$app is not in signing white dir, not sign for it."
+               cd $suite_dir
+               continue
+            fi
+        if [ -d "$BUILD_ROOT/signing" ]; then
+                echo "Start sign wgt ..."
+                $BUILD_ROOT/signing/sign-widget.sh --dist platform $BUILD_ROOT/$app.wgt
+            else
+                echo "Not found signing folder."
+                rm -rf $suite_dir/*.wgt
+                clean_workspace
+                exit 1
+            fi
+            echo -e "Done\n"
+        fi
+        cd $suite_dir
+    fi
+done
+echo "-- Create widgets done --"
+
+if [ $pack_fail != 'FALSE' ]; then
+    echo "Fail to pack some packages ..."
+    clean_workspace
+    exit 1
+fi
+
+# build
+echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cd  $BUILD_ROOT
+./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST
+if [ $? -ne 0 ];then
+    echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+find $BUILD_DEST -name "Makefile*" -delete
+}
+
+function create_apk(){
+echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function create_xpk(){
+echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function create_crx(){
+echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## zip function ##
+function zip_for_wgt(){
+cd $BUILD_DEST
+# cp inst.sh script #
+rm -rf $BUILD_DEST/opt/$name/inst.sh.wgt
+cp -af $BUILD_ROOT/inst.sh.wgt $BUILD_DEST/opt/$name/inst.sh
+
+zip -Drq $BUILD_DEST/$name-$version.zip opt/
+if [ $? -ne 0 ];then
+    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function zip_for_apk(){
+echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function zip_for_xpk(){
+echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function zip_for_crx(){
+echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## create wgt crx apk xpk and zip package ##
+case $type in
+    wgt) create_wgt
+         zip_for_wgt;;
+    apk) create_apk
+         zip_for_apk;;
+    xpk) create_xpk
+         zip_for_xpk;;
+    crx) create_crx
+         zip_for_crx;;
+esac
+
+
+# copy zip file
+echo "copy package from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cp -f $BUILD_DEST/$name-$version.zip $SRC_ROOT/$name-$version.zip
+
+# clean workspace
+clean_workspace
+
+# validate
+echo "checking result... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cd $SRC_ROOT
+if [ -z "`ls | grep "\.zip"`" ];then
+    echo "------------------------------ FAILED to build $name packages --------------------------"
+    exit 1
+fi
+
+echo "------------------------------ Done to build $name packages --------------------------"
+ls *.zip 2>/dev/null
diff --git a/mobile/tct-privilege-wrt-tests/scripts/Makefile.am b/mobile/tct-privilege-wrt-tests/scripts/Makefile.am
new file mode 100755 (executable)
index 0000000..0c2b2ad
--- /dev/null
@@ -0,0 +1,3 @@
+scripts_SCRIPTS = *
+scriptsdir = $(prefix)/opt/tct-privilege-wrt-tests/scripts
+EXTRA_DIST = $(scripts_SCRIPTS)
diff --git a/mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh b/mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh
new file mode 100755 (executable)
index 0000000..9baff57
--- /dev/null
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+#Copyright (c) 2013 Intel Corporation.
+
+#Redistribution and use in source and binary forms, with or without modification,
+#are permitted provided that the following conditions are met:
+#
+#* Redistributions of works must retain the original copyright notice, this list
+#  of conditions and the following disclaimer.
+#* Redistributions in binary form must reproduce the original copyright notice,
+#  this list of conditions and the following disclaimer in the documentation
+#  and/or other materials provided with the distribution.
+#* Neither the name of Intel Corporation nor the names of its contributors
+#  may be used to endorse or promote products derived from this work without
+#  specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Author:
+#        Zhang Ge <gex.zhang@intel.com>
+#        Ran Wang <ran22.wang@samsung.com>
+
+if [ $# != 2 ];then
+    echo "Please add parameters packagename and widget id."
+    exit 1
+fi
+path=$(dirname $(dirname $0))
+PACKAGENAME="$path/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ ! -z "$WIDGETNAME"  ]
+then
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+  if [ ! -z "$WIDGETNAME"  ]
+  then
+    echo -e  "Fail to uninstall the existed widget!"
+    exit 1
+  fi
+fi
+pkgcmd -i -t wgt -q -p $PACKAGENAME
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ "$WIDGETNAME" = "$2"  ]
+then
+  echo -e  "The widget is installed successfully!"
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  exit 0
+else
+  echo -e  "Fail to install the widget!"
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  exit 1
+fi
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh b/mobile/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh
new file mode 100755 (executable)
index 0000000..de77f46
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/bash
+#
+#Copyright (c) 2013 Intel Corporation.
+
+#Redistribution and use in source and binary forms, with or without modification,
+#are permitted provided that the following conditions are met:
+#
+#* Redistributions of works must retain the original copyright notice, this list
+#  of conditions and the following disclaimer.
+#* Redistributions in binary form must reproduce the original copyright notice,
+#  this list of conditions and the following disclaimer in the documentation
+#  and/or other materials provided with the distribution.
+#* Neither the name of Intel Corporation nor the names of its contributors
+#  may be used to endorse or promote products derived from this work without
+#  specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Author:
+#        Cao, Jenny <jenny.q.cao@intel.com>
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+    echo "Please add parameter packagename!"
+    exit 1
+fi
+path=$(dirname $(dirname $0))
+PACKAGENAME="$path/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ ! -z "$WIDGETNAME"  ]
+then
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+  if [ ! -z "$WIDGETNAME"  ]
+  then
+    echo -e  "Fail to uninstall the existed widget!"
+    exit 1
+  fi
+fi
+pkgcmd -i -t wgt -q -p $PACKAGENAME
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ -z "$WIDGETNAME" ]
+then
+  echo -e  "Fail to install the widget!"
+  exit 0
+else
+  echo -e  "The widget is installed successfully!"
+  exit 1
+fi
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..8e4c4c3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vcaQcgka7biMKb7ublXHf0y5krTDaouHqjJMAkff5FU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SnBGJ1bNyyluFJetG1GrPioimTxQhkl6dotkungRKatdKgJ6qJxLH1BmOyIPttN++3H8s6szecjG
+mYdpizRwqb3S4tEkigVQuslqkCAyYzcPKgkRckO7Ngyor9wULqwnEWniXM9MpLJeaKmU2V2Fs7Fs
+4rZDDAqsw9ypShb7vOo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxM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CCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..67e5cef
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig094.signpartnerapipartnerappmgrcert" package="wrt6sig094" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..e420908
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..4c126d6
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VXeXAirIUh863NLOAmwYD8Fodp/IaEWBP6bbRRgKUoo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vcaQcgka7biMKb7ublXHf0y5krTDaouHqjJMAkff5FU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AKo/i6ylKRAwK3vlzy+Yq9PSeTyGY5eHNnS9lpzR+QRCNdUbE4q89NfHD/cC9j2HWDilgcneX1yY
+IfZpYAtG+NaAVZaD8jmyi8reN5nzNVfOSTVP87miiB1QS2j/O3UhxY6KfR4mdrACQujYDgXiW2IJ
+q2ySnYj/aKG6e0qbgA0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbi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AQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..f3f20c3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4Vnf/uJh2WDu4UIfgfaF7BJ3SVLpwes7HJm6nNP3WdM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8sXcFRsDDAcKHquxCH+BsMPlQd3djfRCklr1c4oDECw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+D9v8r477DzavwsonVJh8kVvY50lDNW3ua7zVpk11zwhSwY/pd5/fVyOBZIILmMskgB5cXyx4ZcAs
+vYUvyzEjmgKIxGE1OM3pcWdr7MYdetbfCWPbyzeq5hlTKI2S7ev4/StwtS8vqD+cQFdr0+s8znyL
+Fsj8eorOknz0t9bVPXM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANB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QEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..acd4896
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrcert_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig169.signpartnerapipartnerappmgrcertappmgrkill" package="wrt6sig169" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrcert_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..2ed8975
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+
+ //application manager kill privilege check
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..97270d5
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GS8DBeegakaQmSlzFxfzT4Swc2q7MtvDWPBWsUDIkXo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4Vnf/uJh2WDu4UIfgfaF7BJ3SVLpwes7HJm6nNP3WdM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8sXcFRsDDAcKHquxCH+BsMPlQd3djfRCklr1c4oDECw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+rPDyHIgp/NEtaBlYnfE0UE/oE2XkQVh7/PIoQR1GugTghm2q2EJcMuNekpr1X7xLiMqcT/iKnk+N
+ycftJqxd2zmEh87ob/r+ERwX1+XQbXMBJy1biKCJkXECIgCUZsNioJ8AlmaERTtcltwxOmbflwlw
+A2P1tcTSVAJUJnQjxW4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgY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FAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..7baaf6b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FVSWAgj9kOGigYE+XjDS+asqj9ASEKS/GarZPZVFWIc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eJoQSiKeT1H9qkJdiBAdb/D+XahlauPTZTIm4MN9oQ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+E3dXxvdjSQm8AoQIgK+J2Aca555k86V4DSw48O6ZqVvX87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BTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..6b9018f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig095.signpartnerapipartnerappmgrkill" package="wrt6sig095" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..8e796ac
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..7b2549a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pYdY1TCUxIllCJW6hc/2k4PnnNDYUCVvK4j4QUbrhyU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FVSWAgj9kOGigYE+XjDS+asqj9ASEKS/GarZPZVFWIc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eJoQSiKeT1H9qkJdiBAdb/D+XahlauPTZTIm4MN9oQ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H1vIbtkS5J6TaCUyOpvRKDPlJYFgLOXM5mpp6fQ75ZT9x6YTs/GVSyq23iOLx3+5pd1nNuzAtT3K
+QW3X/nuP4MqBYChGrTP0oNT7CEfElTh9EK5Nw4W9m7yVA4WnCwEH5puu8OLwHFGnJdU4I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qGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/author-signature.xml
new file mode 100755 (executable)
index 0000000..d046222
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>44iyzzInoeqpBAMxD7LhbWs2NazmFKG3sjyAliNvhnU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HBdjr6t4FRwL7zu0cDv+pnw6kLdlDRP5BP7I+ygWOBY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDV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Fq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/config.xml
new file mode 100755 (executable)
index 0000000..23d9b0f
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrkill_apiplatform_btmgr" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig172.signpartnerapipartnerappmgrkillapiplatformbtmgr" package="wrt6sig172" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrkill_apiplatform_btmgr</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/index.html
new file mode 100755 (executable)
index 0000000..a5525a2
--- /dev/null
@@ -0,0 +1,92 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrkill_apiplatform_btmgr</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+
+ function showMe() {
+      if (adapter.visible == false) {
+          //Shows device
+    try{
+          adapter.setVisible(true,
+                             function() { console.log ('Device is visible to other devices for 3 minutes.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+      } else {
+           console.log("Device is already in discoverable mode.");
+      }
+ }
+
+ function hideMe() {
+     if (adapter.visible) {
+          // Hides device
+          adapter.setVisible(false,
+                             function() { console.log('Device is in-visible now.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+     } else {
+          console.log("Device is already in invisible mode.");
+     }
+ }
+
+ var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+ if (bt_always_on === true) {
+     console.log("Because Bluetooth must be always discoverable from the remote Bluetooth devices, this method does not work. NotSupportedError would be returned through ErrorCallback.");
+ } else {
+     powerOn();
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apiplatform_btmgr/signature1.xml
new file mode 100755 (executable)
index 0000000..41f737d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>En7ReFYC6IpbTt2jpmNrmFwtkYQahiHnbLDX+S7WPl0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>44iyzzInoeqpBAMxD7LhbWs2NazmFKG3sjyAliNvhnU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HBdjr6t4FRwL7zu0cDv+pnw6kLdlDRP5BP7I+ygWOBY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fQhFPQ44RmaWqmfB2ULbapWhDk0s4/j6SmKiMjb7oLYT5/G0I3EVqhwn5WyrQexm350k+wYUS0sS
+CWEaUZcxQ7v+Ci+/YByEBwCATHLuQabcCPO7PAX21myG3z15rLoyMK2jtMGwSh+ZPrW67IoVzpJs
+uJxAbJDQTatkpfN5ZiA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJ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DI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..0e23abe
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sDJoF4KFkA0GjkkAd0hAv2iPVEIXf4TocQrwwgwh4dQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cu46iitRAZBC2pXbqGgcMsf1TwKAIw4aNlGzfuWkSDY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+K9RH5KxEN9XPa02E3czBVV3BsLdXXa8V8uoUv28SAr9LfytNvdIj+wdvhqWdvdZSfHsweTucHttw
+AfDOQWodeIMJYhx/s4T5ssDXPFp3YYuhxurV/xOdIBlPyj6RoV9grnoqMBEsUNTjK8pVXkYpHtlE
+IF/wiuNZ6Kp1PaQI554=
+</SignatureValue>
+<KeyInfo>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Properties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..86eadfe
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrkill_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig170.signpartnerapipartnerappmgrkillapipublicalarm" package="wrt6sig170" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrkill_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..48c1944
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrkill_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+    tizen.application.getAppsContext(onRunningAppsContext);
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..198dcfe
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dln6/c/sga4kj17rPRylXH6c7vji7aYN3R6yunAxeeo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sDJoF4KFkA0GjkkAd0hAv2iPVEIXf4TocQrwwgwh4dQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cu46iitRAZBC2pXbqGgcMsf1TwKAIw4aNlGzfuWkSDY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u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KOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..269d9a8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Dx7KEVo6286MDu5OOyQR87nbPL+YMA9cGtMhZdFODk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GXN6gjNTv6fJPmZYumjKe1stORSm4EeoeOL9zmet9+k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AoDkzVhLsirhDc1tsSVuB5aLUutv/hjaN1ZPaS+TcSJ7WNDNft0C7RTf4o4vkQJFXXBlmWYxYxVK
+PHeSnhDlNFE/L5Ii1d3CWNCO1ox5Sob77xxHpyflmpKQpbFeEQN+xzHsTLC6ZmuOWb8NcoIX8Gt/
+60C16xFCo/J4G8OJU9E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5Mr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R/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..a50cdf9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig128.signpartnerapiplatformbkmarkread" package="wrt6sig128" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..80e917d
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..bdf5197
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>V2soKqAi539PZotCLfhAOE2+KQStYhskIVfR7xeUWms=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Dx7KEVo6286MDu5OOyQR87nbPL+YMA9cGtMhZdFODk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GXN6gjNTv6fJPmZYumjKe1stORSm4EeoeOL9zmet9+k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+i/jCnx3bAlIphsHki/bqnoHoah+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+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..0c4d040
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7qBwyLz7kyDtDQ+5BBwHZv4gdy60tc+fS0qUcn65Uvo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X4R6fUfC/6vTNTwat6o27qpz5RFVnNOGR260+Merdw8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PKvv4G1TrBuWuTGVgRYiFhseaYPf229z8ma3u+/En+HlN2keF3P+GFxjeh0ImC96haJ9K8yguhcJ
+EJzL3VpiC8bZ412ZMusL12QoFR7X4SMWBnz3om2cVYXZDmLiMjoF53Xi77kMCW+PdP6XlwddX0jQ
+msBwznsoP3u3pTlpOD4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5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Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..d5f98b9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig129.signpartnerapiplatformbkmarkwrite" package="wrt6sig129" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..f6af564
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..9227c68
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvV7NtcbyNIhxdOu4N+6JBFW6LIqCSo0fuqK1YkjXPM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7qBwyLz7kyDtDQ+5BBwHZv4gdy60tc+fS0qUcn65Uvo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X4R6fUfC/6vTNTwat6o27qpz5RFVnNOGR260+Merdw8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FX4UY8A2lhwqr2vzTDMw27XOWUUC2Gsci7tmSFd5zjaB+VsMMJ/S9WELRseqLvApRzN57TWwboqn
+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x/yIA==
+</X509Certificate>
+<X509Certificate>
+MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..dbe502a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Do5qQoTnm4ZFIqAjUaSeTQRTEMb6M65HNa2pfgHXEAM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mMqBNVB3ekJbVRG+dMxz4ydK7kBxKYYEWPUwrHPS+J0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZFaxdG40oRWFF2HBgi7+vzRDjVEbKv90my4wqJ9yUZvIePj1IkH1DlflDrIvQXAFHGjHKBiOhynF
+Fg5+bQBVQq8vo6/UgUQIeWgjk74yvG2VnrMUokKjHkYJj31VOweZplf2S7GrP1xfP1eTrf754kGV
+AxInVOPc+kmtw/3aRWw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxp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CVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..e16ed66
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig130.signpartnerapiplatformpkgmgrinstall" package="wrt6sig130" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..cfacc12
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..a916401
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OYGmAXX52ifHx6bwA2xpyEU5SpompfKenatw7Xg62vs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Do5qQoTnm4ZFIqAjUaSeTQRTEMb6M65HNa2pfgHXEAM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mMqBNVB3ekJbVRG+dMxz4ydK7kBxKYYEWPUwrHPS+J0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihT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4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..c29e310
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QMl+2/fTKahQQ7Q69PnWfi7BLpwdvGrS2AnbuAy3xRQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kdatsua/z5mIf83I6mXmhF5us5e2Sy0tYNTjSeMPEr8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nc5ha2f4egLkIjlZ9nY80fwtT+W21ZwBzs9Bs2F/22OuuZqLJ0zGh6nOG8i7fS1lwRfh5Hd7YOMS
+NRtNEs+cSL4vLCxN5Vgj23CFKQD8c82PSQFaR1L5fEsaS6IdskSYWIl2VkzZUWtGHStJMS1OFavK
+L3FaEOEFdjhE7cpQ9g8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/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CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..65a50f1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig125.signpartnerapipublicappinfo" package="wrt6sig125" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..ab40bb8
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..65ee4c6
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JrmCHrBS0TCMHOzIbkjxDwKNQtzKQAwOhJSisBDsVA8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QMl+2/fTKahQQ7Q69PnWfi7BLpwdvGrS2AnbuAy3xRQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kdatsua/z5mIf83I6mXmhF5us5e2Sy0tYNTjSeMPEr8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WWYdZTiI6+VwTX3NsQwx0NAEjhJfU3nikLZxSlU/ufRfr6sGQ4bNCrX0ggGpO7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http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..748f9ff
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+TMCp1mUdgh2ByAnEBV7CW//qqBq6jn0N45OWnwK2tQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J57MacUV2c+HEaEl1YIDxGVm2S6AEGHUbOwwkcOQSnI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YCDa5StPQZ1CdyslaraO7ncXgJIRb3qLiG6deVmScdKD7hZmtU/bmWv5yqYR5pfsOQgAl/4fvAAw
+u5TrRS+eHpptSiWdBShYvMIxQuX2N5r4imVAC5LI94pUbIe/b7pELMwBlo4ogP3Vo6qk/X5zphP5
+kP4fUeoNFldZke6UfYs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/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jopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..b5dec5b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig093.signpartnerapipublicapplaunch" package="wrt6sig093" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..5e2b147
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..b5d0635
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9ZELdo3yya4BDST8jn2P+IamzjDdqhxYaLM2VWY6BGk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+TMCp1mUdgh2ByAnEBV7CW//qqBq6jn0N45OWnwK2tQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J57MacUV2c+HEaEl1YIDxGVm2S6AEGHUbOwwkcOQSnI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QPZt2xq+imeS/DspMCQVrkkQzP9Neg8X3h12DwZ32JbiscRQ6dIRT71Ke/tznH9HoHdbFr56orAA
+hS4f01f4gvh9Ci43zbVBJyt3wzP2xaL6se+xl+QTpcbEmQlEyW0htqsZR8ZyQdp1vvXCkFYeuCDi
+IWL93x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MQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..19f56d1
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NrSu3urElWcf6nFtBbsn7j/WgZAlV/V/0azJmL8W5Kc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>y2WRPojNd/zXiATWNbg7fQ7j4k4nPlD3429DLrno3Qw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInf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WGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..84bd6b3
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig096.signpartnerapipublicbtadmin" package="wrt6sig096" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..b7f79f8
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..6f4b0ab
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HbgVauuFuY+bLHc+wtprezDAnXO9mw+F0paPTX3JMw8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NrSu3urElWcf6nFtBbsn7j/WgZAlV/V/0azJmL8W5Kc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>y2WRPojNd/zXiATWNbg7fQ7j4k4nPlD3429DLrno3Qw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lA/bfQ+1hQ+0D8wKK3E8OCPbxTnNSZLt9ejc3S3wnXrQ/eR8r2LSGmQtGYnKF3OIR1ygFlIudurW
+BE5YPYhqKIvgwrZTccekgZTzcbVStaBASxw5/YmxhJvFy+sUIxkx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cIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..220db00
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I+ZrmwO1Ayu2NEmvMkFs87GTQWg3oH57BkbLeV6VuWw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CYsEqjmxDNQdTbkZrR7soj9JurxKC0ZMneRdGegkTA0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1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1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..d6f8020
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig126.signpartnerapipublicbthealth" package="wrt6sig126" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..ad01f3e
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..353df28
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kkUUKj41PhSuVTxJBcxskCNjvA4+G4hbF0UeA2zCTN4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I+ZrmwO1Ayu2NEmvMkFs87GTQWg3oH57BkbLeV6VuWw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CYsEqjmxDNQdTbkZrR7soj9JurxKC0ZMneRdGegkTA0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gB/Fbd7/n8pRkHAi7AGGjN6YxdJmJLfwO3WQVt4R8EiQOQ/Y4YJovXt4YIl5syXvMpX5p4snoxez
+ZLy32wZ8nRQwWFZxmS/oztbiFsnG2jy7DU0voossdaeFQdUQYJzsRQ0jWEth98X+4olKP1ESDGx5
+b30vBz0j3VVreeFYR0c=
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JLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..16dd837
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oO6ym2nYMAXDYjaCZ6df32wM+PyDkql7NBBG/3rR+wE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uZvSY+cUhRROBYe5457LdQWAknwBxKUrz3fco0r9FKI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IBT1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BnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..d6dad4d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig097.signpartnerapipublicbtspp" package="wrt6sig097" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..c61edc4
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..3c1d455
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NMQVLG1bRsz8TkHZ8budJS232dpzGTTyr3numbjhG58=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oO6ym2nYMAXDYjaCZ6df32wM+PyDkql7NBBG/3rR+wE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uZvSY+cUhRROBYe5457LdQWAknwBxKUrz3fco0r9FKI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ITSwrHYnehZUWzEIIwd4OK/PoGOV+fpiNOJHFhlb5NwpSrXuqBuph+X0RnZDDj3RZCRUFTr0mWmS
+wRVEQYjdr1YFyMDH9wvsyNTryZwOEXzH4XPFCHachOUhcK+q9VjBdDuUyfYKXVcFku6mQEfcTITg
+SuS9Pf2Zl8q8aSp3DZM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhY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
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..8c2c81c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zxe7pY/2O+irzuQ8h7YUP3mRcXSzt+Cx9l0qgOG1M1E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9pc4JsieO00930karuaQPE9n+90iS963fsg7cybjE40=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+baqvHWbj4YWOi/oorQFwEqSLnKbUoUt0ha+y8T7rui35b2GiVUBJKkYXC1Yg/skolkGhpX7s73XL
+G3ImPiRoEuJgGaqC8ZwTHXjGa+FZ/X+c3FxEE7a8i+tliBZFFeKAvdBry3dlupXJFSkBlNPLBwi0
+AMzUnu2cWpsWBdNsG9E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXD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tgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..a702cb3
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btspp_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig173.signpartnerapipublicbtsppapiplatformbkmarkwrite" package="wrt6sig173" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btspp_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..81b6027
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btspp_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+ //bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..8581c18
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Bi8Xf1GDcAjxI0RHF9F56tewP1u03pOOFa9qTeI4+UY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zxe7pY/2O+irzuQ8h7YUP3mRcXSzt+Cx9l0qgOG1M1E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9pc4JsieO00930karuaQPE9n+90iS963fsg7cybjE40=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<Signature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QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..b52f4de
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4I8hMrY2FPwGOAwlXjocwrYwbXNtmZnS/4wOlCOJ04w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aYrlxXEmVAIZn+Zvk+6KOhE1Lf8cWDI+2Rcq3L5ZdG0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+RUkgjNCSYJi0L8u+eX1bLrq5jzFypFtFV0cH/8oyaCfg7Wzn0dOC1HiMtJIebsaoBQ7zOQbHsnJH
+2T6TwGe32LSKkK+aI5SVq9pdbZ0MlBzARVkCoj5H4R52+hbDg3oHXt9FmOZzNuXjwhhuKJgLXX0j
+WAKu0C4IFHH+p+xd664=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xE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OXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..f0f89f8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig098.signpartnerapipubliccalendarread" package="wrt6sig098" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..f145f52
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..db3ad24
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Gl3H3jK+OQRb6VNn3gxBxiRGqsFnwp5lC5OFEQlG1vw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4I8hMrY2FPwGOAwlXjocwrYwbXNtmZnS/4wOlCOJ04w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aYrlxXEmVAIZn+Zvk+6KOhE1Lf8cWDI+2Rcq3L5ZdG0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+yotUnWtN+pAMXi5oz5JYx4KhuZGcGrZjXNql4Pz0iyue53VE8hurTG5A1scRPh2LwxSUyA6TSaop
+BKq8WBnxVtLdyYb33c4yvmIMhq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ate>
+MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..2db8c1e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bFHZnrx5yoQUHUwqHDTj4y4XpBXEiu9EjyehuhaqCZE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FU7v7J1Ye7ZEeHlD8AxnRO0EsnIlfLXlE/t5LJHMFI8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<Dig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jqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..3c2c289
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig099.signpartnerapipubliccalendarwrite" package="wrt6sig099" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..4ce4bfe
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..541cf40
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AXzdDlslJxvXJKRrG64tV0IsC1KTSQ4VP27aLw4uaTw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bFHZnrx5yoQUHUwqHDTj4y4XpBXEiu9EjyehuhaqCZE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FU7v7J1Ye7ZEeHlD8AxnRO0EsnIlfLXlE/t5LJHMFI8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+l/b5RuLyYSFApajs7WEAzSTcaDtVsOBzyBdSE7s1JA6xUTIaPYoAF0O77cqPlCAvxu9KmRZK348M
+gGmCZtZRT4773iKmRPmTGE97vJtQTlCZRngrxg+Ty6OQX9xcCYnvY/ynUBXS/CvVkF+BTuNfaIN3
+CqCm0aA09W8P+WZgakg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoiL2zT/JsL
+sZ9UPT6GEB8CAwEAATANBgkqhki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Rexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/author-signature.xml
new file mode 100755 (executable)
index 0000000..16356c6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>osSOUcAFgmPNOM+z12Kb8FrWkHfFzB24FaKoWiBWoCk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t8YmCPOu6ibduJued9CeXPwwf+7Vxf39cnUsDoY+/GE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UQf0f/cPxj7WlOCLrhwyUgdNuhLBJ+XoYzFnAEkZyvXmf2sSIpfm7NSk/SVuEHhmJ7PQ1K1tHFzO
+dqsBsEWMhdh/bpoprB3g7YAkXQREd77erXuwfyL2U2uQjF/oQ2QHHSJalEoaCIXtJG895CREYuMz
+BW9vLH2UU4ratTX39G4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
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FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/config.xml
new file mode 100755 (executable)
index 0000000..cb7e529
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_callhistoryread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig100.signpartnerapipubliccallhistoryread" package="wrt6sig100" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_callhistoryread</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/index.html
new file mode 100755 (executable)
index 0000000..0878d9d
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_callhistoryread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // callhistory read
+    var onListenerCB = {
+     onadded: function(newItems) {
+         console.log("New Item added");
+         for (var i in newItems) {
+             console.log("Item " + i + " startTime: " + newItems[i].startTime);
+         }
+     },
+     onchanged: function(changedItems) {
+         console.log("Items changed");
+         for (var i in changedItems) {
+             console.log("Item " + i + " direction: " + changedItems[i].direction);
+         }
+     },
+     onremoved: function(removedItems) {
+         console.log("Items removed");
+         for(var i in removedItems)  {
+            console.log("Item " + i + " : " + removedItems[i]);
+         }
+     }};
+
+ try {
+     // Registers a call history callback
+    try{
+     var handle = tizen.callhistory.addChangeListener(onListenerCB);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     // Unregisters a previously registered listener
+     tizen.callhistory.removeChangeListener(handle);
+ } catch (error) {
+     console.log("Exception - code: " + error.name + " message: " + error.message);
+ }
+
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistoryread/signature1.xml
new file mode 100755 (executable)
index 0000000..08b7a77
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>68KMZAROqvIbqtuh3O4dyiMi1nvHhDpy10dUcUiWtwU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>osSOUcAFgmPNOM+z12Kb8FrWkHfFzB24FaKoWiBWoCk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t8YmCPOu6ibduJued9CeXPwwf+7Vxf39cnUsDoY+/GE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+f6tgEqOSqnnaYOwhvvsGPs/iO23a+SM4Eq8+MtNZfhJdeiKT+lK3YNtwpib9qWlofUTHyJr2EKgL
+eHozMfZPnCConHi047osSuE59Y2nYZ5MOGbLboxrxCVG/kGkyecuEZ1WITWm6wb8YEHKB1KQp86m
+w5z7WDF0MJIJgqeJuA4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ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LRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..c49802b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9GeJni5dSU7rMSnH+3SPYr5XPd+i29V/m5mWKR+OK/Y=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oNO5FfZWgZvV1dgsGlc1/v5QIKXjGOzyVx/4H1mpqW0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JCWZAV93A6CaWx/6QuEEsn3ZrazbhNms7qscfzTbzMwHd869VxQfEUNEuTIlbwtaZ5xAgWPvoHmr
+zNEu0Vop0z72MZDBjGnNLoojpkUqzDqE6UdlgzXEA7TdlDhB9l/9aea+K9C6omP6yO2TWvzk+UaM
+4QwOGswSfyiDg9+Zq68=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3Cx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ToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/config.xml
new file mode 100755 (executable)
index 0000000..1c97e09
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_callhistorywrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig101.signpartnerapipubliccallhistorywrite" package="wrt6sig101" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_callhistorywrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/index.html
new file mode 100755 (executable)
index 0000000..a4af3c6
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_callhistorywrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines success callback
+ function onSuccess(results) {
+     if (results.length > 0)
+  // callhistory write
+   try{
+         tizen.callhistory.remove(results[0]);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+ }
+
+ // Defines error callback
+ function onError(error) {
+     console.log("Query failed" + error.name);
+ }
+
+ // Makes the query and wires up the callbacks
+ tizen.callhistory.find(onSuccess, onError);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_callhistorywrite/signature1.xml
new file mode 100755 (executable)
index 0000000..96a2e6c
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kSKBiPFiQTt9B3cgqI6OpnpcsA9BaVHCdHYhd8xMhG0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9GeJni5dSU7rMSnH+3SPYr5XPd+i29V/m5mWKR+OK/Y=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oNO5FfZWgZvV1dgsGlc1/v5QIKXjGOzyVx/4H1mpqW0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SzusSvcuaUcXxuoxdIo6+2O6EYBO0PAiAtNANvO5ACOOHb/5pi/YDbV9tTAUyBUY221LFvVYmJXp
++LrhMKwTGwHk6XK+2/5eVmTzTuwQOEVSn/QOXXOXid1qmMsimf8Iu49Wt0E7ZOYvYrgH5VssT1f3
+2hFm6si7ImCaVFC4dZE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCB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X8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..7932a14
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XGlAYR0VetCoOQWx521i+Js1x/DZZSvAtYDdXlvFbL8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2qoYzvzgTpPsDjZkeT6HCGUA3VhYr0BAowBtZachEh4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+EVlbHvccattWr+aKr4jJgN37Z1jMZkc5iEtYorj+AbHokW6tVzTn2cZYSncdDI9lBD6CjLXARFiu
+1c53NbwxymX8sH9CokxRXhQuFBX0KEMrCNlVpucoejaeQTaTZpX14qxXsvnFCUoGu1BwWMFxwVBG
+LSubnvH5kLVUfjoS1Dk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGS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eWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..813c8c4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig102.signpartnerapipubliccontactread" package="wrt6sig102" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..ae205dd
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..0af04cd
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LMOwFR5WapBvRF0Ay06xYvBKst3IPA4YeWzuYHwRA+0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XGlAYR0VetCoOQWx521i+Js1x/DZZSvAtYDdXlvFbL8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2qoYzvzgTpPsDjZkeT6HCGUA3VhYr0BAowBtZachEh4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+k4XOxQS/ym5qYVmBQFJYERgIinx5PUtUkKaT94XhwfCe+20nidqRTTFe/S5GrlkjprWmdMn0Mu88
+crTDr//FcMIs6E3jfFf2n1SPYaXVLYCHo2T/HBAsev3e85PRc4Y8O4ywvGkUl0I8s2qT3xC07qcr
+a9n6pHx3KaYME945AFs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ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LRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..8f532a6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U/wwDlJU8FjQhXSgqxxsDi/DFkRvyr1W6lyHsARhpdI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xnv+5xLyuhSgLwyui+gyvRWzC0DpGbrzq1eJKjwyMEQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+CBHSglkIFT+2NolqCyJsaBrKte+xWqwdwZBA6+YD20CaixSsh8VeTdkVdunJJT6xyqPZg/HyJncS
+O2QUVRgZH4NCVd9gO4ZFMApkVQNyhobOLKbRJ/XLy01xG9+93xNLfsHMKAReUQ0RDLvXwJXBBRsp
+BmF6rNYzHfB+JbpLDnQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3Cxj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QHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..c7d802e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig103.signpartnerapipubliccontactwrite" package="wrt6sig103" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..9b35abc
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..b41c500
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5LIUeSsjNZJKRKGl/2PHhXiX3w/UGHX75vW44bftLQw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U/wwDlJU8FjQhXSgqxxsDi/DFkRvyr1W6lyHsARhpdI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xnv+5xLyuhSgLwyui+gyvRWzC0DpGbrzq1eJKjwyMEQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+w1Jqz8jUdk29bzbNgXiwTwT+04Oh0x6btfxF64jPJorPs+J1DfoCI2IlWcRCmuopBRJ7UTtb5jDc
+mFfToCBfho/7q3K3QI2j/wI8D7Zcsu0ckvUes4G9SRCfaKBzOqB5KHKeWMKAgwoTVa2uhZMuWSFg
+FDee5JI9SpvlNxOymoA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcM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UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..c298867
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LrF1Jw/meTJaiUaKskcIG2JO0VM5uIgPRNH3/XNyMA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4R/r/Udrv3L0BT6yz4ra2kunq3VbNPLPKjZJcYAEVvA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AGc0lsQA4Q5j6a6SbuJjL0qy8eNK2YAxlpyTOhSMKpcfxvIp/GZ5LYL/NoRCgKuNwu6YZaivqvhW
+omcpV386fosJZavr3WzxQ76Sqk8l0rh7L2+o72JJ0tIiOUwFw1z+2+l1+uz+lnl9nd2/+osQATS4
+pYcACsmnQ2gvTDqo08k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0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ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..048e4f4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig104.signpartnerapipubliccontentread" package="wrt6sig104" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..4be8d96
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..992cec4
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0KhiseSr8fLC7+eHoZ8TazlQVYw27GCnpESZqCWrPw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LrF1Jw/meTJaiUaKskcIG2JO0VM5uIgPRNH3/XNyMA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4R/r/Udrv3L0BT6yz4ra2kunq3VbNPLPKjZJcYAEVvA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GXNaOD8cp+OqrimpKSz1pB4cbnoJqaVre4tedeAt1ELu2/tEc2ogvCPwIB+ckLe7Gvjoj5GbzbgK
+ZkdNZlrVR9pYWQ1E0U2yC4uE+riWPcSRPpnLAAZJgOfn7y7zU1tQv10AM7n9xi2jsNlmXy7xHCHa
+2l00brMgfqTGpEE6Ciw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYD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4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..3bf7962
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TfSHhSG3JDIvKy0Iu35eWuMX4cCU7RmO1j1YCp3HUuw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JLsQ9EE0P8Yjw2ctfzbh42UMmwCDQWfjZ/sP9oX0/Xs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Bv47U3pdsLeEy9R6gdPCmUq+YZMMwo5MnRv/H5zeUmffoxBLV2bhNFxxW7l+JMOoGwirUKHCQdRW
+FBbUilwSZt2hd7xa1UCOZExc0w1m98NwriJgEYRyREvxOK7fFIYUtWXvBfzAWxMPU/T5ybA6yal/
+vPZp+KdXdC3lTQjKK4U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMD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+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..897c7ab
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig105.signpartnerapipubliccontentwrite" package="wrt6sig105" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..d91a1ed
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..55221b9
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vkHmwAVI/8/9KOarmPTjcedDqxVwn2/UNAh9kYMJ46Y=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TfSHhSG3JDIvKy0Iu35eWuMX4cCU7RmO1j1YCp3HUuw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JLsQ9EE0P8Yjw2ctfzbh42UMmwCDQWfjZ/sP9oX0/Xs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+j2ZSk4EgxE48wRPFd0/mhCoBmPzDXp4azYTePvKS9BpMmzt5NNMe3kpe605fEo3Jpz51DxHAubaP
+33LXplZ/9hQtstJQaUevyrQJ4PRc7JdrOzkMbR7zAJWRYapBj/8meZj/BS17gmI9Amgo4drkYpeq
+8ORQI2jmVWBTlchn7DM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQ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VGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..6471ddd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MJ+DG/VMGPEKGm2hUBaBzTKeqB6FoyjMpkvsCTwqLho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zuiOEeWTJyJIrGHYXCFIhf+P835g0f6KxIBmAi3J6M4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TLeJ/xjqUsCA7jm53fpMZ9oUdZBm5/YFutyXkq+ulDMGcBQTCefMguQrWIcFqczJS2kiqk29CAQc
+Nw2XQw9xlJ5/3dnRyQ1fFY3xDmcXSyDUa+ufxuTdXoECmZjEMllYs0EXA0jRefroOyRUzwsVXDkz
+6e4SWd3Dkbx28dHBeDQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdG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owGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..c9fd251
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig106.signpartnerapipublicdatactrlcum" package="wrt6sig106" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..c0a2f02
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..6ec8fc4
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>03zmxePmIXgdbJeS+uVswT6i5I7mS68vyqYfA92N/HA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MJ+DG/VMGPEKGm2hUBaBzTKeqB6FoyjMpkvsCTwqLho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zuiOEeWTJyJIrGHYXCFIhf+P835g0f6KxIBmAi3J6M4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OA3F4254chlocL2EqGWuP0Cbti689gT90zUzDPVdFU+014M1XeixmgHlbubiK70Gzk+RA5izVruu
+9YgFCi+/gYxad8KGGISG6z3MoLbGWjaanSl46IkQuNaOkZ6+JbtHyRfmrXXAzmtQhqqDX9DVhifG
+GU2aGHuvZendPE9YR34=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwF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ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..fc2ce6b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>19i3Eq0cB5odlT1aPMW/PVy5wFxxVpzuNSflErAw+Mo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A5KSpe3W0/qy8zwKb33ZukTFnafO4Mc8iIByotx+5lY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AFgw+4kV/q8PJ54UgAXOArH7CR4tHeQBUg9fKNiVBOCtLrVMU0H6E0Dy+ONJD51lOADLEyiBpgZf
+iSZdcZzJxhGnJD5i35MNGV/O8PWFe5Tx18qUMZWSbYAeL+P00vCqCtdfRp2zUvEpCqqUQdGAFTjW
+jypVHcEU+YQ3bkFiyoM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwM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V2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..f375764
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig107.signpartnerapipublicdatasync" package="wrt6sig107" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..b6bc27d
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..48a77c5
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ea0s1xjVFC2PhVRCVpJch/eKzF2w+e9K5DFuOfdAPwE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>19i3Eq0cB5odlT1aPMW/PVy5wFxxVpzuNSflErAw+Mo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A5KSpe3W0/qy8zwKb33ZukTFnafO4Mc8iIByotx+5lY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+j4XkhD8ip68YbM7DRxLA+of98pbd7EvM2knkAerUnhRMv+OYANVEcb3GZdZ+8SiwtBPDtTxtE9Fn
+YuIMbtROtr+h4yZdJA/xm6iSqTFE9CKJ7A/mBZJfYpvqPX74sKas4ccD81FKuCDjbbz/KFudkzws
+RIxn/uuKlUwDLJywaDM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNa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EiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..690b58d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>F5oQ+huVbL1VClkNfXIVgXybn3znLCmAucQ06JkEk7g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>arFBIN2kR0NeMvvT+PmKqYp9a6uBi1haQ+uDpvwkw5k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Hei0c4pgR3OkqPVBFnNYIdiu+kVTBXPdwOUJ+ISqBSPI+vFtVuXz8IP7mRORRkA/68656VkAqaGT
+imzgROxWX3fy7KOxFcnkYEZRzdUdTFGi9CjPt5rvYpotlovZDu/VZ0OcgOV833APVJT0YyRMnvTu
+GGqId7TYdVTdVYxhrzo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcM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QLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..7ad3f9d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig108.signpartnerapipublicdownload" package="wrt6sig108" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..c21c076
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..df8a153
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ab17gNNrJE6a6m+spn3qjKt7EAag145s0OiDlZ6zzd0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>F5oQ+huVbL1VClkNfXIVgXybn3znLCmAucQ06JkEk7g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>arFBIN2kR0NeMvvT+PmKqYp9a6uBi1haQ+uDpvwkw5k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</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
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..98d651b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b9qoPRvORdQ0c0fjCMCbGS8HZJ+brHrsNG1w45ztL+8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2cDhhNvzwNuX8H6rub5RVc6prXeNiELZr8GzAD7gs8Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Rnr7ifHA26mseLucLl7nQ0KjWEP8ygQpTfi6wbxsbU4S+P0hRqTgj1xqy33LGvrbE0InUHulcW+D
+RszFsuNzEcAeT1qu/5QqSQL/K7yr0dyc54TX/i7F77Z3InsN3lt7ocv3CCiDNNor26pRVVsyFuP0
+5CtEtR3j57vTTFUKRJU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEG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XXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..db845c1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig109.signpartnerapipublicfsread" package="wrt6sig109" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..480fa99
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..58d5e64
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Jomfet6yk0IFEFhVWmqwXmGfPno6tOMUlunZXYiS3Ls=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b9qoPRvORdQ0c0fjCMCbGS8HZJ+brHrsNG1w45ztL+8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2cDhhNvzwNuX8H6rub5RVc6prXeNiELZr8GzAD7gs8Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+C8qe2wTxEm8gcEHcmF/qz/+yN2mEhJjJV/Dggb4G92A24pTRlyWEZmWFEBymD2LGnjVpjAW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k9RUsCx/yIA==
+</X509Certificate>
+<X509Certificate>
+MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..7ff251c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E2cGtCbraKdeJWV4yXOa+eF8Y17THO3Zv6SVBMRq2T4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pl7/eChVua7WSth1iqaXiBnkDmlSOp3pvnT7KHY2nYk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JBZb1C7QyqK8pfz7JYPX0sdQxTcvkwYizwYv6V2sr5C5ekG92KVyfK6SM0QOaSsdJVz0FfFRBu7l
+HO2bj7qiRcA1i+t1MfrIfCNOuwkoQEY/xEIefb0vykIVXVBNiScQjwSYdavKAvuInNNIt9M3VG6n
+igDo1SMjBDvGS5KA13k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxpg2AX2Vta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dvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..d3debe9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig110.signpartnerapipublicfswrite" package="wrt6sig110" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..ab7371c
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..e1ae9f7
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>M9Yv5ZKuyNOs9Mcik8hVdFmPoq8mRwknfp2SN15jRJo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E2cGtCbraKdeJWV4yXOa+eF8Y17THO3Zv6SVBMRq2T4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pl7/eChVua7WSth1iqaXiBnkDmlSOp3pvnT7KHY2nYk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ieC1K2rb7a0D2zsVVDmfpxTqufgBAn+0BTwa8X9PBpvWJ3xrZ8jTACrix5ALaBc6eIjByrhIVXLn
+HASLEJtSsY/4b94SyT6nnE2T/INsaXtwA/7IazsRqLaL/jBi7wMC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KORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..161f191
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ohNFOZbldZCGoJGcebj+2QDkRXbw2UpL9mUXYCgEjxY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9nfx820/D7GkUWDJHM+35CpiMqKmtnKn44p7q/zAhrQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1j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1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..f3e2130
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig111.signpartnerapipublicmsgread" package="wrt6sig111" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..86a3a92
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..5a7d115
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lftXMYvJfxodZ7lxL98cyDJuZ6+qjh7ZjfvpCeRnZdo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ohNFOZbldZCGoJGcebj+2QDkRXbw2UpL9mUXYCgEjxY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9nfx820/D7GkUWDJHM+35CpiMqKmtnKn44p7q/zAhrQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bnZ56gHJI7+OBdzovjSqdJ+7G8Mz0umxfB1fobCSj5KXjD6UWdYViSH4fmjTfVI1pLg0h46XLWr0
+6FSc28QZVthIV819HylKWWaRnIAFeLTk6d+c8dT2pZz86iIG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AKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..4a8ca7a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLuylC1qI+CHTn2alc6WYjIjEwHII3XUU0FI9saFvA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gecOJbWy88T1l9ifAnc6mBlv3CVQiaCBPZlaf6sBX1M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30Z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5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..db8c20f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig112.signpartnerapipublicmsgwrite" package="wrt6sig112" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..83dfbe0
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..a520f0b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DIIUDh7El33Z11N476/N715bDO/rjFi03kRL9sZtuKM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLuylC1qI+CHTn2alc6WYjIjEwHII3XUU0FI9saFvA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gecOJbWy88T1l9ifAnc6mBlv3CVQiaCBPZlaf6sBX1M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+VicrRq5wTbLUq3nkoAlm9F+XYSb923S2Ol4zU+z1s+uoFfFYDilJMp8mMHf9x910AoCWFfjJPM4g
+9H5Nyl1qtigZRzEHstbnx0HM0OcaKDtJ6rBMQkP3ASlpq2jBfiMio6tJeCzhwO1lG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qGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..6e55825
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XJsBK1ITZlq9nhhxGOmauZq0/sFgOYc/fEs9Jx3RqLk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p33hFN4OfEBlvHVJB5/Sdr+AF6C4lbsLI2yle0pbbb4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5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GyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..2bc8771
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig113.signpartnerapipublicnfcadmin" package="wrt6sig113" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..38ad866
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..b3d319a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XlwOjZ/Fi1Ds9YlouHujWWeTOE1l9D1V99LTtoh62Go=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XJsBK1ITZlq9nhhxGOmauZq0/sFgOYc/fEs9Jx3RqLk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p33hFN4OfEBlvHVJB5/Sdr+AF6C4lbsLI2yle0pbbb4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/x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68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..bcb5136
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>04mPwtlpwm47kLhTeZ/lBHXOVlBG3wuWg9ggFoiMpVY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i09JbcIjW7I6YYJm/ebnGDAntyHzjrSmK2QGpa9STZs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+cvs8FAGLCQVlNV7vCk6BfFz1MUkqarnnICnoamYPaSbUq1LI3vOnop9fof9WDkU/bokMkhqRODOV
+ahibdBRq7rlLiixvZ4kBT4SbSV/hCYSd7+SOzEM1vMhp4WmmQL2p4+uIjG7eicXCHevSeg58L3P+
+1vneUxuZDQV4h06QET8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBA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wBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..d5dfc79
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig114.signpartnerapipublicnfccommon" package="wrt6sig114" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..75f4775
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..0b6bc59
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KMsLyxUPDgal8xb9klfl6AchT/+5DAC+lAbpQJWh6CA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>04mPwtlpwm47kLhTeZ/lBHXOVlBG3wuWg9ggFoiMpVY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i09JbcIjW7I6YYJm/ebnGDAntyHzjrSmK2QGpa9STZs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+t7udMp/E86Jdr22IyUe+gcxpdB1RzNL7eI+kRaYbZ1WFiF0+2HW/vdOeUlwibUYNj9n885vBX4S3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9RUsCx/yIA==
+</X509Certificate>
+<X509Certificate>
+MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..bcebd8a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mGCYgm36kx8a+vUweCXFXgcbk09qeZLu+CRIKVoyTyQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jDD+yQK7wugU/n0lrnqikvvCnYWkEsSDcQ2qHIZpd34=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04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MWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..5597521
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig115.signpartnerapipublicnfcp2p" package="wrt6sig115" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..7c3568b
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..598dc28
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XeqHNtudbuNCY0IMaRj8nVtkiFYBZV7H4jkeYnkS9ew=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mGCYgm36kx8a+vUweCXFXgcbk09qeZLu+CRIKVoyTyQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jDD+yQK7wugU/n0lrnqikvvCnYWkEsSDcQ2qHIZpd34=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NmK+e1n7oWEj6owsw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</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..3577220
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bfTYznZLtdIKS24lhl96nnomWZaZ5znSwgCUy/8m3u0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>e3JbqyQXyk2iJZozGulCaeFdIwzeJ0Y9jnfedvsDiUU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+C05xdIrJoH1zPTfLwV6E94RkHl9OjIxdc7hLJ7k7gWyywED2MXrIai4vXTZsjgcEa4CHSZuNyCTW
+bGRmDcti5FfsoUyV+X4Io+YkaviKLuqpisJ1VwOqeKgEQqVvNnRM8duF0pC58vkiiBMk0wFLqQfL
+p39l5kYtzL0zYj9WJuU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEH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qXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..98f3072
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig116.signpartnerapipublicnfctag" package="wrt6sig116" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..aff2b8c
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..82784f9
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QgQa69B9tQ5bFn+vRIHopFzwxLOp2kywjhtVNU/JWi4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bfTYznZLtdIKS24lhl96nnomWZaZ5znSwgCUy/8m3u0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>e3JbqyQXyk2iJZozGulCaeFdIwzeJ0Y9jnfedvsDiUU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fFMG5nnPplPMqbITmfRE1cMygGPKVspO6567pyFVuRkyfOlfe8l19X/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lns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..27f7df4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/dRCq8Q5HR+o6gUeNBliHJW8BFDEhr5QH5GuPX5Vnt0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SrogEdao0h6QmFTGd3ftDsNqwYA2h2cGpI5y1HbV+E8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+DxjiiH3VFwJu0+vnG6O+tegSKs9pp5hVnvzbXxrL3y1ZFssikCOXP5WA5scYrF2UeJxUCsScNLIc
+6jx5C9qXTpXW7cCu70myy8PSujet+nbD6WstlMb+Kchmk0YsPPpZ0N7pWFzlVIBtZKkCzRFBgTHW
+UD9E0jds4Ny4NE1r9O8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3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KklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..a09048e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig117.signpartnerapipublicnotification" package="wrt6sig117" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..f2e0323
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..dfd5c96
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6aBKTJzg+Gi6iuyTc5GOpLKrDqxrTiOAVQlXGnycdMo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/dRCq8Q5HR+o6gUeNBliHJW8BFDEhr5QH5GuPX5Vnt0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SrogEdao0h6QmFTGd3ftDsNqwYA2h2cGpI5y1HbV+E8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BcCfViwG6Gp4Ig35eQfXqkpkz8InbLyV+9J7uKhAM6cgoXa8lBq2mKxSGCAJFD92IBPA1+nTEvl2
+ImuFdJO1AivrayQ87hSL4VyYztGmp8SFeMOWTruO3GVNBUlA1RjcXHCIGCIMv7RvP7al2nBb4DA2
+M99Q8NGAgCwpAIZXkxQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQD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VQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..1728a3f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X1m2c8Iz51XtZDbBBmnVzdAXHklPHD4aj9/bxIUJ5qs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T5s62sq5aP26PMUHGlkUZ+A1targeiUJm31ppaiYYQA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nd7L72YESJmjge0SsK5ciKYDcwPTyjnAzOFSaNGukOXlhQzehP2Yvn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1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..cc08010
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig118.signpartnerapipublicpkginfo" package="wrt6sig118" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..0e67111
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..36ad5dc
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y/kSkfqUyfmIkLw9TKEK37Csdnhw1Zs5gPKT9Ax0NS0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X1m2c8Iz51XtZDbBBmnVzdAXHklPHD4aj9/bxIUJ5qs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T5s62sq5aP26PMUHGlkUZ+A1targeiUJm31ppaiYYQA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Car1JUNcqBEc8jAszbppJA22ENBoHit0h1El+FNfuppKMj0rFXpyGfR4XKrDZcfftPB2dFO4gYoV
+aKg0/Wt+nlffvB3kBvk51JuwWFQ2WUCaBjV+K9lYOsrxyt5JB+4DH2179HbV/9nI3q3sx0KRt+0e
+niJOwLjWK4tayZIFrTg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BA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
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..7902117
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NFWSdrFosLqDYyzA9EPkWZhH4Giu5px5IdIiED7XiQ0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vWAK49UgUyYtrEE/hxfgJq9mhzNRTCwQYJC+tH33BnY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dahRmofUSNhTs7PTIJNlbud+zg3QZvSa+IZH1DQoLvoAEHoyPCDAumQVaE2u5ABO7Wi81KH1YljB
+j4KxsZ4kAY5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W0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..3f22fa5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig119.signpartnerapipublicpower" package="wrt6sig119" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..74d4be4
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..74ce6ba
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G4il+Tx57quhxvBLj4C6DI0kfuVGDQt16kz79PUSTXY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NFWSdrFosLqDYyzA9EPkWZhH4Giu5px5IdIiED7XiQ0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vWAK49UgUyYtrEE/hxfgJq9mhzNRTCwQYJC+tH33BnY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W21yt0bu/r8V/ru+nnunGOyG9OCPhW894uraKzGNO6IRYErdZz9AhH6DFiURfDygeRAwWfJbSgiF
+SE+7ORXX6HoB4Nq4phqAvtVCbhrPLSxvA4XtK2QMtCBI8Jm3Iww0kUl7nY367AVT6/ma+T6I/hNB
+mm8nJbhXpM/K9cxUr/U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+c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4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..fe1446a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WHuLIokJIAgXvRms2VBqi9KuOxt8ci0ZiYpJitCKR0g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IoXgs31QNNo/IBqY4WDzL1+PQlNX9QGbQe6oaUkLSV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Qhrh/pYVwfsf/Ys6TfXdtoAuPvs0u09OUwblT8HJLxosYFRHoW+FQiGkWs82LKKPmnO2PqYEm89E
+NU+ZlTziXYu7cN6IE5H2AH/cmOb72Y0jbCH3TGgMSSJLfrKl9JEf1XJ3psRJY1ZfT2UNo/AOkr9I
+rEdL7/MNoAqV4mx2s40=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBA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NzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..c8ab327
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig120.signpartnerapipublicpush" package="wrt6sig120" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..33ba624
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..8c2275e
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bNI10EXajX8arYg4rObdi+HabNTNMSWb87A9xHNxcyU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WHuLIokJIAgXvRms2VBqi9KuOxt8ci0ZiYpJitCKR0g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IoXgs31QNNo/IBqY4WDzL1+PQlNX9QGbQe6oaUkLSV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KwSNYWLCAqInJu3h17RRuOOk6FDi8pmxW8gfclc7a3eJPJyHTzKn5HkJBllRfv5KMqNLFcQ2SPa2
+28NJiZiEzzo+NBU+Y3apBKURjzRS+dh9i2kCSDbODzKKgsUFOxN53ZiEnst3Wu06Z+lpeXjrqIDu
+d2JXoLZV0XvYtxgMxCE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d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c
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..b873f65
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>emPcuQTYOTG2Dkk0qPlfAsolbtgJxqSudDq1cMjiQYE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ORXFqFbkwQJA3HATuBr3EE519FkM0qZCfiGmiTkcxb8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YUesE9UzEaPj0Z40YxHdP7Ij5uS+9udouUoIzgdZzb7hYGSFsNDUebG8ahB6x+O6p4ZV6rEnzXIo
+ooj9Ewzgv9Ia+cwgsRH9x5W64UzSEAz/ayIwrIB/JvYokHOhJI2ZXZ0f1geGoisuwPoLdBxqXsrV
+ChP0QM5tQ6pu8sP5G5o=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDE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RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..88f1bfb
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig122.signpartnerapipublicsecele" package="wrt6sig122" required_version="2.3"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signpartner_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..b8dab92
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signpartner_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..3832803
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ihfs1YJYskLop/4w4fLySXs2CJfP5UIoF3aw3PdG/vQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>emPcuQTYOTG2Dkk0qPlfAsolbtgJxqSudDq1cMjiQYE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ORXFqFbkwQJA3HATuBr3EE519FkM0qZCfiGmiTkcxb8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+VFi/acVzi0SFHBqiQc18D8FvpaEw7ly0/AVYVa627xU1Ndo2F4efdQl83dJ5RwUxwh/cxMnGTgg0
+GYNF/F6g2PHr75DDjV6yHfQb7ZXIp6VIsBz65OkO/V3DvJgdjaQhLI9df5WgXOaTXB3r0AcSWX1X
+h5Fr+KP2NErkchhRb9o=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3R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1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..e082d43
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>v4+p+PjsOaFuhgczUIRFzHjZ6xRmB8NcK3+FJ30vmpE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YItqhFU1Us8wNJOLbsXdlBrZ8xb6A4Da4IgLdtFiXN8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Q4PzyfxXcjpZ8In71iO5xbhwSCmZn7ZWVpQ9STTeHu3UOvgB3o50esQRS/Nt5rGroVyWfAhN9EYp
+se5dpksgCBZjmBeAcZpD+sQ+oURa8cetAX6QC8Fz/6wq+RAbgOMd5+/vj/mZWx1hdL+g6awbYwWV
+2S6HJUddlzUSZrqHgQo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3Cx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ToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..70dc0c7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig121.signpartnerapipublicsetting" package="wrt6sig121" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..e43e939
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..bbc8bae
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fndkNIzunq8LdiE7y9pLgr/1/aJRWYkPOkNyw/3v0SU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>v4+p+PjsOaFuhgczUIRFzHjZ6xRmB8NcK3+FJ30vmpE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YItqhFU1Us8wNJOLbsXdlBrZ8xb6A4Da4IgLdtFiXN8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+wpA7pdQK0hqr9bWl2u7ROzloy4MsZeiEiuJe+otV+FLbF2Rg2RuxiL6AJOFmZG4p8hk2s2Lekuh+
+ObBRTH6YS8KgVYriu+KKG3aPXyXpqlNhRLiFMGcrfNQcrSm11UfSgEs7Z0seD5tdeVHZdRPM7K1E
+P3NjoClZvrzr7OA0eSQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMC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hcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..2b5ca15
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JqvsmyDF0kd9SufKs0c+UmTu51rBVU1xvboBdBdE0bw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rtT4VAak1/dyV6n8hWYKJ4OF9BvwHRv6TzI92RVVEbk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HA1HLX8TzVO+SdTuuNu4Jy6JaajdBVF2tU+POg+Ta7b9p+5O3NLn8nyu7xPtp+G/DcHvIjuCerOu
+Z1r8RGzjFmQ8XNt1tiJrcbVQVJ3J/rNZRHr/s8SegQIh9r9npPX1v0AksYNCp05XeUqT/7OEQIcN
+eYFrRHpHge6z1ISIyTE=
+</SignatureValue>
+<K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"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..64ee40e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig123.signpartnerapipublicsystem" package="wrt6sig123" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..39bb8b6
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..6d3e754
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dUDCnEoQyEzXvXUgbYutjHhqmh8C8b44sQ4+/VQebwk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JqvsmyDF0kd9SufKs0c+UmTu51rBVU1xvboBdBdE0bw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rtT4VAak1/dyV6n8hWYKJ4OF9BvwHRv6TzI92RVVEbk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nvE7UZkZ77aYxX/QdyLYahhHTME/VVq9BpOHoQKDpJo02sMh+5Hz74AP/xF5nYvQGgl4nS0jpN1H
+ihmwAvCs+Ry8RI9QHV/FoidyAoM3Q7hLeiskr340XCCOsBZbN9rfPtlLGYakmybwq9ktZ/njmFzu
+kkkyZh5ZSEAdIj4Y5eA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCA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YwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..a841ff9
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/MpGKBO2j8xivTVqxlobhQ5ExsxtBRV52yz/DneoZBI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8bGnf7XcrAER/fhgXsDKoc863vzs/f9zFSX0QmBwSF8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+b2iZFliTrdeaITHf7aHkp9XjawDgIn2JMwaOLoTIA9aAtt/qsMkx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45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..5c66482
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig124.signpartnerapipublictelephony" package="wrt6sig124" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..2ce53f3
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..9390fd7
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8u00jh4qDNxn5jMaC/9ohY59kFXYUMmbP0QacYrzKNI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/MpGKBO2j8xivTVqxlobhQ5ExsxtBRV52yz/DneoZBI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8bGnf7XcrAER/fhgXsDKoc863vzs/f9zFSX0QmBwSF8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kvW1cWkQbdgyzaVUjVrwBdQAi6oxirjNd2FD/wbLV9jCIxyFvuojg4W5AaHLZ8PkQI16nu5Q6gBu
+ZtISjDHqpwhGLwI8gqz6WxOlECJaAaJFvNG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Ah6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..8cfa141
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FWo7BhI7lODR90QGzw2AGvDmeshN9FKcthFFuFNvN+s=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HVF+rEf2sHvxDCIcQVmQomJfE4sDVah0qd8EycLtyy0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVK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Fq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..21804fa
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig127.signpartnerapipublicwebsetting" package="wrt6sig127" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..063c9dd
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml b/mobile/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..826d077
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxhGkJdxQuG7TaGJM73adGTx3l5FFM3E2ABpNpIpeIs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FWo7BhI7lODR90QGzw2AGvDmeshN9FKcthFFuFNvN+s=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HVF+rEf2sHvxDCIcQVmQomJfE4sDVah0qd8EycLtyy0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TNuG7o/nz2goFh1fM4GRCmniaZd4HSayH9Ln1HVMlbzm4VgNxa5y4SLjqLXUfKXFigrJrY+R/Znl
+0x4hy8Jb3YB5rstcj4vC5d53wWVWOq7C+wK5FGg2xsuos49Q3YsPIj2qegj3EcLEsE6fHvhgkCQw
+jb/gCaCdI6lNVWYpiAY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhki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ENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..fb43d9d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxXi8g4mzpbo0+at/po4PANn9CUglwba2XxJk3XRpjo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fyXKLltwEYPUEYRw1kcDFu4SToMK1wnsdtZTT2bREe+ib1nlxHseNOrDNzjJa4mr9BWZ+VOI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iv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..7165342
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig131.signplatformapipartnerappmgrcert" package="wrt6sig131" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..e420908
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..6abd455
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lF8gcnwU0i/+5g0gTyHTRkfD86Byn6OQpxiTV+GxRG4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxXi8g4mzpbo0+at/po4PANn9CUglwba2XxJk3XRpjo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QRb2ik/kXQE2iUWJvZdQdUZDeEAOmrBQcMCBOK6AJQG8LCfw/J99LKRUkGV5+qfzPKKilDEFBxuh
+/saMk2WGS2NWkDH62kxZb6aeydxzmJVaKjaxR1QuRcpHiy21xEx3xF/6WWSKCrw81uOdEtiOXH15
+7lVM51yDQRUjmqWYLq8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+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AYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..9799d9b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vJ7w5MXtvKay4UFWt8W6QBxrRQZS0xRBsMhXlLMr6IE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0jxX+8wqYUmUbOdOcQA3n1AQlsZyGdxC6AUkJq2vIIA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LG3kNLFMmnqlAa7nmTAhzLyp3bCPjzP5CUvB5G1ukS7luODDPPJeFTEhVTtYiyW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POomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..3624213
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig132.signplatformapipartnerappmgrkill" package="wrt6sig132" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..4eef4ba
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..f707e16
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uRVL15gODFK8DgkS8AHPnodA3HleK798ezAlz0w1FNc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vJ7w5MXtvKay4UFWt8W6QBxrRQZS0xRBsMhXlLMr6IE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0jxX+8wqYUmUbOdOcQA3n1AQlsZyGdxC6AUkJq2vIIA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+tiYGJp7soVDSmzkfCv3zguXU4yKs34a3I2vhZNdE24pQ9J+6yF3PjSE5igBRVO2xOWUMCWbQ30pf
+S2AjY+VfnOK7h6zp/UFskXPFPlwq+RM0CaGpF3QemZ2ISK0MtCnHjEcPf+KIytDK10xr7blPOkAH
+PJ3OmZ+hc8/ufj5rskU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qGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..605fa9c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dp9TWfGiv8ySlvgY4Aai+mBkCdZoS8QRQWiw6Bq/wxI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K/uU1Lk+mlKE29KhhF+Z2IUpGKaTO2bXMhMVwr87XSE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVK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p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..8270abc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig135.signplatformapiplatformbkmarkread" package="wrt6sig135" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..ac7cf20
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..5f16322
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>h3MDAym5HZkPh6jvhG1P5MywftEK+LZibYChWi3K/h4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dp9TWfGiv8ySlvgY4Aai+mBkCdZoS8QRQWiw6Bq/wxI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K/uU1Lk+mlKE29KhhF+Z2IUpGKaTO2bXMhMVwr87XSE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Gt4O94AwwT8kIkH7O3ZivgRDMC724LXfAWmDAaia/J/NJqTXEJD2XGRWb1YpONmcidVCoEbZsRAK
+obxZ4BIQQVrNm2GfONPERPeANrqCxHRJuN0tni19g8MHwTsHFwr2HNehN92nu5ZKnJYa6DvbLZ0A
+2PrdGBdpnCu32zg/orE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7B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DjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..274d915
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lY5alpF5wiPauX55xjOYoh0PT6D2gDxzGQeCD42Ueco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BC6PGMZMb0GP9CWXA/8kcH38KGZ3sUDil2vxyA7Axnk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fOBmzm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OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..c08397c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig136.signplatformapiplatformbkmarkwrite" package="wrt6sig136" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..b736982
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..6186464
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>39/m5v+ybZzkdPQSoEVF1qK2iuA5dxnynmgXupFgvz0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lY5alpF5wiPauX55xjOYoh0PT6D2gDxzGQeCD42Ueco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BC6PGMZMb0GP9CWXA/8kcH38KGZ3sUDil2vxyA7Axnk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KKYJYMyIAkOoZDFarAGAK8vUgNDIC0ZjlWJ8FD3j4WIss7r5I5KdZrK7zK6D63a9aTGNeBs+i4FS
+0qDmuwS6e8zFVONPyQBlKNXFAdopXiuEr/3ZunsDs36wxSOAIPOuMYpp1B/1WsZsy8vtpxtb173a
+0Ns78gPoTbBH9bhu0Gg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllk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NVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..fe6113c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b3jUH8y0PUl8or99LFS/xHR5z/xa8z42PFagS3f4YZs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZMv9vf4b9U0oXbM3u5ZbNN25RYJnjlH0U18XRo9+yQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+T3IlATI4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v4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..28cfa7c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig158.signplatformapiplatformpkgmgrinstall" package="wrt6sig158" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..43a09c4
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..b3f1f8b
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>V8gotz3eot+zdjJ51zgb+/rDQtXVKLeakAAHD0fspMQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b3jUH8y0PUl8or99LFS/xHR5z/xa8z42PFagS3f4YZs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZMv9vf4b9U0oXbM3u5ZbNN25RYJnjlH0U18XRo9+yQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fbW/rT0XTzwBYygzyYfMaTpaAnmUcGN5Epk9azco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8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..1efdf8f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I9KCvIPHfdBc3LwBkYLqLm13qsvrVjHfsF0/ap0Kqy8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Yc3g6Du3txHi5vIJ+E4ynLdnPo5objfNXM1C58GDBss=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ktmrl4NnJ1vj6PosFxXVu+OlQ6VdKO6jJkpeEKUt89uPu5B7uJQe52NTWsqsI7lpdckrSVd8kARH
+VUIGu1pkNMR2JElFLuG7Mwgpf0E1SiP6cHriP8IWARWQT6MlMCI1sR3hFDmA74hnHVGP5Etzz+tu
+uyGt3klvJC1I2VcM6gU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaW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DHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..5bbb948
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig165.signplatformapipublicappinfo" package="wrt6sig165" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..e9ae9a9
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..3a25e32
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kkWAgc2qt/xW0mss/A1Y/YKCwiPPTkCH6vhwwJqKfnc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I9KCvIPHfdBc3LwBkYLqLm13qsvrVjHfsF0/ap0Kqy8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Yc3g6Du3txHi5vIJ+E4ynLdnPo5objfNXM1C58GDBss=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Yzz6+npeyUE262h8OHCPeeF8xRKRl2tEcn14ZBMcxKd1Myo/W2iHN5C9w8jCaBPN8kVnPmIU2t0U
+vbeFZE+TfaUkE1tePpg0wq5elWZlt3VRIYP9p/gGhgvpw2pAcC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<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..dd86925
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dIWtmTKHyvXFNWrxhlFp8iisUCee1drJc0q51Pc+82o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dhGrUz43AxGerv5zeXzwKHKV/Lh6PG1pMv3YiQJx48Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>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tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..93ee919
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig130.signplatformapipublicapplaunch" package="wrt6sig130" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..001865f
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..4d13308
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sh7zl50EkFYB/0+BYVe/UfnXx6ucEIKkzgrXqSOfgBc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dIWtmTKHyvXFNWrxhlFp8iisUCee1drJc0q51Pc+82o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dhGrUz43AxGerv5zeXzwKHKV/Lh6PG1pMv3YiQJx48Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+CcvTtQJwGRd+vzF8MOk2O1peYnmGPfZzvQF1DES/0Oav9CpV+VM0Y/Zq9HeHTBM8aDjSGjdhaZct
+TTa9vs+OSZPOAG4T82T7kdlR+BKQLqKrSGHl07YFghclkBroDk5GUd+5k7EsZgYo0fBFcAGEHrT+
+Nm11Jd43nm81u0lOnmM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
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wJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..ea62816
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tR24wsLkGDVF9svypG1OMEZrFAXbx/dikdj+jMK2/H0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1a/USNWrosNwjlXuTPLnX6gyNvKK0+sNBmF6ciTeDqY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
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pKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..03168c3
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig133.signplatformapipublicbtadmin" package="wrt6sig133" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..0010bca
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..71b90ec
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m9ZIxFdQOR1kxlqxciL5mGFym2cG6JOsTkBEWPJ4imc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tR24wsLkGDVF9svypG1OMEZrFAXbx/dikdj+jMK2/H0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1a/USNWrosNwjlXuTPLnX6gyNvKK0+sNBmF6ciTeDqY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+N5Lx9Pd9thL09i794IB9CjTfuTiknXyCbC1ikihBAacDU0KpCFXvInz5cTijBx1fqCnv8WZkjscF
+0DG3muMGXpX26Z0T9w1PemGrNIsjCFI6vYDEKMA1UG+5TZCp2jPYT3APotP9oX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ICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..3ae33bd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YckWHMdNs78kcn2WXP+r/hA21cYSQfesUhdgD/jpnFs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p2eW17QnIML2rnHu0ZTMaZFRIRLl7WunffvWdMr/cJ0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lp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hlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..3db9fb9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig166.signplatformapipublicbthealth" package="wrt6sig166" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..42246b0
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..74956fd
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>juK3jtB37J9Lw3rpzsU48agDiNyNn8PG2pFwpqffSIQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YckWHMdNs78kcn2WXP+r/hA21cYSQfesUhdgD/jpnFs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p2eW17QnIML2rnHu0ZTMaZFRIRLl7WunffvWdMr/cJ0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LfZt92O2PM+Nl/lmnk8fx7OhFT+gMbOX7+jx+Eb50U18fWlweb2mu8xoNrXvFG/+aUEeG/gtcC13
+SSQCrqWoJ0uDucHucAdKz65JCzAvo9CyPcbJVGks8C8dB8Oxd8iA+dlFWR8v4cjy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ICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..18accbf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rQupLxBFUMbd6q03Hx5IQLUJF77vnr9T25S4pPj7wV8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hOP6nfbSW196EmvzZ4LZAtRHj8hCG5H5Kv53mzVTryI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8t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lPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..e80e7d6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig134.signplatformapipublicbtspp" package="wrt6sig134" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..37330e4
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..c5a8c4b
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KMOvxgXFjX+bjzhAXpfRLvlxVBx0vv1HQGlxtTBrd0E=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rQupLxBFUMbd6q03Hx5IQLUJF77vnr9T25S4pPj7wV8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hOP6nfbSW196EmvzZ4LZAtRHj8hCG5H5Kv53mzVTryI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JBV5711SN0QG8v2TS9zFOg3GiYLUCW20/zUhDCZemIyWaDISWZLGmP4E8r+emamNbnHglORHQx9S
+CJKhlvCHEoW9ClPiq67xoEY9Y8ujNNO3SXK/wD4lRa7iB0COoWUJwuWVvmp8/Y5erbd98LUTFAnr
+XcdQ/w05Ppf29b1XdBA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NY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qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..f61a8dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hoxnKMUPAnSDmQQx1r1DCUme4mIoDz4LROtqHDDFd6E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZXFITWrVY82dpZ/rKeTvwXaIOV+DhQGos+Mul2oy8c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+M3Py611xlConXad+icB63h51rRcmXm0JV9hWwLvIoNgYfPU7vnfkP6kfYQro+Hzd08d32DrLdoMb
+HI7apGO9ShszaOGoQnCWyB5m0ZYieE9+aWqv/nyuqApCZ0VmLCQdGYWTGn/DjwYfExI8LHVkpP0M
+FEsP2CAC6Y+JBtJvbrc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIG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PeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..17b98dd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig138.signplatformapipubliccalendarread" package="wrt6sig138" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..4611a54
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..dcb0360
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rzkdVeJXCZM/6lvwPuyaz40fh6yIE81iZBbPb5UO3vI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hoxnKMUPAnSDmQQx1r1DCUme4mIoDz4LROtqHDDFd6E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZXFITWrVY82dpZ/rKeTvwXaIOV+DhQGos+Mul2oy8c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ku2GhyeYW1Bl3O204WzpeghaGvpmbrXSvAaYyOtdAv7OffflL1VoPBPOgHfufkGJcqSmzOTAScjz
+qONSvKhHRtpqrocHntjbUU19X6K9zuMA0BgTE3+PTzNBazZOBIoOTSDP+aZ8QUvYT91GKDkNY+SH
+dqSWrnLQrMUqQ61QEms=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i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S+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..ef50c05
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3TFJ8Q6Rl9WVMV9hh3PuOZv5xT6SUpOb/Umy+yp7Yos=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tw49YNqDSs1FD0Hm9ohWysZhR2l1Rb8nGZpTuknWVpk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IdjNxy/50FwxYW2xx84ghlq772j0OAZXKf/8jJIYBLNf2ZO6U/dMk1qI5I5rXrSyd9tjKoPzfW6O
+Pf+zt4z5zcT3don33bODyHa5H31oiQ54+Z5zTuu/XSgeyxSORVltjkW2ryAqVLvVeieqNwAj6HMB
+QL40xZApysEAZd7I1Qo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4Z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Fi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..e532f66
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig137.signplatformapipubliccalendarwrite" package="wrt6sig137" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..d2920fc
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..8bec325
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xtetGNKvaMUyvsWp2K39D/qlnB+VbSmVs9ebaqt2NlE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3TFJ8Q6Rl9WVMV9hh3PuOZv5xT6SUpOb/Umy+yp7Yos=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tw49YNqDSs1FD0Hm9ohWysZhR2l1Rb8nGZpTuknWVpk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+S9Rc2B0aVED6yZZoqKTHT108IQEcL6UyJwGX/6pETrTfGpTLCcdCO34tldcGpcYuXOD39EoDOUPb
+7rWItBmdskvnV7Tlb2+Ygy8KMej1QDXHIpLzkV2keBXvKwBwVoRV8F4/Ij8xL5a/knXju6OLLE+B
+BMCG+VztwVI4k9ZT+Ko=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1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0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/author-signature.xml
new file mode 100755 (executable)
index 0000000..f58fdb5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>W6u/EVXw96o0qfZ0M79yCa2a4RJO9YnejGi1HkZ/AzM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z55akk//+MuPX3i8ptAe+EAsKcEyS4UpGjV0GPWz5zA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+XLYuKZpNuovb5JfW9gFAsqZUmTxQMFw7QQ583VtgRFhiOmcLRpSi1fhv44e3ai35Fj9TWwVHZobV
+z2eGfaq6ZFrP2bOU7cFScUnC1TqrjCWVkicILAQnZ9AD/jXCUa/2QLZ7Xg0Yc0pkzawo8DwlxYtC
+lKk/oD6tsGQnV8YW4fo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFU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IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/config.xml
new file mode 100755 (executable)
index 0000000..fb2ed63
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_callhistoryread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig139.signplatformapipubliccallhistoryread" package="wrt6sig139" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_callhistoryread</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/index.html
new file mode 100755 (executable)
index 0000000..808f468
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_callhistoryread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // callhistory read
+    var onListenerCB = {
+     onadded: function(newItems) {
+         console.log("New Item added");
+         for (var i in newItems) {
+             console.log("Item " + i + " startTime: " + newItems[i].startTime);
+         }
+     },
+     onchanged: function(changedItems) {
+         console.log("Items changed");
+         for (var i in changedItems) {
+             console.log("Item " + i + " direction: " + changedItems[i].direction);
+         }
+     },
+     onremoved: function(removedItems) {
+         console.log("Items removed");
+         for(var i in removedItems)  {
+            console.log("Item " + i + " : " + removedItems[i]);
+         }
+     }};
+
+ try {
+     // Registers a call history callback
+    try{
+     var handle = tizen.callhistory.addChangeListener(onListenerCB);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     // Unregisters a previously registered listener
+     tizen.callhistory.removeChangeListener(handle);
+ } catch (error) {
+     console.log("Exception - code: " + error.name + " message: " + error.message);
+ }
+
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistoryread/signature1.xml
new file mode 100755 (executable)
index 0000000..4bb82bb
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kxFMM6gk0NiNyrMNPtG3MSr9hh6wBGkMAWCqVhWVjcM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>W6u/EVXw96o0qfZ0M79yCa2a4RJO9YnejGi1HkZ/AzM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z55akk//+MuPX3i8ptAe+EAsKcEyS4UpGjV0GPWz5zA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+DSjB29sDHWuMa7NGHlZiQdM8XAdYcOlxErf93kDj4l5BHagEx2XmxU1D4kUWYFS1BibXw2X7XD7O
+DBQwnp4NsHUJp/uJLmgzveEI5WCs0uj0jD1Th594/yQuC+jpnNNL9ptmt2WU1+Av0nRHTWgK2X8a
+nwgx3NfmGac73nI5+kY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0B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RYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..777dabc
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LA8gQzs5Ai+rpWpMF7HeYT2ucsi+mDCSCgU03iNA8G4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XsrYQACIJ2+Hw+AojG+Iwn4F3ycW8uajMwirfVHQuJI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+MpIPYdEwlsRxvb/jpq8blXBLKC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i0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/config.xml
new file mode 100755 (executable)
index 0000000..f8ded60
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_callhistorywrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig140.signplatformapipubliccallhistorywrite" package="wrt6sig140" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_callhistorywrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/index.html
new file mode 100755 (executable)
index 0000000..342e7b8
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_callhistorywrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines success callback
+ function onSuccess(results) {
+     if (results.length > 0)
+  // callhistory write
+   try{
+         tizen.callhistory.remove(results[0]);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+ }
+
+ // Defines error callback
+ function onError(error) {
+     console.log("Query failed" + error.name);
+ }
+
+ // Makes the query and wires up the callbacks
+ tizen.callhistory.find(onSuccess, onError);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_callhistorywrite/signature1.xml
new file mode 100755 (executable)
index 0000000..d367b26
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UBF94v5g61Wk/uVRtXcv88inORsbxg4UA54ux0hAukE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LA8gQzs5Ai+rpWpMF7HeYT2ucsi+mDCSCgU03iNA8G4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XsrYQACIJ2+Hw+AojG+Iwn4F3ycW8uajMwirfVHQuJI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eaKTj8qlGEJIlD4la00YHneqo+j+yxDEkQV9aEw/OQp0FyTlD4m6D5u+JV/hVx8TFp7Adi0WXt4m
+QVrTD2DVli2cQGsOCSxLkvYPId1yXW8BuYxshHbkLHXh2xGxypHEAdQa3yI9Wwi0flNBDmQvr6j4
+RNuY6q4bcFehlvDqcl8=
+</SignatureValue>
+<KeyIn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MQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..da1dd8d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DPTMH49G0IklUPlwBhJ3pF5JVoJ0+SvQwnY3o3zYrcw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nK8N8YU7c+E3eV5k41BPYyrWURhCOrlRzjKNI/qTXEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+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wSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..25781f6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig141.signplatformapipubliccontactread" package="wrt6sig141" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..289b44d
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..6fdcd78
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bMt4LU8kmXLegSuh8BRU6Di7Ih9Zxpcbx9gPQfHeBbI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DPTMH49G0IklUPlwBhJ3pF5JVoJ0+SvQwnY3o3zYrcw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nK8N8YU7c+E3eV5k41BPYyrWURhCOrlRzjKNI/qTXEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BnCwCojTIsAnfAzdQnngH+ELy7EBFzYdS5PNG4eSEGEHpeUetCCLoRKId1HTZRWtvOW1tEeHVuOb
+jcImkii6rirqHw8yK8+KzK3Qk97pxp69a6nrNxlqvQbB8aa3+CSlupJ1MecV7IIGNKGpprsFZ10s
+6XgIMR6x/2s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GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..a23398e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lbLpsB/dd2GERvliMkCZ6apGcakkIE6QvvZXEXeN6UY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k1SVuFqUk+nOo4n27thYLMZ+yvtL+bOtc0Tz6PLsfTQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw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Fq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..9c6a427
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig143.signplatformapipubliccontactwrite" package="wrt6sig143" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..32e3ec1
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..83f0ad6
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TdhfV5/KeVlUZoClAArAaJ5jTnU2jTdKgirERH9jD28=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lbLpsB/dd2GERvliMkCZ6apGcakkIE6QvvZXEXeN6UY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k1SVuFqUk+nOo4n27thYLMZ+yvtL+bOtc0Tz6PLsfTQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureVal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dwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..fe72b87
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/RzM+z1865+Z2dr2O5+NMT7ASOImj7MaoaOuQ9uVwk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BjtqIW5Qcn/NQrf40pluvT28lNObxwydamd7BJhXwKY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bGaEyCXj04wjiRWwQ4542R98je8HddGoXk2ixAXmWTbb1OiOhHAlqfNq6j1IKsQyeGOGtd7fbbUr
+T717p5PFDZJeep/aTDUMdrGiw0ZtWerr9MtyJg5bOdejBG9hM3TShIHDmj/zLSgZcouzyft2Gfkd
+xw1DnglpjkouR6ebY4A=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZC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0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..243e996
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig144.signplatformapipubliccontentread" package="wrt6sig144" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..62f9a51
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..478f874
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NsH4elTS934vCzqNGORgLMssjrvCVQdXrZSXzfWHUko=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/RzM+z1865+Z2dr2O5+NMT7ASOImj7MaoaOuQ9uVwk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BjtqIW5Qcn/NQrf40pluvT28lNObxwydamd7BJhXwKY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue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dwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..1e3d56d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cvvMwHwZz3OWHS2gcNmp/Dt6WKzw0JoSe8fX2MGmW9I=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uyOlJGcsk1D3Cnpb5U6L9N+HsZM9A3aW11vidFFBNA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fdsbJG7rRe3pDm05QkPPdcc9kSIDlexw97phyKIeT+QKmVzCrouqMWEhFs7z38tMtlGkvdGcQS2w
+RN22hGjNNtCFQ5ZGsIi+GoA0FuGnkI2zUjdtPmp/wUseDPdRxGzqa8KHCKN5w1/XFbXZF0ZGpanA
+X7fef9k0zDciywf/pK8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfge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EB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..d39a497
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig142.signplatformapipubliccontentwrite" package="wrt6sig142" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..e0f5067
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..e54a03a
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>d04b2SexQlek0PUvVZ+yJAohsZ5fFqNXcbTttX5pgmc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cvvMwHwZz3OWHS2gcNmp/Dt6WKzw0JoSe8fX2MGmW9I=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uyOlJGcsk1D3Cnpb5U6L9N+HsZM9A3aW11vidFFBNA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></Dig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+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..307e669
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kfgB3aP+ywtO5qG2C4jIRgOjajn4PHqS97opJKY/DmE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wdxwW1bmTwpkMRrOgOOrDZILQoMqG6i2sC3IH3NX7x4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JHkaSLjyokIoW3N0lEypIrpXKnJXEqwLU3nK9WVQITw6mFndbYffPIqRcGFX8L9/VNjZoZpa/taQ
+U5PTcRfyg/VSJPltvzYNLEMZAQSJJ410m0goLTokGigUXLgt9SHIL0lIxyVzxvnFLurs7G1w84Eg
+ImHraGhL8C/zp4zdoo4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAw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I1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..7ef041b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig145.signplatformapipublicdatactrlcum" package="wrt6sig145" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..7920dca
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..3c5ee3f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B6R+mi7oijp/FC1DQLtXY0qw2YF6tPZszQSJZMYj2xY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kfgB3aP+ywtO5qG2C4jIRgOjajn4PHqS97opJKY/DmE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wdxwW1bmTwpkMRrOgOOrDZILQoMqG6i2sC3IH3NX7x4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3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2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..62d983e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D2Y5enlDsG02jeivZMcIiRAh515yS/a0oQbGFKjeUow=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zZqKskXO77epRwzdt7HwCUXk4vzACUTrvCMglR/95GA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dwhX0Zn5zoAWfHGgsq9H3iG6ipWVhehcKgdk4BJ950oHvkZhTTMFhuxr+EoyUFekii1LSwTDEsGG
+VR4NEZcZ8B3VOFBeK1g3JXrxZfOoQNm9gmXEwTxdmWwHKYa816ERgoMEaAkBOU3w/K482YxJ/pB/
+ZuE4NlOyUlbIzRUgFP0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQ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GLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..ae2b7db
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig146.signplatformapipublicdatasync" package="wrt6sig146" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..db5229a
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..8779ef3
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nybL2n7YZdIcaZobkdiC2EEW7MV8KCEK2LIXV4mrH7E=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D2Y5enlDsG02jeivZMcIiRAh515yS/a0oQbGFKjeUow=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zZqKskXO77epRwzdt7HwCUXk4vzACUTrvCMglR/95GA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gIF99aiwZfCBDqkowQMze0eU7TXh01Epdq7ovESHrDCeAWuMw4nAKkFNM6g3cO8xuuzKKDSco/lE
+RChDvgSNTHMXTv8m1dUvvtfEKrI+0nowhC5fwLh0GXfTcnDRtTQBcM3GRRfmugaV+638GmZ131h/
+rEUs2u04TyTXyValpcw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2U+S3vDeylEh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gNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..ff40614
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LxbhtCNXz734KR4cj7mY6TyI5Yd4qlX5QuTDzMVPhgc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G3X5p/sfJ6vnsLEnXTXIIGORzn6KSmtBRRF38ub3akU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BPxTwJx2tRn6rRaojG/ZOdXe+65eZC8acvwyrM1/DJL/oeHP2sylQilbUb69oOZSrGgt14EGanCF
+O1IxQR1TkZmQa5WnK281lT4rBmGjkzzHkGgjlx4KkqA68JRym+PoQ9LUrVtTGiGHfmCwJxCPSBgv
+TztTaO7EiYkKbRWTkL4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+D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sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..8acf64e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig147.signplatformapipublicdownload" package="wrt6sig147" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..2291ca0
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..2465d55
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>z+4TikAF3HZ9ydseQZEJTR2ZPDF+58hX2fnuri9h5Nk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LxbhtCNXz734KR4cj7mY6TyI5Yd4qlX5QuTDzMVPhgc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G3X5p/sfJ6vnsLEnXTXIIGORzn6KSmtBRRF38ub3akU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+hHgW/3Lf1qsEsm7O25iaaT4701p56SDAU4OUgacUIJBP/8WuMmJy7Uucu/FHrFxFUWgVckKnVysV
+CwbQdqBSrXpdIAqQNay2iLLmZ3Ud/q5OjRvDp4lunUTCqt7eoCoQN89WaB7Q5tOGlOMaVNc2m2xP
+WZCPfrubvYzTuqAyhlk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wD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EaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..a8cba82
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FvyhpJC4VgY137oNHPLm7wz2l3cm1TJNjESeLGQ+7Ho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>62hM/g3RwgfcRvsuRXdgv012jUrUPjXedtQOuhbON9Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YbSphQRGh8cZNxt0EcYVbH+zsNg/Urxx7rqm6T2XikSczhLGnsNb0ZgQ+IpaXvi2/bzwvvmbg1MB
+EDL33OoL0DwfL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RE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..323e22d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig148.signplatformapipublicfsread" package="wrt6sig148" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..6613e8a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..7a745a7
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U8TGDiEBCVByaNB34X6KGk6Cw/wXEsGFdMCumhz8JSk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FvyhpJC4VgY137oNHPLm7wz2l3cm1TJNjESeLGQ+7Ho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>62hM/g3RwgfcRvsuRXdgv012jUrUPjXedtQOuhbON9Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YIFRGGJoSzaH37wB7q8zeSfNNLlb2alddnR+DESpLja6LCkJ45jMaHaF5Z9efDj3Zw3PQVLxDV8m
+BZQ73UZ4ADtICQ8+wBgTVN84Ypf0fdeNX9pRyA2KBXwEfyhEsUTlvdSDSiCjI8HENBrsl2hz9zms
+Jnmv+phIXyAJM1LRJF4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6Z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5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..bd0090c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0hnFNR3rIQNQVU4TLuNCF9N7yTy/SpzEyqsq5DuVOU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>x3zDYOy/kDEJdkbdG8flO/qFg6uwagJ1QFaPfs5FvQc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+P8M2bEsekohZKFHvIpx6OWkUx+qjG4vsJpAysn7QKDEXxfy2weadrD88jH1/hCVxIF2aQMCRBzZY
+RPd9d0LdlXzDYQpJkwL6dSmSDJgw4WZAYcjyJXffDzGH5HF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2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..761d58e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig149.signplatformapipublicfswrite" package="wrt6sig149" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..ae1bc43
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..691c75d
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vrWST9dt360XHt8u3Y3Y2Wcdt8fdjJoKMYlzYVFELFM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0hnFNR3rIQNQVU4TLuNCF9N7yTy/SpzEyqsq5DuVOU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>x3zDYOy/kDEJdkbdG8flO/qFg6uwagJ1QFaPfs5FvQc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+D0h3Mx+YMvzfQR/RHnKkA5mjnM5KKMp+Iz+TCT2/A5mcqmGFeHhAnep7SkG6ef75XfCBUaZ6bpbY
+/MMRa7XqP+P38MokgF52+61GT3gqFBFdwqPhXtSek8N64ExRRZlw9weS4pl9DwBsOlQQnga4wy6A
+WEjvP+VPC4SrD9IfZiU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBD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J0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..5584d1c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yxFBAZoVAAF6umc28bUugNrGuacu0VTqVOOBqz0tveE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mjedGYqKVtder/eaAQfhE9ZKfudz7JlrkybgeKYAf7c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Gw1JjswzNocC3yLunM6EkN3EmG0aLl4VkwXDOYS4vYBerqJ66TO9jJ8bspT2ic0WqPOX2rZYW1Qa
+i7S7we5mcH3JpXTNMvGf5RnRCX3GvOuVeOc7VkyJ8IQASL0yAd62dYh2Giy4QhXw+1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gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..12e3c2b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig150.signplatformapipublicmsgread" package="wrt6sig150" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..4cf646f
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..f17320d
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+WXruix9E43lNuEX9BDYxFalGZdSHrow5sYt54Vfev4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yxFBAZoVAAF6umc28bUugNrGuacu0VTqVOOBqz0tveE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mjedGYqKVtder/eaAQfhE9ZKfudz7JlrkybgeKYAf7c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ph4EQ/xAuN9lrFrXfEx7m4ycWIpD1r/aeK6u152Xzy5n6xw5Lv6ShtHak7WwOXJ/0B2ZW2+Zodct
+xyBiLawQz9JqmFwm4aphdp3yKv5JqAhJWBBSkEbOyvZX6289JYJIRWXcW/GjZrMzE/ynfpgIOnEY
+uOAIjJUHty4xZE19dpM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQH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lidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6f34457
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>40cR3paHqkp414hQ2bklKXACMP9CQt5DSCShcSiajis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9tZwVtxeUhdrhCruG+osBybiyngsMu7R881bbvRekLE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YEWt8srEv84Nqhw+RpAcdOCJL2eJggZdv6aefU/EUfdsB4VndvHnuKFDGcPoqYatP9kMOfYi9LLt
+XW+uVKcRs6UaEzUixhrx1RKJ5i4kM2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TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..4b8c87a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig151.signplatformapipublicmsgwrite" package="wrt6sig151" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..dbdf285
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..593af35
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NI5/nlV2liCqqatSb9PN//a6IxisqN4rMEs1cVMv/Cs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>40cR3paHqkp414hQ2bklKXACMP9CQt5DSCShcSiajis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9tZwVtxeUhdrhCruG+osBybiyngsMu7R881bbvRekLE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fi8jKqNMnmlSpUDMTEr5fD0CWpzEVOi6Dq5vIXJyRKYLjuY/Qax2mQOJG0OiYiReZJX+ZKSQpkvJ
+EN3hGOX5Lv5gDqta5VjqbZlls3lbKXiCiNjm9ciFU+gQ8ItDRtz61hb7rZNjJUiZzSmyZni7QzUk
+cMfkYVzmCQUlsaSfp8U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+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AYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..d3df111
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5gREE3Fs05t8J9bGrGzyqdbo16Fadz4K3xkFgl44/xA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2EeX9iDL/Njtd/mOrFarmWaIo1Zq/Tc2y/fxbjEKRbg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+cVyA2zYUNKmJAC3M9tQx+xp9WOdngo/bt0qQT4fdr6lUrmEpoztNv2xPK81J7fYkCGm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gTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..a33ff61
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig152.signplatformapipublicnfcadmin" package="wrt6sig152" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..d66f4f9
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..78053e6
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+NIPHc8QYqVua7lvTFyUr0hwFY/JGZimMZxWl+pJKCQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5gREE3Fs05t8J9bGrGzyqdbo16Fadz4K3xkFgl44/xA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2EeX9iDL/Njtd/mOrFarmWaIo1Zq/Tc2y/fxbjEKRbg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+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hkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..e3f544f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A2Ad55Hg8wG0KcXZ2LJNyQlVhd+k43a1kYMQMiGLeNo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HKr23Bl6QuIJnfa9fiY3pXCltoyrK+8w4hZ0LGU2Vh0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TXb28YxIhVeyf9PHXkBl/nTvaxLbf+loE3TmHA0pjK3Ugy4kLkslrAVkzUIJVb7Zw7/cqUQV7PDp
+cIC7ZOQ1SQJjViFYE/Zws0qvovtkK9L2WaluZZE7sVJ8PutQDHSmkD8DQFqT1VK8wBhMhDXcx2PT
+8RzKcctV4RIo7h4iDYI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25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jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..914bcbd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig153.signplatformapipublicnfccommon" package="wrt6sig153" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..a8a582e
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..e020b94
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kNn+rZTGFayshWS8PaS2u+sLQS7pHAwO8z8h4hLQ1gc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A2Ad55Hg8wG0KcXZ2LJNyQlVhd+k43a1kYMQMiGLeNo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HKr23Bl6QuIJnfa9fiY3pXCltoyrK+8w4hZ0LGU2Vh0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UQvwefLxIB51BP7ylB0jyqYwTrL8YkLDF6T0Cybo9iQmf+O6eQKt8E6yw9W6Jw3PeljJ4lqxtx26
+MgkMdGlNYBxXzQV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0+MN
+nxl8+AvEukgC6qcd90oL
+</X509Certificate>
+<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..d707692
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Jgoq5xmXoJMxHkMKBkvMp3CShhiVLxyfZQauaPd/3kk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qs5GthYNYK19nFijYJQySI7YKLIsS44v+gk91nHRFw4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+MTcA2D291MyYVXDdhNUPc/pHcPDLNrKZwQSYlT5G+8VtdkTIif9M079kpcwoEpB62x16iI293HFo
+7ZthlqlWz/1tfliAAP3MXB8RzH+P8EJlU4IfLKqFPbREo3+WmMuVQYVsck7f6RUBSATs4NTDJkTs
+FpdzSzuSgGuHLxnst9E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGS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
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..1ab91fc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig154.signplatformapipublicnfcp2p" package="wrt6sig154" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..2b9f96c
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..78bf0bc
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nEClmzenPI3/8GFUq1KkqrAbTB5u6q7wFdUzkedr5LE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Jgoq5xmXoJMxHkMKBkvMp3CShhiVLxyfZQauaPd/3kk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qs5GthYNYK19nFijYJQySI7YKLIsS44v+gk91nHRFw4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>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UrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..b0c70af
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahoJ62hXGzIlRf3kcmhZAZg5U+Z7jvltxI1+7Cabo4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9MMj64XKRcnAgd1RAWFxR4nBQpkmqxVM0gEvrnvcguw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WqZhYVsyHBK/4nGNsOuRu548/tA6F8HP37IEiwCjoR97PMZR+SUVsB2AAGmE+QSd1FlqUkSGT9Dt
+LbbNml+GYRpCEKUQnbvX/nVuG1wXwRTyRjO3sTBo9lMuBAzpHu3Ap7wIMMpe41EIY/Pt5d8YbdcC
+8BatbTaK+0ImgmZZtSY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIO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zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..7dff8d8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig155.signplatformapipublicnfctag" package="wrt6sig155" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..3a0a9e5
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..8175d66
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qnYgpMgxVaspT4kxxh/KrpUWzuXX/V+V7lv27chVXvk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahoJ62hXGzIlRf3kcmhZAZg5U+Z7jvltxI1+7Cabo4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9MMj64XKRcnAgd1RAWFxR4nBQpkmqxVM0gEvrnvcguw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>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fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..21bfab5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>drDSLN7QYxtqcv7Yx8ImR8nTP9uhRkMmplnq8DLKIco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l0VM9SgAF69Bq0LJa4kXJrKt9P9amUS4Co9MPTzCyK4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UOWfXIS8DjChWO3xTkg0Blb/HsOM7OdwZsVCkaZko/oE8VyN76n4AgwRlFTUH6aqJhnodpS9765g
+yux1FiQULWcl+yJD3TJBKmIYeV/I0kmSxpFe/b3931zQDp8Fn4KjBQHOws7GJsHJCBxdWij6ncRa
+yPjCz6auY7ypR5jiaX4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yP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AYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..711e3d1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig156.signplatformapipublicnotification" package="wrt6sig156" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..6708e2e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..23dcb4f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lSbU2pj3XxE9IbdJXlhrVROk7NJvDJcnmLhj23FV+eY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>drDSLN7QYxtqcv7Yx8ImR8nTP9uhRkMmplnq8DLKIco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l0VM9SgAF69Bq0LJa4kXJrKt9P9amUS4Co9MPTzCyK4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BgiixFF/9g9FNIcm6FZXcfUJDN9N1oqgf0QOZaGwnCYqEBm87xLTpOG0xAQLGNr7UFK+/pC0eca1
+WL5fXhqhtUjDVc2P+a9EzW3zU3vxoa0rnZUGZ3u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509Certificate>
+<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..97bd5c2
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VSyHvwaRJ1RK+41UEhbrqV9Wzma0mUPXkzSn1Tsf9Ss=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ShiiyqjBeYfgNg0A3LztcJ5Hvv4EIuPGDLHRRxh0WEA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H4UhA0Z7yU1TtL9H+CiUv7J5/pl8P6GpiGK5Ah4bU4QLgKmANr/WMTuVAPkdwDWFnZSd9GiLtN36
++31oH0DSi7J3rA82ZiclUCsX5MbkKOgL4KbkkL19SZkr6xFwm7d7njglF2YqDM1bnn7sWhjPCn7m
+0oCtEwLWpea87AGcue8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxpg2A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XDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..d770b2a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig157.signplatformapipublicpkginfo" package="wrt6sig157" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..2b87174
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..07adc43
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>erntTBw0aSSkHsIqy5wY0ESm/5RFTgspxV4Pw3fQ6vc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VSyHvwaRJ1RK+41UEhbrqV9Wzma0mUPXkzSn1Tsf9Ss=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ShiiyqjBeYfgNg0A3LztcJ5Hvv4EIuPGDLHRRxh0WEA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+I4Ewk25FcEMceGn5l84YFWk9G+UCNJ/Yc4hvuDDLj4dbTcZgsz49VrK0OCQU0ei3kA2pr9rSPsvX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object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..b5e4780
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JAC2QD8Z+GEAXTZh97JSg14b8RDs6O8g74CjQY9Knhg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xTSgR5EAK3OwHXXLZlov3fGx8QCfih7fKNOTA7Lx9zw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Obvvqoxz3cuuFcOkecy+Ozod9YjsV+vYapSAB+RRcDZadZj0MuB/tuUkwt4zzFKKdjqR3sYN32Yf
+LH5KMozveyhmqxssvTCMwNddsnNL/PZuSDNLZ4uFH19FA8ZBJhZectmycS0SSp80155VyWU5T+LS
+Na52xBNFqXm5K+nyugY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqy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8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..9afeed1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig159.signplatformapipublicpower" package="wrt6sig159" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..f21545d
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..f1e5fcf
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gbsuJVj3vHi53uqAF6gre5F8fBMNXBhgR3bx8nTCSrk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JAC2QD8Z+GEAXTZh97JSg14b8RDs6O8g74CjQY9Knhg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xTSgR5EAK3OwHXXLZlov3fGx8QCfih7fKNOTA7Lx9zw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+btui/8tWbiU8MyfpC8RI5tRB+9/vNMlobcZFV3s0Ft4Z29I/HAITHoOkLXouq1+81txXVVY5eW2z
+QPZr0VB5wIrN4o2/FciS4TkIvamnNKnWidxZqR2gjOjDFKteZQD0TKZ17VwVXB7z+vRxf0qRQC5/
+Djjv7MsgM7J3MougrVI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACC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V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..400ddc6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YB+PNrs+nAo+BFlihfCcCHFl1E4Ku6ThzRT1VygcV+o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugF2HsM5E7PoRDY8LRFwRcFeaasMt6qb1hLySw+Z3Sc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+EyeWc/JuVnp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xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..42779e1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig160.signplatformapipublicpush" package="wrt6sig160" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..c5a04a0
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..6eefabd
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k1oeiFfy4vH+4iY5MYqDnecZXMmzXnqL6ZNk/FJxFMI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YB+PNrs+nAo+BFlihfCcCHFl1E4Ku6ThzRT1VygcV+o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugF2HsM5E7PoRDY8LRFwRcFeaasMt6qb1hLySw+Z3Sc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YXAvV7VUW0YhpOj8iBm6wST0ESH3WYK5qCiPebFJhV/IRea1rVA2X5JkIjn6Gt8+fU3mQd8td9FQ
+kO2oSjPuy1d3pkhiV+bHewfbTCuG4jG8/eiXvVjQyc5ZY04VoF4S0aZ9b9Qk5fqmG4/y+gqMqguX
+xOx524vMScBASx3LFbk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV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+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..e43d4ec
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>f1MadwwdJMh3xgfxrRbv6IIQICdYzZasGXHkD6oBPlA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kb5JDoZVWFPO9/F3YyiiA4jkY0qZVXLb1rrFzT+mS9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+T/y3hcCUAordU8pmjsFGW1g2OvLBXJjoHmOuGbcT94fbxCtmmyNgpQuvCfP+qJCwqiJputLcQZCt
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yd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..903bd03
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig161.signplatformapipublicsecele" package="wrt6sig161" required_version="2.3"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signplatform_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..7e44de0
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signplatform_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..b109240
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K0SFPftFcbhsqnxiLYCTUsxHjGdwQ0YJeha9IvgdGx4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>f1MadwwdJMh3xgfxrRbv6IIQICdYzZasGXHkD6oBPlA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kb5JDoZVWFPO9/F3YyiiA4jkY0qZVXLb1rrFzT+mS9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ADsWJAba2q/ErmkgIQOwQNRmF3kl44qzZcyY8v97sPn3orjhLJiJThXZ+hwIh/V4b+xw6eThprB4
+BC5TJ2EwMhTJuC/QlVurcmEZQcu7Ns1Xc5Sg0oWny/hgy/oPpR1/iEl3TY4cQDnMlMIP+F6K5Vvr
+FF5FG9mFZW3acf5jueQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZ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WN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..a3cc8f7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5fUb1WfRhhpLSZHc8k00axtDNdhhrPw8K0yoxqW8Ii8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XOxs9bQb67yDATVy/U6katz49X0+O21UFbv8dDtsyPQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ac8UsbvZhig1zdIBVV7vRQU0hx3IJzTerKtlWP3goKQn2280VLB+Q/tDjd+0u0VAhoxbWyAZDEqi
+CbcIduiVVN5tULqXUOTGAot4IrjhqD66QLcEAiEzxe1fEae0z/c6fnVcuydX+B5hZs3oSEqfLCCi
+j+uI3dAf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+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..9b02f01
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig162.signplatformapipublicsetting" package="wrt6sig162" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..1d9cd75
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..e76b051
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6xvfN7cXYP4+SaihNNiKbbP726XpAGl/F21ufgqDOB0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5fUb1WfRhhpLSZHc8k00axtDNdhhrPw8K0yoxqW8Ii8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XOxs9bQb67yDATVy/U6katz49X0+O21UFbv8dDtsyPQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IwzJcCvuh51j5Y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J3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml
new file mode 100755 (executable)
index 0000000..d428367
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugz5d3NgesKdTLi0gt6jJkWHr2l/1XmCoQeRSlgwXJ4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GLMzXeCGtCynDikTwuHulK8fUVnyIe9GHI0FHkilOiM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y0nMHIhdAcpuG0jJAv1wTJuXUeVUpLzJ5Q8DSnmLCltmuKh7ys7zpsVNOuxRlhz++l95nlffee9L
+q+w6iJa38AGIKLf1IpmuuR365IFk93YorS1+ffR8tswsA06cPjIT40aBn+PgKraq6OyUZ3602dcQ
+NLzApn3L8+StPybyous=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGN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XQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml
new file mode 100755 (executable)
index 0000000..3a2275a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_sound" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig168.signplatformapipublicsound" package="wrt6sig168" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_sound</name>
+    <tizen:privilege name="http://tizen.org/privilege/volume.set "/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html
new file mode 100755 (executable)
index 0000000..683bf95
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_sound</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     //sound privilege check
+    try{
+       var returnValue;
+       returnValue = tizen.sound.setVolume("SYSTEM", 0.5);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml
new file mode 100755 (executable)
index 0000000..aae727f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X5n3MrENMNJydoYWYJHoudst7eVtWQXiPkapWuDogTs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugz5d3NgesKdTLi0gt6jJkWHr2l/1XmCoQeRSlgwXJ4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GLMzXeCGtCynDikTwuHulK8fUVnyIe9GHI0FHkilOiM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+deXDS1UOUgBaPiJZUEncySiQteIBjpTo1WP4hvqQLmhzzGthDq9F5SIw7f/JRbPAn9IxcgYaJUGT
+4tqDiOIyL6tgBrAqckjp4LTuRjtvJMItxYO9f7Ynz07G7N0TPRdPMbHidvC0ZR5s8QrdIG/g9Zk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AgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..3c3fc99
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P+gfedXBAvoEKx/eea84v+opRyfni5RahZ/51UxapF0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J5pH1vk5FVu/M3c2F3jwSWzNTN1xhFNK+TVhC8NrgZ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVD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xqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..070d086
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig163.signplatformapipublicsystem" package="wrt6sig163" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..bb85dfc
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..c7959fd
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zwReiDbgdReeRlLuD6i/pWLXDojdNZXlj4+C5ls8ayU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P+gfedXBAvoEKx/eea84v+opRyfni5RahZ/51UxapF0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J5pH1vk5FVu/M3c2F3jwSWzNTN1xhFNK+TVhC8NrgZ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedIn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87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..921d060
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0fl5wCPywf1BtgvRbGaaHBAAFm4Yc0X97mLX9eOqexk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>znvwa4Dq3pwuAeQvpFvUWpRC2w35Fxh9RNnHuhpWr4Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SA979Al0IeeX8TaOzSAsKAxJ2a5hCYXnAXJxDoGVqlRNDl5n9hAB4ubEwrBrD+OJ+jBgz2fHbEnZ
+JavcOMHGVpZKix1qDAeGx6b9jauksYQmquj8DfPnRVVc28la0GPa1/rQTKuSqsiN5njFN+hmnu2g
+bMu5jjshSoaOHuvjb+g=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2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qhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..64bec11
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig164.signplatformapipublictelephony" package="wrt6sig164" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..2b0327f
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..48ddaf9
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YUqLJCNiO7zFR3Qfwx7OXV6UNQUL55lXCJjVrX/WO3g=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0fl5wCPywf1BtgvRbGaaHBAAFm4Yc0X97mLX9eOqexk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>znvwa4Dq3pwuAeQvpFvUWpRC2w35Fxh9RNnHuhpWr4Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SEpjPyFYQCrEeioCs7hFYZUnL/i4MJ7O7GUvAnOmROUEvpBKx1czzwvCBXnXI8YwFFnXzxVOp8ok
+Pdid2gXam+gQAt202N4EGueVqEdFRDRWB4P66itONghnih17298dZ1W6W/I6wdAWQWWsYYbBESbf
+csWM1itzoszxiRFKmOU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2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ABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..7e11b52
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8rib+Ezbli6irdOom0s/XDhXOaGv1M06H3oYCDNAUoE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CHvI8JLAt09LvxNNVKCK2c+DQe6j0BU7z73S970F7og=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ss4nnZy0Eh7G+EwRsWoJC6dNqQCnfswEJKwzBVJpK9w/341oGTRlNQLTrzpltgzevDunFyGyGdMP
+vztKO/vTmBXHe92z/jG57aZAr8E5vcvt+qnboct4i+0bjTw2Rum80wvqYgtZp5UWX166AVIYsRH+
+0G8oCAOGF957kb20DAg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMD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/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..f506ba1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig167.signplatformapipublicwebsetting" package="wrt6sig167" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..be8befd
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml b/mobile/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..68ebb40
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+BMWRMkoNo+hFyZuEBY3OKTxn4uWvqEql328+4UPpLw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8rib+Ezbli6irdOom0s/XDhXOaGv1M06H3oYCDNAUoE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CHvI8JLAt09LvxNNVKCK2c+DQe6j0BU7z73S970F7og=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U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I
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..85686bf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Nmy/4/uL3ReQKRqwVGeI/u0LI446InetDyGvrjXg+Ek=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tiUTjK6i4rYlfzcM08rBtu+2o2mevmtKNBIbTO98wQs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WRGKPBQx4lMOyRVSGc5o2e2B0w6qhZiqrkLcDK6IwClxc5HdBk9QX/QXXmp6BFk1blNcOA55Ssom
+4u2ewDt6rnxTTSlm3XhFlpSZV4d6qeSa7K0Jat648/0Qoq0QeXJ8SSSt9Mbf3+IxTbzBjujiCMyG
+7YVjGHsawz+kH+Y+PII=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMw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CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..aae94b5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig051.signpublicapipartnerappmgrcert" package="wrt6sig051" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..1d337b5
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..4793cb2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pSekglXvkLXTXijxz4qRudhfHMFHMqF1WqS6EcgdeHU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Nmy/4/uL3ReQKRqwVGeI/u0LI446InetDyGvrjXg+Ek=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tiUTjK6i4rYlfzcM08rBtu+2o2mevmtKNBIbTO98wQs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></Digest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+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..85bbf4a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E6qQqDd2mswaNavPwTeuz+VZ2d1s7SNRIOvDczSxihg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>blPQOrNROfbTTXSYLpgOfnulc+SyjScaYRbDpI5ml9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Dze+yi7xJuYBklz9fZTGJbnTNQ8dLvcN/UWrUP+33PXcGcDSuEYBgjwlFQM8BtW4ira+jY6bWyQV
+Af0bfI9asPyV1OT3sEmCAfj4fixeJnxhCuTMp5YaOSZgHv5hkjcnNFE7QdtbRJcyjCv/xSackHUl
+HZpXGM0rHnLCo3ElBnA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTy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+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..12f03a1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig052.signpublicapipartnerappmgrkill" package="wrt6sig052" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..21adffe
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..c1bce4f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B0G7wMUaSyqCJCFXUgN3pDRe8esiDKlynAKb66qLr7w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E6qQqDd2mswaNavPwTeuz+VZ2d1s7SNRIOvDczSxihg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>blPQOrNROfbTTXSYLpgOfnulc+SyjScaYRbDpI5ml9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UkhOkPDHIvA7bjnf2KbA2PAD4ga6hLHyzpUNy+5fUzoUsbj81hm/fzV1EOUgeGzSQYTD5OPxoyi7
+ItFwAtpVIipzIev2xeLxLrn1rT6G5AHV3Tx4Y9pyDcRlcnyP7xEMAsvziKi+9W4QlUBMrwLg9jcP
+o4xD79jOVyV9HHaiv1c=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf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+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..da3a407
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>woPAdCglP71QdPkC8xRc+2FCvQtUEGFN9rSk+sq+SYA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X+3U/1VNTjswOZurdZVWx4WJmFd1ZvAOTxDL98K1+94=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+N0bbx9u5TZxQ97v8IfaeQRObiokFBwRclsPJfBdrYuf//+t0PHLUgA+L8bbui6VWu07BrCRWYuRJ
+LQTi+pJJU5RJ+jXc548ReiC8m8AgWipgehgJ8w+1zhUMZrw6o6VZj0xEjz2XqQ0AsqZjepMQkCW4
+5emZMnCGtlX2xJ0ZYO8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8E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bFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..ffecb4f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig053.signpublicapiplatformbkmarkread" package="wrt6sig053" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..105b9c0
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..145d608
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IHRfIbv4VFd4zkwTOZBHC0NiVO9BOCOkOnvD4KNysgU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>woPAdCglP71QdPkC8xRc+2FCvQtUEGFN9rSk+sq+SYA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X+3U/1VNTjswOZurdZVWx4WJmFd1ZvAOTxDL98K1+94=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGY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w8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..fd75b0e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dWwUIGgN7Vx+2m832zLH/iQbIO1HnEr2CMHMKpWHNDw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>z819BpQE85MMQdQOMQFSsEeCRZZKOiXbARNvrvgaLpw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W9I1NBe1Pw1Gj3n+KUMwPuvGUc3dujo1hdp6Tvh/effSNH9MWFL1/t3fTkIg19zeXz6VWKIJNPsz
+TRxmKNtGMIkybcbW21nXR0eAKuYuPjR6o3iE6jGtvZ7IWLGqE1qrSB0jJDAKt1K/cq4aFLln6zLB
+wHYAeTZOLr9oRxZh/7o=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0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wEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..0fc645b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig054.signpublicapiplatformbkmarkwrite" package="wrt6sig054" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..a4b9cc8
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..347ff5d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NraPJWJaDly7qsR1t8daWrN0yAMHy0ogGbnzJnPzrQA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dWwUIGgN7Vx+2m832zLH/iQbIO1HnEr2CMHMKpWHNDw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>z819BpQE85MMQdQOMQFSsEeCRZZKOiXbARNvrvgaLpw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedIn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HwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..dc6a6fc
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ly2pP3F5QIESC5wjpnePTjrRj7OPLygJkV2pb+YREtw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U1oH0z13TcSpVTI8Vx9MBSzyUWhO1lqNk/pHSWN0MOg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+b/ORluZRR1By8ZYHZKJuwLK1lq1XPbTeRqiLX9nor59U7i13aUW77wEWLxOYS8c1oWki4NtXB5uV
+jmLo/NFcf6iakwNzMrFATlKY8AhpY1llKsvTbl4LFMC4n/ZIJ2E6HvasvnQW5NPdBa56KA61tNhs
+HIAFZ07yxv4leYs2uHA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1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OC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..a106bf1
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_bkread_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig174.signpublicapiplatformbkreadapipublicalarm" package="wrt6sig174" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_bkread_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..7f43f10
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_bkread_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+   //bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_bkread_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..15ca1bb
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QNdkQs3X5SSfMFFDqD4WRpmvLSYkOXZMGpwHIjEn/7k=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ly2pP3F5QIESC5wjpnePTjrRj7OPLygJkV2pb+YREtw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U1oH0z13TcSpVTI8Vx9MBSzyUWhO1lqNk/pHSWN0MOg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+I5t9/EzZEUQycU/aG9PoIaDJ7oV5nmeyd6ysyWBxbnh2f4Y8qvDRTGTqZtxnuILFo7ITGYSgHgaz
+ap3PPOjinfTerILOuSzQd5sxa/G/ufXPtZ6ADGP6IhpgsNFF4z1FSRsbxv9pXscMdimiuzT0fYP2
+UG4sOK0efwYrEvfG6uQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0en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ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..42e9ac0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qaI6yUWKXUX9ZI6MRg7VmpRVbJbqnppWKAXKEwL7EpM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjZk/6taHfvzbjtiOvsOu4y1HO4E/eDQepRcC6brFWI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Kw6vBHJ/6PNBKLlYEqBokAKL2Acu13IosRszpR5S2eYmWKZjk+eBZBByiKpaRupWYbHfa8BO2A90
+zFNgVrrlQIvLX2cZPzK49NSb8HSbOBN11+yXqrucIyWT/oNlE2VC+BySvRtBVuKqqlBfbxo5LyP+
+54YVcNE4lg4JalHmkY0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8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U5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..7916dfc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig055.signpublicapiplatformpkgmgrinstall" package="wrt6sig055" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..bd1e55d
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..d99932d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vOlQhWPpwX2MeClmvaDZA+BLR4umGOY30MfARo4WroU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qaI6yUWKXUX9ZI6MRg7VmpRVbJbqnppWKAXKEwL7EpM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjZk/6taHfvzbjtiOvsOu4y1HO4E/eDQepRcC6brFWI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+iaopKWgGSYOVNXJ8Pc+Jr6e7Ygzh6udFM8FKXxSM6eoYYfxCeQqdHtVnudOz+hJiWxEdaVPBOpC7
+Mr3awGQBTUcGPdvutZL00dQcJ0iAESjpbTMMqYXyYr5uW91HZyBvzG7QcHJYNJw7i9974IGVTTfD
+DE2ksGh9pBjo/SUk7k8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3R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AA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..ea9962c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gR4Y+R3xFnUyL2qfTb1OhydqE8U0Ura4h5M8wRtbleo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>az7SeHUxu7uLQ3Nk02V8q7353uqn2nlVpg2SPWBT2o8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FqXzgz7st6tK9rnOzMpo0dtX8cEPAlMwVyAVY7T5kgb7+vR7ETNoIVi97D0OMIBxdnPMEMXh4Byb
+9VDqUODz5Eu0/qhktQbjV/cr8PCo/6fUhDfggb5RSpGv8n7SMiVXNudl6Xoavi71Gq6Y57JBlZdy
+p09uGJoS6yIK1eP8Y9s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzAN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GmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..13b4a46
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig047.signpublicapipublicappinfo" package="wrt6sig047" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..18e07df
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..f9f2398
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6GD0fLWc/bUq7z4IcMwO7YN9l4VQ6tkAmbBIPyjuB48=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gR4Y+R3xFnUyL2qfTb1OhydqE8U0Ura4h5M8wRtbleo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>az7SeHUxu7uLQ3Nk02V8q7353uqn2nlVpg2SPWBT2o8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lZRxvrp/+UeFQNAqTN7YlddORnJTYNTQkfXY+Urtcfy57rcFVTxQycSSotbzYai4c2J1O5sNRxkE
+9DHe7qWayfzrOSNH1+JVQcpMFJWveVwBjuFigQL3nYhgWKmzkbnhTJoSYAY1oeBy5qA+AFjoDXIk
+CVUIRCuz81HSkQ0N1hE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1g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g7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..3c798dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ygq9083cDoN+bCs4B8OnAIE2JeYiFN+LV/smlWwQzRU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GY0ZF6lGhlIXfCojSNOPMc/KHdjUfW84HHqNSCKhThc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Kd6q3nAGuuToY9KgSFRb+i79li9TB01ba5ieDHUxjEkcfeOO8WSYn5tBNkOM8YZqomdrg3BMdKqP
+CqPGPhaQ/KKvyajSFQreeIRxw3Fs+QFBEG/fqaLhXemuLvEWIWupbO9wpHHUR6zg1rtpxpULk87Y
+JQjiKKZo/6W2ui5rM5U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpb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qzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..f294968
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig021.signpublicapipublicapplaunch" package="wrt6sig021" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..0fbd812
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..c4c828d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>An1lgQ2uuvC6lK13813wzrnY+z9SqQ4KaK909ASVK6w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ygq9083cDoN+bCs4B8OnAIE2JeYiFN+LV/smlWwQzRU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GY0ZF6lGhlIXfCojSNOPMc/KHdjUfW84HHqNSCKhThc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+l3l4jSDQfaAwl7m7J+ailFqWo9bOn4oqqamPAaVCPELqneviRSm+1Fvjb94IHF/LjBz+c7amclL6
+UiR7RcJAOqRtxRHsV4MSvcXALJt0oLrVNvNPxKvDzG/2tWcX43yGiG5d37mEtaYqOQ0W0kPgLN4P
+Fxm5zP0CVJpT0WG/72k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpG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xMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..fd0ab4b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Q+wCUC0zI2yrk8uqfbJ3doIZmFil6ODJ/kx9aRSbgHA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eeL++HNDgpWqfy1x0L1xc4cIZbpDXoXZBC/CUw8Heys=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ICX2ieiExacknf0Tdbh+CyKaNSIF/vKfPc49BXj4I2ikZE6dWu0KzPjQ+8X1st+uWZFG091RoYOl
+Eoi1IFPP0hZ4g/S3pQa/aQmMpZJN9BwHI7yZjoyoyNI2nFrPfr8eVuDgRz6lSkeyn8S66QOepf6R
+R28i7hq1qKT9MkMuKHs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwY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dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..61400f9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig022.signpublicapipublicbtadmin" package="wrt6sig022" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..aad3e7c
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..e0293d8
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>O5NMB8rXkoc6E6BuUAHCkxRfKGbVu3bV2JPISw/d6i8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Q+wCUC0zI2yrk8uqfbJ3doIZmFil6ODJ/kx9aRSbgHA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eeL++HNDgpWqfy1x0L1xc4cIZbpDXoXZBC/CUw8Heys=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+B05OuRkPFzB3tfmFvTHYd9MLWpFONgmfg78pkBgjpw2564MrlAgiLq1ZdUYXrETedB7BDePdng9y
+M/xJz/q0jdrNmBAr1CYBO+DNfe5AxCIfglnEWR9xaCcJJZyf/uJCdi00yNNeOMGcG0cffmN2R/gp
+dKrWwW0sQVPCL1TpXi8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPp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A0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..436f199
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Oj1kX4RDbOmPk3cx4WNZNRxuKQ+Z3HtT4ijAkml4XFI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qurfWYUNjmUig3Nu//rnBgxdpaU14oy2qxFFnZBjTgc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BdrW/D31vWuFjfCK7ExewVliCFWooURpqiJnEfki4gS4dONTYEeW2EwlgEqdVF9Vpq/Qj1oSIBp+
+DoDj08eEYXxnKv940OftjWyavXBeC3s1r8PDcmboEIjYFEPqzYwPcmmXkl4E3Lw4cabRWi+XutyF
+/wDQsIlvN0VncSp7QlY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0T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02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..3aa5aa5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig048.signpublicapipublicbthealth" package="wrt6sig048" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..693a062
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..67ad8f2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>84O4DWM8ItfxVUGKVLVA2Y2CwWnhezwNcBpN2/Wnv+4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Oj1kX4RDbOmPk3cx4WNZNRxuKQ+Z3HtT4ijAkml4XFI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qurfWYUNjmUig3Nu//rnBgxdpaU14oy2qxFFnZBjTgc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ET2DsyOilvtDLCgZTV2vB1dC7Apby5l/dROKUOSWw6XLEBM8J4N4C5UNVF9Q8zelU6DRGTaJIXui
+a/jUsuM2Zrl2vWIzxlHlIcOBToIw8+Nz8PxPQgBnSy3zr8Nbc5U9h1rcRoF3cAcEs+NBX9QtrJnz
+Nhy2NYNTrU9tG88nLA4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3h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wanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..e20dbd8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uwmRwXgUEHf9BQ0CRvlNDlcV4yM5SfdU7Pu5laNxnk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iHve4tpngXGbNiR4SO+xc9gzaK0V6Otr+iPN1+/tm/A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YtY8xTfaQJcT4/3T+EUQGsUoBl5JpzSffL8SJreH/NhA8b1xDw2XbDmom/8nlTRW3avgUWyQkINK
+OOZwHQNsQLmtCjEIFQjCejs09OrrcUr3EgS3a/LSbRblul22VF428lYOI/l01wwuyzzO6+ygz6sy
+uUBfwohnFPLIdLshR0E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAw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qGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..ffc06d7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig023.signpublicapipublicbtspp" package="wrt6sig023" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..3bf58f7
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..7e1502a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>seBAxD+5tJcozI6b5vgswajuqvTHb3Tnkq+p+/El0pU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uwmRwXgUEHf9BQ0CRvlNDlcV4yM5SfdU7Pu5laNxnk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iHve4tpngXGbNiR4SO+xc9gzaK0V6Otr+iPN1+/tm/A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KakrCWZ8XVQzuyGW2grPqPU/THx27y7sBxuCUyQIiZKJbDiK66Ln2hi+yufLhbVB2NWyP251LICT
+B13MYwNVn8wQ0/8iwpEaZNwIS2ZPOPkUd1dEyZWGe/vre70a/dG9m8mnVUrm6OsOdzOTPzHSS1oh
+QymmGFW7Zjs2zMtxlL4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1d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wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/author-signature.xml
new file mode 100755 (executable)
index 0000000..d7bb65f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D+mie7lwxCebtUJCYLMAfojgaix8yBk3z4JmOEUkNRk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GatyVNyCMwGfzYrl6G4BkKhLWZ5QFDCcoUs7K1kNZxA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZDh5+mQtnkgtUV/jikiyxAW5dPt1Cj2lGVCAf5Sc4IkjMMpTn2XArIBMbfOS4ilmgIUXftsLMCLI
+26FHXKVlQuS4qmKd35WDUHJ/UiV1ulqMp6MRQEJLvuOTP3fRXfQsM1lr006te40b7MVmsQR+z4h+
+toE8cFYBzCRm4XqltPw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAo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zAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/config.xml
new file mode 100755 (executable)
index 0000000..e77de36
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_callhistoryread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig024.signpublicapipubliccallhistoryread" package="wrt6sig024" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_callhistoryread</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/index.html
new file mode 100755 (executable)
index 0000000..20b5ead
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_callhistoryread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // callhistory read
+    var onListenerCB = {
+     onadded: function(newItems) {
+         console.log("New Item added");
+         for (var i in newItems) {
+             console.log("Item " + i + " startTime: " + newItems[i].startTime);
+         }
+     },
+     onchanged: function(changedItems) {
+         console.log("Items changed");
+         for (var i in changedItems) {
+             console.log("Item " + i + " direction: " + changedItems[i].direction);
+         }
+     },
+     onremoved: function(removedItems) {
+         console.log("Items removed");
+         for(var i in removedItems)  {
+            console.log("Item " + i + " : " + removedItems[i]);
+         }
+     }};
+
+ try {
+     // Registers a call history callback
+    try{
+     var handle = tizen.callhistory.addChangeListener(onListenerCB);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     // Unregisters a previously registered listener
+     tizen.callhistory.removeChangeListener(handle);
+ } catch (error) {
+     console.log("Exception - code: " + error.name + " message: " + error.message);
+ }
+
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistoryread/signature1.xml
new file mode 100755 (executable)
index 0000000..ad52e39
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yXLklGc/IbvTVV8SyeL9wuhSpaR+Ek9GvXw6sjRJyaA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D+mie7lwxCebtUJCYLMAfojgaix8yBk3z4JmOEUkNRk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GatyVNyCMwGfzYrl6G4BkKhLWZ5QFDCcoUs7K1kNZxA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QN87KYHDl49wP/PMMCp2H4eevr2jqStf7VyBvtyBOm31QZODK6KWwrh32AL2akH3kuxfnRO4ebM5
+w6o0JiLWGqRL9G3k2buk7U6yZuICnuD3wWa7Kg+EZw0YJBfORRQ6tDjrOuSi7hcConiAhfjSpQMO
+rO2Chk09ff2jx1wUMXY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+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d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..1c357a1
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IXHqOjm1f/2Z9ugIeViXBMqIuUBf9mwoynOBvut6z/M=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1hFOw0q5tdDjZzdo6JY6Yj9D29ZLrUQlpzszUcyc1Tw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UfnLeoFDkt5dgsdBOvJYwdj1s+a5Z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0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/config.xml
new file mode 100755 (executable)
index 0000000..3ee791e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_callhistorywrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig025.signpublicapipubliccallhistorywrite" package="wrt6sig025" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_callhistorywrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/index.html
new file mode 100755 (executable)
index 0000000..b8f2a27
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_callhistorywrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines success callback
+ function onSuccess(results) {
+     if (results.length > 0)
+  // callhistory write
+   try{
+         tizen.callhistory.remove(results[0]);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+ }
+
+ // Defines error callback
+ function onError(error) {
+     console.log("Query failed" + error.name);
+ }
+
+ // Makes the query and wires up the callbacks
+ tizen.callhistory.find(onSuccess, onError);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_callhistorywrite/signature1.xml
new file mode 100755 (executable)
index 0000000..3b3034b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kloaAtjnmu3MVQ15M8yfpZ/AaKeC8DMARiO2YXc1yU0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IXHqOjm1f/2Z9ugIeViXBMqIuUBf9mwoynOBvut6z/M=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1hFOw0q5tdDjZzdo6JY6Yj9D29ZLrUQlpzszUcyc1Tw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lUJqov9G+Xy0t16uv1tKxLNFc6llBByrIcBPbPJ2yAvJ5D8YduAbEFGmGV2S2Q5JPCsfJMnKPLSZ
+3A7AWonD30vqVALL/CcCJQ2wY2u5ZVxcqKs7XWIXBsC8bKPAY0XKr/YB2ZHTSFyzljTJa7YmdXSG
+3bc5bBeHvlZ1mMBAcKk=
+</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O
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..4d1d54b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TVc2wUzfFlctP+N6GRA47ylT/VDxGshpkZIszoaI91k=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WaXGZxupPtGYppYGf/vxaK5xH9acgO4p/YhF1u4bXeY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PY5sUiB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Y03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..de8d82e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig026.signpublicapipubliccontactread" package="wrt6sig026" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..8ee3580
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..fca214e
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0n0w90IUPt9QnT0bpWSwFCIbg6gLbXzdQ5tBzn3dZ5s=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TVc2wUzfFlctP+N6GRA47ylT/VDxGshpkZIszoaI91k=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WaXGZxupPtGYppYGf/vxaK5xH9acgO4p/YhF1u4bXeY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kzelEKatBruT7fy5/5CIaf6xJuAq79n2/UMaSiaduiL3FXpO5QXyEbswAwOnlSK15XkFXICxtbTy
+AArrRLTcEIJ6+SBf3i2YeGq8+Vi0bERKb/hlGHjq5WIz1n8nAjPEKfCtY7jF9GxBfyo2ya9AZ3S6
+bHCSRmCoPmGH4CL40pU=
+</SignatureValue>
+<KeyInfo>
+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24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..e076a44
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jTeTIE7FktNtjXj8v4R5uaD7Oskj9YbjDb6GEODYMyU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5hCCN2bg7r4HCqgefqcJyKW9qPzRDEAOzH/4NtEegaU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nln+TsXyHXLHUAlfGa/4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gesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..dc1afff
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig027.signpublicapipubliccontactwrite" package="wrt6sig027" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..1b0cd7e
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..5da6bce
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X6wfk1DCLizDdbVZx8ccePTrvMEDwaUOVcOVuUjmZgQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jTeTIE7FktNtjXj8v4R5uaD7Oskj9YbjDb6GEODYMyU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5hCCN2bg7r4HCqgefqcJyKW9qPzRDEAOzH/4NtEegaU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kky/OBfbBqwFTKUKvMbcKW1ug7S4Smv4Z2UAKSuQX8TjKmV3Mv1NOID1PKmcu2QilrUbzlUBe6r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xKLCJc=
+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..c1cbb1b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9f01Gr+1P5JS/Zfy3MWTLm8He9Tuze5XQUsCiCVRQf4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b7Wn72j6ruDk3KJKtPeTD8kCO9KmXId+b5bnRna1M4M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc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bWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..942643c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig028.signpublicapipubliccontentread" package="wrt6sig028" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..50f775e
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..835a22f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZQ1ghgCz5jP0HuMWOfs3IsrhNi13q7k19IUZ1fhLnQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9f01Gr+1P5JS/Zfy3MWTLm8He9Tuze5XQUsCiCVRQf4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b7Wn72j6ruDk3KJKtPeTD8kCO9KmXId+b5bnRna1M4M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ng6YwbUFBs3Es2mQ53CezVNf+7ThlNmCnCV6OxZ55Y2KtYhJHFfMqj08tHz4xfBWIxtUzgcJMsYx
+NZpZ+wT4/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
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6240095
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Wijy85Q0qYLlkKExSlW9o+Qe2Dc/7G6y6y7rz52afiU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>s7LJicsJgEEmVSqxFpPNmZzVu24gR6MfPmyiEsszuNI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<Digest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UTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..5ff4b0d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig029.signpublicapipubliccontentwrite" package="wrt6sig029" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..09d428d
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..716583b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iR08Xk7D/ffJgQzlvoCKZksk46A+S1n7Fc4bIqt0xDY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Wijy85Q0qYLlkKExSlW9o+Qe2Dc/7G6y6y7rz52afiU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>s7LJicsJgEEmVSqxFpPNmZzVu24gR6MfPmyiEsszuNI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZNiKAkM39Jvb13+I33HqWBDzzIAs1g2j2bNZq12+GQGwHvQFG7Jpxay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http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..2083ede
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t755Bxgb44ZoAhWQJB48opM7I9l0ypNjpbinAgwzoyM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o3W+I8obtyV84+zl0f/6GLU96/wNhV5h5+mV/7vEkQE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aE10qOO4zXrg0wf6h9Z26oehLeKuocI83vu3mKPGNzjBeFlKPEfFAKTXuKNuL83Qf0fMtkdR3gpR
+Tlc2DW0FwrKOUloFRTqkvDRSVvwQPiftGZhsrYRM0Ib1amHbd6wLN0rH9eVxfCGJTuuyDtQdKmha
+VlW+FtQyET0hp6dwJys=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ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RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..39591e5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig050.signpublicapipublicdatactrlcum" package="wrt6sig050" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..173b4ca
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..5ca1cfc
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SOKGPjhIqtqyavLq+O8O4SPFICp5N8FrpwvVMSZf+dk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t755Bxgb44ZoAhWQJB48opM7I9l0ypNjpbinAgwzoyM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o3W+I8obtyV84+zl0f/6GLU96/wNhV5h5+mV/7vEkQE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gKYeTlRNGtVuV7doVNSEe0VC3JlnGW+rNrIrVCWQjOwgfkmRYissP1JQzUSVh+qXcgp4jbekMcZW
+McMu+OXXcFSf+8gu3YdE/EBorYSeUt4nWfa2c+cE+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BAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..4f5c841
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gLe/YiD0Ofib8KE4NMRe9Cw/yIx9zlf8pUv1KR/D3d8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XXTM7OPWTciCt7gs6BHVJOqI0P3cDbZpBc+bxSoa+Jk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVD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xqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..f19c163
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig030.signpublicapipublicdatasync" package="wrt6sig030" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..f1013f2
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..27ce177
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AU7FkkOij3nCvdR7F/rVe3uY0Ev6NVsWwMxnG/RYG1w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gLe/YiD0Ofib8KE4NMRe9Cw/yIx9zlf8pUv1KR/D3d8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XXTM7OPWTciCt7gs6BHVJOqI0P3cDbZpBc+bxSoa+Jk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NoZhZmhisTyCtLODqGgjZzkM2Q2kVu9wZzvXbVsCp4ET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mlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..d959ab1
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjH6A4XRRyWuYX8W+j4heYdVj/CndDT8GFTRwcvdASg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4sbRt+LXO4FHJG+f1iMQ6PpIkabJvzY+1SRtW2HqQFQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+T9knEf+exSqphEgVQyAPl+DYhAU/BZ9wC48OPlAe5/3MZ3adj4y6qk5/BqQImSRJlurIGnAxEdaj
+0UMMDcMxvDFYvhoUR+jSlc+522QcDWs8ZWDEzQDQzXav9GNBNJPzMpXh41lABlfaIuJnRCik8SlU
+myTQTk7pjzvb9GAaFJ0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSs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+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..b104ae0
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig031.signpublicapipublicdownload" package="wrt6sig031" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..8158d02
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..f0fa5c2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AkL4/cvutOXyVAL/B7zU4ko7yioH6yRpa7PzMmw1dJk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjH6A4XRRyWuYX8W+j4heYdVj/CndDT8GFTRwcvdASg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4sbRt+LXO4FHJG+f1iMQ6PpIkabJvzY+1SRtW2HqQFQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JzTiZ3aVFK2Cy6/NukHPhvCGQHwOtHKcxXKW3XRgv2ShBbWgIy/UkDARAdq9URWaNnEGHg1bbvvK
+SrE2Fe5Kl1RJUOd1QxeaXOaaW5cZ7DCqoUKG8/6HOFB9xhI2ZBaAGv0TMeCrqGJOHMV2ES2xcQWU
+Sefqrd4CEnBjWr1zf3Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjE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zdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..b0616f9
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PKR+kCWXtC+UR9Ik3NYdLMaOEEVy7ffshIDLF8wM6Gg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fLjuzXzDOAKksjGzcx/tqAHcpki6r1AOxT8QQKZquKU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OVF85aBCd4D/DgyrG0PbLwzMlhMJhh9V49ml6ikb/ZjjrzqxeDorUp3AI6ZBAXi3N3B9Zfr5Yirp
+UUQDs/8lr8+3SetJFPLIwE4of68WJaQSONGdBKwlA3RLypM4lsWnCMBScNO9vUSTEmUooDxge5Bm
+7yr0fj57D6PUIoKafDM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyB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AwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..4cbdfe5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig032.signpublicapipublicfsread" package="wrt6sig032" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..3606ace
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..90ec829
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XAFdu+zo2rUoy38t26Z80AlQHb5AImTeI0z80hky4Ds=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PKR+kCWXtC+UR9Ik3NYdLMaOEEVy7ffshIDLF8wM6Gg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fLjuzXzDOAKksjGzcx/tqAHcpki6r1AOxT8QQKZquKU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+s8BUcoEPTePKxw49N1bs3bPtw0PszbEjLKfCc25kc/gVzF5s1ol06GbyUt011aJEmo1ipQlLDkMC
+DPZkqRgntxAV4S2dE7yBveH9KZcOOKkU28Dc9Vl+k3Mm/nZQO4CnYIiQznxN73U2klXdtk8HNrcc
+TZrv663Kvkwu5ONKsXM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yI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BgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..0590139
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VQdnZdprLsKOFM7H1qtVsC7gGPlBhgBXxeVru143Fis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vvZMXOrNYSFQNj2efrQbiwnL0Ee+oM4nY4fyD2XeSyg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+U6G0vaDNFZ/MoAnwm0X//rnDFgx15FAPd1O+HJ5+Am6S1aXDm9XvQ6t21znTOhsT8NalGPoFsmR1
+hqqofXsFWz45ss4aOBuE8aNgJwjrTZV2Czhk1L6vbijD0cg+SD6P5ePgEh38sZ4RZLfBu8481Xho
+o3hm/ui9TztqO0tT3ik=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFA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sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..02ff685
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig033.signpublicapipublicfswrite" package="wrt6sig033" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..15aa746
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..26b1602
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LQgGOIE31nzKRbFPdHz1FMo3ny4xcCcXcCGisbMd59E=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VQdnZdprLsKOFM7H1qtVsC7gGPlBhgBXxeVru143Fis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vvZMXOrNYSFQNj2efrQbiwnL0Ee+oM4nY4fyD2XeSyg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H4tiIWFDFSxmknAKEqoYsMSDZFgFfhwSSoy65KDrfWeLBnzQqqdn2rEQwK0+Ztu7eaUWoSibH3fo
+50DEtKRYrnlq8Op4imF2Fqi5zPy+r1AeozgBM6h/CRiM+wlrQ4MrquGo+V3TWyy5SnRofHkeYQ5W
+kei7UchvSyu3wZXA0c0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZX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sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..7f63d26
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+xvRQFXCxNtO+fjUsAIAQh0E0Scb7pVe0an2m45Oq3o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>EJrsAvipdH+Ak+SMmzq8OH0jLfmfZYipo0yaybNTJ20=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SD90a2XIbYbEs5LrNSTb7Hlvc4UKHcSX4soKC/aDP/LBS/5rKvZwTkIPQywntMbD5XyZy0+bXnz5
+qNcKt/2knUTjLmLXCEpfmRUJu08rvN02H96rtXTSOlKRqHuq+RnxIQSgdAt5RWASGp/ipsCn+x0G
+t5yBshowyyZ5xBxE4Ro=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo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Cu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..99583e7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig034.signpublicapipublicmsgread" package="wrt6sig034" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..f5982fd
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..b2c315a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pDk07nTD+MeNlMBMmJAHQ4vnhb7C6ZCqdREEzWzxsMo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+xvRQFXCxNtO+fjUsAIAQh0E0Scb7pVe0an2m45Oq3o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>EJrsAvipdH+Ak+SMmzq8OH0jLfmfZYipo0yaybNTJ20=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FclLITSgiLfwhnWtj04B1V30OvIpP5vruiVzBVxny5B8/sdWhDxy4617SVuAAg1F1lTSHegCmdNW
+xTO2BdShdan5pfX9f/UBigElVTmj0fQQ/e1a+FcvVk54onuGg3mTH4U2Qc5D3vGo05jiaHcS+Jtv
+zMFo44cUo9WTHBt5qmU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZ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1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..0913c28
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AJpkthw+5C7BwMsSk9+Ce6PriKZ5Xr1eClPi5nGbgSw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbC6eqxr2MjCinEcRmZHvRp19JYiFY/xY2oNL0pf/bc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QN1ONIMiPiuqTC9p1Ccbnvtkx2XjWgPn1BIl3p0D4l2NG5zdEf5IntI8s4uFTvnE8M38Y8PUKT7e
+FCK4T39B6FNE2zizhvVe91sSUBBqmJsjExWGZmJxTx/wrVjGqb3rJsxJCJyHfJJ9IjkAMtg8KV3U
+HXwd/FQGqLagELth/Fk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyP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+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..6eef95d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig035.signpublicapipublicmsgwrite" package="wrt6sig035" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..eaf3444
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..b20ae90
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rEbmcgNRv5tO0GnjRqxc4lPcq224dUrlO0bmYO1MR0c=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AJpkthw+5C7BwMsSk9+Ce6PriKZ5Xr1eClPi5nGbgSw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbC6eqxr2MjCinEcRmZHvRp19JYiFY/xY2oNL0pf/bc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+qZZ/6tislp24S1DxznnMiHSgEKBYVixgWnbOdz4dTv5Iyc4n75csWTpo5X4iqCfVGgsUdisJOTVa
+/ku+pmB3HBmzk5jsj4e2EylZBS+6DUJF24ypaT1DtwA/2Mrpd/KXf5fgQlsXYpL4hK2Keh9c1OxL
+rwgKnlO9UQmGoYS5AfA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvci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raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..eba96cd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xnpu8Xdw8mQmuYxl4L1+IjnIRP+vCLMie1uYgmRWbBs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WeIclIPnIp+pq4XdxwYdYwlsRWk6hO3puKxUeCmarOQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GRr+K868AqCsfT7Z4oMDrI+VAXd8oYXSFvZSDs2zI2I8rtYiJkFqa0fcFwBde3IiYV6sIN+84Rdz
+XamPt5HW0kl/Rs1H6KIQOdUPkwzHDgkY8aZL9fhp77pKknJPJczt9oYunkap1g3srKz8FDl1/24M
+bsy9eyMuJzCfkffUiuY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGc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ld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..dde24f2
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig036.signpublicapipublicnfcadmin" package="wrt6sig036" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..62d7dce
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..599150c
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K1DYt0RGPVNoKnmohF9C5bHm5AMvK8qyghQ50tE5tt4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xnpu8Xdw8mQmuYxl4L1+IjnIRP+vCLMie1uYgmRWbBs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WeIclIPnIp+pq4XdxwYdYwlsRWk6hO3puKxUeCmarOQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PnHzWWcA2zngb978sxpJqgoqsWVCBeJYxh5dpOgHnVY8wcNFPYkvcfB5WvJHb0Q2whDSQcgm3IkT
+yq7Dlr/uBWjFd4vwv3F2/mZ9VUr8avou7UB1mbLYN7q0N8pzEqUiOU0mJN4x0yBOO2hsRvQM/wts
+Kq5M/ZVlBzq16p+biBg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1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4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..65aa596
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BUMG7tGnznQ3kZaNilcFWonIgQR2LJD+Wft29qwgOPM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NMJoYsY8GDljMPUc/hSQmx3iPg/ZbXeQ0yr4RqlklAs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KS2ZTHJhcWpYLkScTGe02E9dmPrSgAwCCCvl6d+cRVA+QxKMrZzcdb7yT04RDCJ4csPRwvsv5RDY
+C9Ho6zWZDgrRFv78xIU05GZq3/vIQwazLqmhW73MVB78/jpfW/+XYGr1gzqMr1evCqOGv14E1GeH
+AnG1kd4H7EoWwRfA37o=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVR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DEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..95b8fbd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig037.signpublicapipublicnfccommon" package="wrt6sig037" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..e2209c6
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..822338b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pt/JqiIe5NS4dAudxJkFj7fhI7DASxp4QhfAT7941aU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BUMG7tGnznQ3kZaNilcFWonIgQR2LJD+Wft29qwgOPM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NMJoYsY8GDljMPUc/hSQmx3iPg/ZbXeQ0yr4RqlklAs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Qc1s1It8H+NL/nLdQEwb/vv0N8+PChnPettapZD45Vhd7IZmOHShYjUTMaE6AY1s+xDQoiLRY32/
+s+RAfYfob63nmLvql09fKYwO7AUwCMexZI1Bx57gIHVkG4cy9iArW55Cn7mzAbfhuqEAot/ucFQw
+O+WVjYY8I//82fFCOfc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yI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BgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..ddb3471
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>a0mZ1N1exFjGSFukuTR79p1rvKVyVDN1UzHoqRLDUb8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qfv0/4wupEXxpJr7JKoF6d2RI9AVk9sqYVLF2x8d/AQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JTvcaRJGEIFKnSPjliTaRpXXTB3RthuD6VxRcEaJ3LPBYu2N3Czj7p6Ryz7JFGmk1yJ0EN2kuWRo
+fIzGg8iMxhuZPHDiYuuKXKPtl3o4tlxTUwE8H9Lrq+EsMkNX18RGzrnP6lUZvtvAwrNjErwZZovc
+RmIJYqJeuPhUescpfFI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkq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UyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..1d6f8fc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig038.signpublicapipublicnfcp2p" package="wrt6sig038" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..5e6cbbe
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..e3cd0d8
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>icec0l6kSk91KpdhjJGDq0aV+YZtEVX183/IrXG6Lx8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>a0mZ1N1exFjGSFukuTR79p1rvKVyVDN1UzHoqRLDUb8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qfv0/4wupEXxpJr7JKoF6d2RI9AVk9sqYVLF2x8d/AQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+oAWzySNZ0SJctxKaor60C/ZiKzPR2t1ehuKrKS/4DOoC0utNGoYWORjfobNzoITFD4K6n5efCsCl
+mIYPW9t3JzpbKDx8GAnaFRO9DMQ/78ERtZxOgDE+CjdSeioqi7QaZVjHJWAHuVqjJynROosL4OTR
+bbqi1IYvzXBG8IH5opY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDV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VibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..e39c8e5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uKP4jgVT7pF0chdM7GuY739iHXJ/oLraKpYNcwVjQU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m9ALRZNqFJNhehsGAVCIYZLlDCzii01lUw96/K9Xgyc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LUPRCg7ozZRGuwfqbf1HBxp5iuXyLilI+A2en+Au+X89TK2wrBjBrxainGciaqghEjbdRR/s/jZG
+9OwUz9r74tusjgO8ANDaBXTBXEDIGAdt3HRSFAuA62f9N71N/V8UqxOOwTwoXgniiZczonsTzWUF
+LbRyx9cETZYfaZH5DC8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwM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JKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..7db633e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig039.signpublicapipublicnfctag" package="wrt6sig039" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..9dc6768
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..747952b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U4D6DiaLZv2C4YXpsSv7XaAxi2wtwB6XbLZcP6FlZco=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uKP4jgVT7pF0chdM7GuY739iHXJ/oLraKpYNcwVjQU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m9ALRZNqFJNhehsGAVCIYZLlDCzii01lUw96/K9Xgyc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HIhrgrRuQ1V+rJRKzlTPXaVkTjzPZS7vHNba/QmUBTfarXHlIq6GHjrDsrelHWHBXOcuooqyJ1MV
+P4peN9CvY5rXAX/ApILKXhhSnCw5c3AM0dHh5GRQzWURdAAIiU+fikTsChPgbGxHcQJLaP/582JI
+lOvYMNSmD2C15WnTJIo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3Ry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A4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..54c13d3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o0psCeYbwygqvvmNjBg6xBQ7PbhwDbwyBMo2NGmxng4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MrdY5elB/QDavMNYXshozb5gxwIF9EbuBVllzxTFzhc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SvcZOQm2OKd38xgaGGqSSmnK4YL2fgvFVP9hcjnip1doOLypKErPpvDr34x89YeEFVvKPFayC/21
+el8L4eEtNR2SUHLxsGcyWwzir0SEPXRzbVBJEyMsX1FGYQK/gZBXANHd30MIUQsl7EXC0oEhWoIO
+FUhxh2Yk/MA8rz9KdYc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEF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Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..0a9b3e9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig040.signpublicapipublicnotification" package="wrt6sig040" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..2bab89f
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..5746b9f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VAwhAR8TOya5ooAhp7oX52sTdjgXGG7FYpEGb+ihFz0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o0psCeYbwygqvvmNjBg6xBQ7PbhwDbwyBMo2NGmxng4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MrdY5elB/QDavMNYXshozb5gxwIF9EbuBVllzxTFzhc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZFOikM8BZ+wYXXJy0QCr4IVoy4P353UFlYJ5OoqQJ2qhUjnKks9vMEh33FuGPS2mIqJCEOVYFQXC
+cse7aUQFXjw1zUgY/suk5ZsYuCScbDnyDiwf7LYcHrb2wvghggyoCOHl1JjC4z8zY4j+PrgiICUC
+9k5cxAZt13w8uJ+/B7Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343Rp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ABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..e7b0d8f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>L+L3+/SYLarLkwFxnGXM1UeP/tPBDiGJRwh+jTNr8Vw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yLX72Zx6N+B1zXCRKikl1DnTTdi245TE2UtgD2oTYrk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BshwjfmpFWV23BZMZinz/Ns5D5GPMSCwM5CWr4mQp/hnV4boSReP2LsJWUho9O1e8TGXPaG7MHem
+geohSAuq5QFCdKEWfFzU8oY7VecdPaS/gkCvAfD3tHW8S/XTeJ31hzTT/4BDfNJ1jvpobmpm1Fyv
+jPtGgEmxhkbY50w+blA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJ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2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..5e3b2fa
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig041.signpublicapipublicpkginfo" package="wrt6sig041" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..d63619a
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..f2a6e3f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CAiC+MarAHJ8Ixl1W9efZ/MSyn4cm5FgnZ49tTqVWFo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>L+L3+/SYLarLkwFxnGXM1UeP/tPBDiGJRwh+jTNr8Vw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yLX72Zx6N+B1zXCRKikl1DnTTdi245TE2UtgD2oTYrk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Z3sEMbpl8OZzpHsDtrBzU7WlwUKq3VPRE7la85taHiFmSsLdEBiS57bdV0xCjLEi8pFiYnSBLb6s
+dm3rtLL0ZfX1bkSDJbmKrrNrduydUQSNvSU/7en34AL83xRWy0LYHC6xCkvNhFX+VK0vK59CWvYs
+SkVADABh81j/kmvQCbY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU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QH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..5952238
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ja6bSXRuWiXQZ9pXPrcLMs4ipPSRi+XYgtl+JuzyKC0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>93LED7pfC0ymZBnHRVeE3G/cE+5xE2iwXo9AzuU20GU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Wt0/698jI0zU+CQluu3u8FnZ5bouf13UQcv4IC0B4HpJLgqjJ67GXcsu9Ev9/3xQMR/yiJ4Hz4Df
+0EXrMIA6sUbKz7WDPVe8D5gYv6guOAZbO6N/Sbg8N2zrKb9mQ2gQsSZQC6026J05DQsX8MH6W9Y5
+oVc7NzwXqOICwGNuYoI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+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20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..7ab9a74
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig042.signpublicapipublicpower" package="wrt6sig042" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..ecaa340
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..d05576f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z+cYZuewGJz+F5MbDS13rlvJDlCX3TAx128Ge1LsclY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ja6bSXRuWiXQZ9pXPrcLMs4ipPSRi+XYgtl+JuzyKC0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>93LED7pfC0ymZBnHRVeE3G/cE+5xE2iwXo9AzuU20GU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<S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Ve
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..0d45f16
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rRzh9QUejpFJ46Pzj8UoG4fhZpSuaD2VH5vUlyTfxIo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AfhqBYUiSpyRi/5UCMWw5ruD4I82aaF12jfjY3cTY8s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nl62vg57eFhYQJHAlPHUCYS+CB1zNI02WY4ICiXNIAjDHCG2UTFu2qag8kmp3RVPDKiY2vKx3iLO
+yDfB7AlVs/jajBo14DX6wslgQVsQ5weBUvY2e/eB3vLJrNlPAw2ceju5MeB+NYVcaYipXDl40BWN
+F34UgXULIj8goCPzA88=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfU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xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..f55c1cd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig043.signpublicapipublicpush" package="wrt6sig043" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..cad177b
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..c367faa
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OvxgDrOKJ8NWMEcYU4Lz7z0H1tOKgNyJP/gL4vPX8kA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rRzh9QUejpFJ46Pzj8UoG4fhZpSuaD2VH5vUlyTfxIo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AfhqBYUiSpyRi/5UCMWw5ruD4I82aaF12jfjY3cTY8s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+L4SJ9ojLcPtHtyFnipxlPigjvAJ1uNBZ4UC+/fP8sUmYU11zRrbJaHjCBSJ8C36Ph8F6PZwrNGWj
+LMjGq/djxY51BNFpcMg+h/S+v9Ox8BwOhYe8H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wIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..da6e9da
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5uj8qvCY/+8GHHbJtBi9PERWjkarP2Vnd8g8QbtFoJk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VcfPh58NxHfXoa3M0XVWpOH6BNXyml1CIc+ygt9QxV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30Z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04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..5e69979
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig046.signpublicapipublicsecele" package="wrt6sig046" required_version="2.3"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signpublic_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..429b65a
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signpublic_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..a65f7e7
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iELTpt8PgmuVIWx2/a6DBV7QBe+UEynWUTEY9p1pKow=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5uj8qvCY/+8GHHbJtBi9PERWjkarP2Vnd8g8QbtFoJk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VcfPh58NxHfXoa3M0XVWpOH6BNXyml1CIc+ygt9QxV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HDwb9CVzyqX6AYnZ51gtBm2u0nwFCTz0nOrCijCRXm5C9k7EiXHe3dD1mAYwK6OO0kLd5yBrsqie
+CWS4V2Tq4Nm4xAu0aKVBCeX3AfI+PL/OvlbuHTaMHtgnItjHulsYPf796jas4WGV8jWbnqfm25DU
+zUkahOu8yKzXqTfnd2M=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhk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BMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..91ddcd0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lKLJCd8/+gmhvcrw6sAFxdzc7I+FFTAiFOuD43xB618=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cXDp1C/ULP5Bw/LNNfA0yo7t+QGxFvxw1bejLf0znq4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+B6ESe+WmfUFwNH1YPrZhmywU9gmr7ITRJV9W/2jkiid73nQ8T9x0oC82p8kH7tdDRYQx48ryT6gT
+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eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..395d18f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig044.signpublicapipublicsetting" package="wrt6sig044" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..c492a98
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..43a9d66
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KBKK3InGVqv5DrBcv8e3Nf/tQzBAwgQkRwttOkjwAgM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lKLJCd8/+gmhvcrw6sAFxdzc7I+FFTAiFOuD43xB618=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cXDp1C/ULP5Bw/LNNfA0yo7t+QGxFvxw1bejLf0znq4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbW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OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..d36a0cb
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bhxurcspeolaafPmFageRq6td8IxdG0W0ASzOqqJdns=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WVclKdjhduq8t4FitHB6a93VjHnCvvsGbM0mExAIOY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WjlwiKNvYjsBWi3io4lFa0pkCOVrPBIvPq5JbX8uIgwWL2kx+cJ71Cog62DQJM/Si4zUkfmHCYmX
+2L2xpsJc0wM5cqGzKArGUoHcUNE5/FxXiZ0QLjDIT2Ryy63d95/RCQmz0rCP9X8O7CY6LklbHkdE
+2nzVBCUNbKLuZeMuzWw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAI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/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..c0e3992
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig045.signpublicapipublicsystem" package="wrt6sig045" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..d30bb81
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..af224e2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IVs88aAjHNOEZq2YTBkdiZJPHZ4Vygcsvim5BbIocAI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bhxurcspeolaafPmFageRq6td8IxdG0W0ASzOqqJdns=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WVclKdjhduq8t4FitHB6a93VjHnCvvsGbM0mExAIOY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+geHAq7lKL3K4sYQjtzUsDZTlWWUueEfMRTN+a/rvOajHJqCnzRGo9YC8kULKjxiNeII7OxNbuCGX
+7U5awJdsucqBfivHOPDH+y1Q2nbjg5A4LbDMt50KrFqxTKRjBOE5rSEEfNzSwtGmNwYfC6Zt3pcK
+KOip99k9KY6X3rNsx1E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02T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O33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..ff939d7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>obNYf1PGmMb1W9YKNKvJO+4AtS8soFM+JXRmr7R8UOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2P5mbX8NekT7dZtKBFRN7+KZ5KzMHk1eQdfLTo62fEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+khSHNHOeG9uLEMo6byTHkCC7FuMsMBCC7w4Z3a9uX6IYEn4pYC8okdkmDSH8Fvk/Ix3stLKCWhh0
+g+tVCe/90ak+zS9qPvCm9d9w2t1ZoKkiz5ZpKITnTD3BAfXvdW2TxeADvIu0EVLkAckUYcq77KsZ
+at6+tJd51TQ/8tU/k4Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwE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FfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..11e5113
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig056.signpublicapipublictelephony" package="wrt6sig056" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..1e91d2a
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..ff0282b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ihCJPLOiD4P8qg+BuDBO/xxbX4JlGTOqi2DAB16mBKk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>obNYf1PGmMb1W9YKNKvJO+4AtS8soFM+JXRmr7R8UOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2P5mbX8NekT7dZtKBFRN7+KZ5KzMHk1eQdfLTo62fEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gCfdxb+UiQ592D1hZVcOntYXcKtJUNrnB6plkWgpgou9cB9N4HrL6PlIwi7z9iItOOwB4SJCjFkm
+SUG+T+8sGPtguml2TfNXbifBFEhGBxGSz1qEVrSp3RIy0huLSXyJ5bhvbsD81hUOv7hVAW3K3Nm/
+x4MiQkzxv5ZUUcecfRc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+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+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..5ed0d74
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+SvLCKVhsm2EgRY8nGXLBK9Mj1tI1z7oFYJXpYqkh2A=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1k6ieayRP7Glh7FPJvnOrLddipbsy/DmoTg9nDw6lAM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fQ9v4RKyLoXSq1jbgeQ8/n2lKM0VME7Npll+VcrwUfmGuExGO/kT32TXIEMJ5rrrJXrhimOfdtSF
+JTEoWuo397Va3p+mbFJahyk1MrYWQR0HfzuTB7zLiTZug1FdZ1zW8xHr9Nqjys6UESFoQF/BkqZW
+GVMUISn13VXQPo+IK9Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGx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ZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/config.xml
new file mode 100755 (executable)
index 0000000..b699961
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony_apiplatform_bkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig175.signpublicapipublictelephonyapiplatformbkread" package="wrt6sig175" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony_apiplatform_bkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/index.html
new file mode 100755 (executable)
index 0000000..6513a08
--- /dev/null
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony_apiplatform_bkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ setup({timeout: 90000});
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_bkread/signature1.xml
new file mode 100755 (executable)
index 0000000..935d65b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+lHNiQ66jdwuFBLFAKd3des2n9QwS9vWPDxQu7eN33Y=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+SvLCKVhsm2EgRY8nGXLBK9Mj1tI1z7oFYJXpYqkh2A=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1k6ieayRP7Glh7FPJvnOrLddipbsy/DmoTg9nDw6lAM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BMetHGm470mGKDH+EGl4L1UBng2SEavbO8xv5qWwd7pcWNG1lG9Coe0D4JNi/CVmxPvtNeMqkmOn
+dViXUuJ6gotdxZuNmFIiM/DLzjJKeT6OlxeNwuGB+r9e1QIQ8ZBt1gqD21ur1+B3DAobR/krArqv
+eUawfNQr38cn8pvrTf4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJ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jIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..c3b23b4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sZagqqPrSBswcvk6MjcSxO0QoCtuzEGit33xJ6GrTfc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l4RgmHYb3xWcgFXCeWMgQXn5rshoKc+3kDY0WC8EIJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+jzxQXSVpd3gYjDmh8NRI9PGnLxPYbpf2H5kfDChzhrBWi99CbIPPft/Y7siQl7UvqjWX7Qk3TfYQ
+FiiT3UHCziOva03py+d0iNwxV+LpwOPxFRz8bTjiYXchNL2UL3osR+FGF/cSxGD/W3LcctuGSIbQ
+Ab5MtVXjWniWmtec9i0=
+</SignatureValue>
+<KeyInfo>
+<X509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org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..a1a7821
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig171.signpublicapipublictelephonyapipublicalarm" package="wrt6sig171" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..0c94dc3
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..0deebfe
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7GbqYVIVO41rtGnyAwuCd3aloP8Ysl2VSF7v0M+TAPg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sZagqqPrSBswcvk6MjcSxO0QoCtuzEGit33xJ6GrTfc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l4RgmHYb3xWcgFXCeWMgQXn5rshoKc+3kDY0WC8EIJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+jH3ZHwhzT1LLFLlk8glN2pbhAhxLgdsWOULBMh29X4ypvVd1RvzAk4tmjiYRCVmpj8kmdwcByWNL
+rOHQ8hSyYa5RwCCu8Qv3PwaWVk1z3Ngv1jC6xZHmRY3CYNWewGq5kP3jCDUrIct1O3fIbELyQry6
+XPnnYsDNxLqhfsGk3OM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
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Kk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..651336f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xVkKYZuayZhP1IAbTLEP4eUFAG24Pw12cWl+MG9WY/g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HXbVi+c97CfeWKNrQJL6J+xruVF0iUOkYEIuaRRwtmg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aZ3TIpqTgm4yaQ2KV69MZWUNAYp0h0kK6Q676K1HSImYNOBt9PwbeBfVZjip4IBaad6nhjsKlhj2
+zD1bxT8bg0gD2m4+KTFn5ueTnloIfT5J8dEZ4ww+ODld9qpyTjZmaH7f4Z/JUqjf76Sz4TfiZxYv
+Z3ntKJWhboRUCNW75Ks=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHA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SI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..6fea76f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig049.signpublicapipublicwebsetting" package="wrt6sig049" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..5fe83e9
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml b/mobile/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..1c607da
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SFTMrwpPi/03z5zBqNbKx4Zia7oMee6nU20zv0zpL5g=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xVkKYZuayZhP1IAbTLEP4eUFAG24Pw12cWl+MG9WY/g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HXbVi+c97CfeWKNrQJL6J+xruVF0iUOkYEIuaRRwtmg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<Sign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mrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..9675a4d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>H72Nt1Quq6+Fn51Amj8PerApCBnAnyljSPasRhvcDWk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eZmiQBhFMhSUXtFMGnSuVIlNxLckDB2lJ6KnNHLwkZM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+RvXPCj+/FDvTsDB7gXeqP/X/DBm12sZe76Gm83+2/C7IMfaXVdgk66gizjEGTPC8EEh766/O7iOf
+rW3eFdohz6TF7xqs7U7TTtH/Vy+KNVNjDTDI2HGmAq0ToSYVEucQROZe3uhvC6ORit39aDWvMa7b
+3+uhMtT5QlQo9J9lr/s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XE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1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..cde633c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig068.signuntrustedapipartnerappmgrcert" package="wrt6sig068" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..aa1e45d
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..e638c43
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NQXGPoPYmXAdceKMmDf+v14rDhKKY2gHsN1Z0QDyrMc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>H72Nt1Quq6+Fn51Amj8PerApCBnAnyljSPasRhvcDWk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eZmiQBhFMhSUXtFMGnSuVIlNxLckDB2lJ6KnNHLwkZM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<Sign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/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..4ad7331
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IGN6PtkmZtIYbM7ChatBCo1oytDoWILziTKiFLRjIUs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i5qcK+/FHivMhZTzwQeR7Eq7c4PPT7rTO3bx955cYKc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fvsbFnEtGeOgXmA6+t+XL2ujfDpcV58qHFQcL25DYubmgBF5Ml9MGtuH8rxBbzs7IK1SV7wQDxrT
+Xi1Oa/JwCsrW/NbCGbY0EG1lZDc1y1tbCU/TaTTQsnU6faz3ADdjR79XM+A9KpKxlnQFrFIAmeOf
+2NcSN7GDjqVKR6Pnz8A=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3V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klH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..63a3780
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig069.signuntrustedapipartnerappmgrkill" package="wrt6sig069" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..485c554
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..164f719
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GAPATG3ybxIOE4eWxKF1ZXph2sqf+m30P9CsxGBNrpU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IGN6PtkmZtIYbM7ChatBCo1oytDoWILziTKiFLRjIUs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i5qcK+/FHivMhZTzwQeR7Eq7c4PPT7rTO3bx955cYKc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=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atureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml
new file mode 100755 (executable)
index 0000000..7e065cf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OGajYrt1DmfdquBE3lykMIqf/+c33NbByVZHXxI0HzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LbYEr5j7M4asPYnhuOV21i+b+DpAwWBdZK4b6QEcQBo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FYFK5GOf/vdWvsiBsKswBJoSmeW6cJMHdfSkxUg7JVSIyz9+aVnRYVWz9wJ9Ymqq3P+ywMos0aRN
+QIXk/xHlSqSEHkGtjzAUIW/cdt7Wy1RUcRR9Kwsw4YeIrEiGv1F2U690Qd6BZX8eBFbcq7dBYuGr
+lh+qd8fcteqNC7WH5gk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
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66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml
new file mode 100755 (executable)
index 0000000..b72bc46
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_nwbearsel" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig092.signuntrustedapipartnernwbearsel" package="wrt6sig092" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_nwbearsel</name>
+    <tizen:privilege name="http://tizen.org/privilege/networkbearerselection"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html
new file mode 100755 (executable)
index 0000000..9951b30
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_nwbearsel</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var statuscb = {
+   onsuccess: function() { console.log("onsuccess func is called"); },
+   ondisconnected: function() { console.log("ondisconnected func is called"); }
+ };
+ function ecb(e) { console.log("error callback is called : " + e.message + " : " + e.code); }
+ //networkbearerselection privilege check
+     try{
+     tizen.networkbearerselection.requestRouteToHost("CELLULAR", "www.tizen.org", statuscb, ecb);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml
new file mode 100755 (executable)
index 0000000..31e7253
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qmWNXpC9f4SlL+2iWnNTGAf7FU7otUB8nQ1o69Jr+bg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OGajYrt1DmfdquBE3lykMIqf/+c33NbByVZHXxI0HzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LbYEr5j7M4asPYnhuOV21i+b+DpAwWBdZK4b6QEcQBo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
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SIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..9e031d3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>O5qBOhJ/NqLOhjqcxoXMYvlrMYR0W+8i+mailsf0M5Q=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SGleDW9OqxBZ2i41AQn3yxMPzVeTAmbEH3J7CdOTdyU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs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brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..ac077fe
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig070.signuntrustedapiplatformbkmarkread" package="wrt6sig070" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..42cca6b
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..3ecae7d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SRWqA+JMDYxM1cJOoFBhzIsISelgTSSRrSHeIZLCunY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>O5qBOhJ/NqLOhjqcxoXMYvlrMYR0W+8i+mailsf0M5Q=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SGleDW9OqxBZ2i41AQn3yxMPzVeTAmbEH3J7CdOTdyU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+M3OzyDbH4acSubjAGtqZVokhNvDiIEgTZtE1CL+OFjjm50ax80T31F3VPoVukzSLyjd0msTK1Zpy
+ogo8VHiEfrKGNmaXCFVbg4mbFNVN0UY6KwxL9ZLEwlHqrduDGBCGGZ85wBXzC/YIIAocj/PC2gd8
+wHW0NseJ29zfVNUVAlA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
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QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6afd2d6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VTqquP9GVuK4hlhV5G1jRN7E+MFRBuPnOFPQ0fLRwOc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qDS3L2UVuZT4dhLDLq06mlnE1KBrsOOuJir6TyURYJs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ihm96mqOlf8A/jC53ozmeFnZEIcbCQEMh90wd2PAQr0XKIo+vbdlboYoXH/qaVSJN06z01RBONtd
+fBhJ6uouMOFasNtUz4qd194EIiX1GWAy2+AzEdSEHlt+Rx+uIX5NeoCAiGRMnPgADRWtksQ5izXk
+fXoqTD91//taPzhOjQ4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yInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..ab2aca3
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig071.signuntrustedapiplatformbkmarkwrite" package="wrt6sig071" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..8df480e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..a6eef6e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zQzQ/UEa5nkcQ3L/jvqXqYoE5GVM/EL0KUK0/Q+uDqw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VTqquP9GVuK4hlhV5G1jRN7E+MFRBuPnOFPQ0fLRwOc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qDS3L2UVuZT4dhLDLq06mlnE1KBrsOOuJir6TyURYJs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nruMOicN2W9XGU3QyJVuPInsXBX2PZfL8MXqYjVJcj0XfkxQ371AkjEffGqapCbt16kq99Cyksfs
+P3cWN/PdcbKH24zbRIyAEGoaxZ4sbiw0P0vdU28PbPeT5nSVOqI6VqhFNfsKHmWU89ndINuhlsCu
+YUwVsxdTY6OxeFvM9xM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6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JpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml
new file mode 100755 (executable)
index 0000000..bdff505
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fUUpb6YcBSCsyFIIcjCM3An0GcfhZjMkGewFOzjsXsM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hY87i0K+9takQxqx79RmrQg0JQafZgcN5wli/PSlAjE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GtZczTv8K473LVBbl1cLY5zqpCqPPPiJsagPupiNv0VY6LCN8kVFRYkjeSbrvp+7HGJxMh/jwMEV
+wXpq4jczsFmGtLXAhLEeVagD3jQR0B4nESQ4t6Zrwywx0tm5+d05zk8f///wfPyKFZ58Ivl3NPPC
+NmRG46Al/5IxFQAUx3E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2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vbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml
new file mode 100755 (executable)
index 0000000..d2cafcc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_btmgr" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig090.signuntrustedapiplatformbtmgr" package="wrt6sig090" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_btmgr</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html
new file mode 100755 (executable)
index 0000000..fcd6257
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_btmgr</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+var adapter = tizen.bluetooth.getDefaultAdapter();
+
+ function showMe() {
+      if (adapter.visible == false) {
+          //Shows device
+    try{
+          adapter.setVisible(true,
+                             function() { console.log ('Device is visible to other devices for 3 minutes.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+      } else {
+           console.log("Device is already in discoverable mode.");
+      }
+ }
+
+ function hideMe() {
+     if (adapter.visible) {
+          // Hides device
+          adapter.setVisible(false,
+                             function() { console.log('Device is in-visible now.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+     } else {
+          console.log("Device is already in invisible mode.");
+     }
+ }
+
+ var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+ if (bt_always_on === true) {
+     console.log("Because Bluetooth must be always discoverable from the remote Bluetooth devices, this method does not work. NotSupportedError would be returned through ErrorCallback.");
+ } else {
+     powerOn();
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml
new file mode 100755 (executable)
index 0000000..808c92a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HP261E8kQm6CX1frD8oeuAM4Eu16Bix8pDohsBTUEN8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fUUpb6YcBSCsyFIIcjCM3An0GcfhZjMkGewFOzjsXsM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hY87i0K+9takQxqx79RmrQg0JQafZgcN5wli/PSlAjE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bqhkIJddCOU4W0V2hZuho3CL51lxI/3QqbP63QwfZfN4pmaU16T4HBTYThRquybNo8W4wl2eZHQJ
+ilgbNCd2BcWouErwdcS/5oPl2eGkK6w9sJzudRTWW3lkpNCVMZvtj+MYvsGkz0F9BxYNzDPs6/GN
+ZIzxT58LqZr1HAqnm5s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MI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5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..3f6170f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yH2kzsL0a6mD0X63scSE3r5QidGJ9NrkLhWomlCPoiY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A/aoSSBdLnclGvn5/MZxUYHTxb3njqARaRULz7SrIj0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TxmHCn6j1SG9l1AMDFwEfMgubFLTez21/O+qYa5C+AJ4ioPvGP2U57zSfOYCK4EZF+SdMOv8BoUu
+3IFV+/Cda+YgvrOio4ScI9Eqq6Vz8ZV/goJzK2Dt6zdmTXoWCvZFonXGNwefeizZRUlv3Lo70ST7
+iOlTzEcf7nvzC/jADgI=
+</SignatureValue>
+<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op"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..bc68387
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig081.signuntrustedapiplatformpkgmgrinstall" package="wrt6sig081" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..4e8f936
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..772ec04
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UKxVCWP4eaKno2exe5XFI/Q1QG6WZJT7gJYpHdqiIA8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yH2kzsL0a6mD0X63scSE3r5QidGJ9NrkLhWomlCPoiY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A/aoSSBdLnclGvn5/MZxUYHTxb3njqARaRULz7SrIj0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Q23/5JUtc9UQlg7CUHinkXuX5Uo2Vsbrfq0nNFZixbs0iq20q6BvhtQ7KYXcTd9k3ntOh5I1aZ1B
+s/2SURwHHV76xbESe5N66SIAtwvo9eFbew+Q3bg5txIZeaJHTjGozndShKne5uVKUX4DO4kxTY1+
+2TvnL6ODzbyiBYuJse8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509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b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..a022db8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P0d747p9GqgILcE6XEjgN6vYDXfAb/yYKu/Vackweok=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ck9iywlOQpjHuUiJIVsIVmv2IpLq5TIPIjRQvreANpE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+f8V4xIA1+7HkSUVchqyvALHpIgWGqYnCv/6+UcVs47XRqDEzUVIsKdsfjGIFcV99Sub9ZFjwFYAE
+56LkZSr6IhCQAMseMTvvjy1z5s5C9fCLk46pQGCaeH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q+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..8fd1a68
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig057.signuntrustedapipublicalarm" package="wrt6sig057" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..6207e20
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Triggers an alarm on a given date/time
+     var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+     var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+     try{
+     tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+     console.log("Alarm added with id: " + alarm.id);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..73041f4
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RoaaP40yODrawyjqtUlRCrhvnj+NfLX80PnjyrADBtA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P0d747p9GqgILcE6XEjgN6vYDXfAb/yYKu/Vackweok=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ck9iywlOQpjHuUiJIVsIVmv2IpLq5TIPIjRQvreANpE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y8aouK/BMEX+VZ8/sKaqI3fwrHAYibxnKjsPd8WxWrQE1h0fCbc+e3luqKvSH0JQJqzJ1EukWqac
+pwj2cYFc2afb9vhYa3je6pAdm25Dh23zo0OOlH5Kgmk9mjarZr2/DeDZnJPM3g9qb6YxPx4pnEjv
+6S9khncLGR8JVW7JbZM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+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HhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..2efab0d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AiVLpxQppFSS2UVypls9aPjguzuyzN61hKIhcCzMoOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7UrwCUNVyUw9Ib2/Xq7DVC4tCaDCqHRNigB/gu4ncO0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UdxZDDAp1v+N0C6jcidVLJ7X+MQ94SCXgdTyE9CKbyqbUo0opVE/xhqzDKvl8BPFbnsKj/JSs2IF
+Xh1D0aQcanACwBlZlDQqs0UFQJxsjwkD29hBcqAQrb7h1uCMOpcwP41o2XN9U1Kgyshl11urcpZz
+FwrkNQhdnFYsmS2IYTE=
+</SignatureValue>
+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prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..86fc12e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig087.signuntrustedapipublicappinfo" package="wrt6sig087" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..6591f23
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..92b57bc
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o1C62nN/77yzu1lAD1X1Msz9zyqhMfHF6Wdkkih2wTA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AiVLpxQppFSS2UVypls9aPjguzuyzN61hKIhcCzMoOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7UrwCUNVyUw9Ib2/Xq7DVC4tCaDCqHRNigB/gu4ncO0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+rc3Wc6OnmR13jx3FbTS/AsFH5YVUxSQXbs83lO1HrzvBOXHL5YibkOJtlEm5W5oRUoRanbeLqJWv
+L6GCYq6Qrk42KscxpeZ2zY/7BHjaI3ngPUJT3KuKs0wTKhACRiP/c2VbNoGu9RJ2OJ0Pi8zZ57/T
+zRSjX+HbGYS3AGM6pTE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTE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zdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..8e58686
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fku2lVYxRyRf5K7FyLSJZ8d+8ksxcFkVFTtkBi5C3T0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HWRnc1ZV82qtwGT7fDuMenXRpvom8XJvTeSGUF37CYA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+cROe/XFyQHPB2ds7GJ5J3fgFTCNOd+bjnbUcgAOAUI2De0Jfe9sMb30bYIFUu5mbtWYJYucR2yQ+
+5fBNrilcL5uzyrRA3U3M2uqOekHI8wz5nGuhEns71SmLKs28kd6a7MCV8Alc0jdk/AweTx8PpOBh
+QHM9CsZgJDk6lTSBSmw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxv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oGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..997917b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig058.signuntrustedapipublicbtadmin" package="wrt6sig058" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..fd1d752
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..8a56999
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2Ik96RXbJTRdZ0nLBeLLmnrIfxIXp/PAs6am01zOq2A=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fku2lVYxRyRf5K7FyLSJZ8d+8ksxcFkVFTtkBi5C3T0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HWRnc1ZV82qtwGT7fDuMenXRpvom8XJvTeSGUF37CYA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PT7pg0S+sEoRhH9h6PoWAKNddVTOx4XRPOLLkVcPoX9ciZs14+u5VUkaaGc98cufbZHJcExeboPp
+MXvpNZcAsm7zfZtpZBAD61TYas0OaFzwP/zHSabas1QW3BqcFNjADH/tAbRqr513BnB2XfDkc4qa
+mQT+ZAYD1P9SuFN+gyU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Q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+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml
new file mode 100755 (executable)
index 0000000..85ba067
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RtQIAem0gKVaE0Ec17dHHfPOiS6YHN4whdNYT6ha6T8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dGnus5rL5KgER2TfRvONPxIrUS2ceVlL4hiVVsDRyJ4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AsRqWKZZzKd3uutWN9/pXmBAMVjttSbK7NMj+CBMwU4f58XY7yPIVeVNkbphtXvo4obln+mNwC60
+i9Re3quvbkVlt2igNILJhGUEowc/IMhizz8nnewNsSyu688SAYBzzhgEcABDQy8avfVEYY18e6Lx
+z/bf1Slgh2CRIAZEGsA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCg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DIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml
new file mode 100755 (executable)
index 0000000..746497c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btgap" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig059.signuntrustedapipublicbtgap" package="wrt6sig059" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btgap</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html
new file mode 100755 (executable)
index 0000000..8bfc507
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btgap</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //bluetooth gap privilege check
+    try{
+       var adapter = tizen.bluetooth.getDefaultAdapter() ;
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml
new file mode 100755 (executable)
index 0000000..c4830a8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X8sTfRV+a7BGKex2qAzGv+K7MUHawSCylY+WdiXHrb4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RtQIAem0gKVaE0Ec17dHHfPOiS6YHN4whdNYT6ha6T8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dGnus5rL5KgER2TfRvONPxIrUS2ceVlL4hiVVsDRyJ4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+srsFMpF1JiO/7uQ90uh/uscLlCuoWjmU/t/LESha7mJpjboT4/3g3Pa/tcYM5FajbCu6i1i4lIZS
+kklvJ1Z5EmXtf5GtntlEeLVrZgululoRCVvNi177oouh/9RDcIm9/aCxjGCR+p4nu6adi9JbCaSY
+q9CDE8wiTqqneiFHjNc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQE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lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..22d3637
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Hio1Ddrzigcxf0+hP70j9DcSWYQz9VOCBUtWEWxbK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbQEnk/uDciKuZLx0S1+yevfeqjZ20Uzjt/R5DVoq/s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+a6PdKZH7EC6EObvHhT0R46mz45r7PeqgyMkRsjI15HoRrjuT+I2sswZW13F3OTR72I7GOD+ke9HC
+QlJjMvViqzKDHD+BMEkho/TY8xE2kSKJhHCIohG7DgSMM0+Hv3wR8U5Q/M1a9jch6y+uZTx+qX6A
+i9lv24vDmV+c/pOaLWA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJ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BE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..f5d32d0
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig088.signuntrustedapipublicbthealth" package="wrt6sig088" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..aea14c9
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..6e47bcb
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MMsl/Jdw6k9E4Uf/MxRTPy++IU54irHqRiOQcsP2N7w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Hio1Ddrzigcxf0+hP70j9DcSWYQz9VOCBUtWEWxbK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbQEnk/uDciKuZLx0S1+yevfeqjZ20Uzjt/R5DVoq/s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>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org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..c4638bf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WPY0BpyboofbCcBLXfeOjt2XvaUm6wc+6kX6oJC1lWc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5ts5E0LW63Ji4Slc4nXzIZxs9mXKdcy0HpYaUL+M5P0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+J+Oib4RfD4Iyv2YQmueFheb+g3unOT3wCrhnkReTu1quj9/iDGQVYE9czWxpdJsbBDKguSrVObtR
+jWZ3rOYBqDYCkPhXN3iYF5gimQH8dGWwCFmPaJLNu0oS6cbpoL9JqZTQundW2kaPuQbXGRXcihJb
+1SxNfVZ8sN0MlmwLiic=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nx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WCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..fac56b5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig060.signuntrustedapipublicbtspp" package="wrt6sig060" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..07a8c87
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..50a1175
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VpM6529UAoPBIyQN05cQRrT+wGGUZ6YAqqOh+rc7p6o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WPY0BpyboofbCcBLXfeOjt2XvaUm6wc+6kX6oJC1lWc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5ts5E0LW63Ji4Slc4nXzIZxs9mXKdcy0HpYaUL+M5P0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WFnfpM2h3ZEMucXwY0WopUvhkU2K5PvNNEyEKwtb1aLCWvGWeUfwfxJ1LyAc2iD9pgUHBecLO5KC
+GpwBgMPp1gSco8t2sGI4MeTkAI4VgSNzRQHLxivj2NZefpCOLgUpb6ysQS7N07BItGOVpCPgQQJN
+gIDXRVpXbALgmpYhwsk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1d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GfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..fc602f0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qREapXfbZN5OkxzfTHt6PGz7Z8zwOY7X3OoUbN9jED8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ZXN/e8NyU4wgOO+7Vyh93U2hmWo6fQbJl5D+dz8CWbY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LGqH8ZmiFh7RuPkKSXaJTqBL1DpoSgyHSsPcSV26UW3imncn+PzvFSyky65X90zjEvdqo8o/y1Rz
+Mj9lB3hpLX6vxotP/sX9mW0WlLcono6/4oRF2ZIUfE1oEsah8cGAq6eVPXp1jd/HGBOlBljNzyve
+0t0YgafSdLudgZyh9aI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/T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tajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..78df76d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig061.signuntrustedapipubliccalendarread" package="wrt6sig061" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..4a58333
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..017396d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Fl6Xy6aXqbrERL5ZxF5VA91Yzp84223XGKBfpR8ZoPU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qREapXfbZN5OkxzfTHt6PGz7Z8zwOY7X3OoUbN9jED8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ZXN/e8NyU4wgOO+7Vyh93U2hmWo6fQbJl5D+dz8CWbY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eA8RWN1/Sh0SRoR62+Tl+l//dK38B1XgXF8EQRf8KxZk/zEzDtGp/M6j3GZJ7OLoEO345DY2I5LT
+uw2U7kau0oJHgVPPBNPM9jmou/QK2IXvNIxEmVAnN2eXwXzNR1+tZjEhQ0MTEJFoPu1cMxfM5gOV
+vbhlXiZ4325TdrZYmtU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ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
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..597d483
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NHxwdul4AfYkj53xcWX4XfIhrFsXh7xS8S6sXegNAmQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o7kqII+79nGVZdX0jfU17RiKYjlTI93+MJRDW/SVs2k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bu2xGfM4tZ/6DwaUIsKJvnK2u4xzXdCB1hsEdppm5WY8iUna/8K2GhA95P6+Ng5HO+AWCqHJFf4J
+WfR7eFzWoQM4M5E37Oap8ZjHJDQTdv3Osq8bxwCnTQuI2F+uG6Snq0hkLo3iAgeJ99E0SFepbxBj
+xxvnTzXuO1AJfllLZDI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTu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QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..dcbc832
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig062.signuntrustedapipubliccalendarwrite" package="wrt6sig062" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..9801e32
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..9ff0057
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZtNt6dP68nNuu8/yEii5Utgjrdf14ux49VmNESMK94=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NHxwdul4AfYkj53xcWX4XfIhrFsXh7xS8S6sXegNAmQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o7kqII+79nGVZdX0jfU17RiKYjlTI93+MJRDW/SVs2k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZjEydHxLgS9zjxDv8yF739Zi2Oeqazr0i7WswzjbKBOSjrS4EIGW0JVW4LvOJ8NUMMPOQ0MBU6Cc
+hTtGqKOKBjbWgqYj6upq8WFCk6aXopsS9/mjT1UaqM114/WZ8KQHn/WvRI87kvm6xOVjY5JACy2H
+HeRYkiAPDUGBd2oVinM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7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kekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/author-signature.xml
new file mode 100755 (executable)
index 0000000..2b82e53
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E1dY6o2lUZfUVPPulGXoMo3XHYOcZ+S5GUQU+YD8Sd0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G+L8Ighknf2dZbwWRxoZ/Q0I4tCIy9gj/EaxUl/pmRs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Zcpwuf8oqMOJEiBLQiYCipHwFlyzVwj3Jn8pfe9PSQSKZWp/017n2Hys1e2pf4T71alVxoFYi/EG
+mpUKgj/Yf39N/9Vm5mrS8JdFEag26DQIP04N/hpFLZMfnCCo0TrdYJGR7Ix1zXcCVoKYoFhnaqka
+VoYyr/7kv7qrmAAswCE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5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/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/config.xml
new file mode 100755 (executable)
index 0000000..9f186f1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_callhistoryread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig063.signuntrustedapipubliccallhistoryread" package="wrt6sig063" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_callhistoryread</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/index.html
new file mode 100755 (executable)
index 0000000..4455251
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_callhistoryread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // callhistory read
+    var onListenerCB = {
+     onadded: function(newItems) {
+         console.log("New Item added");
+         for (var i in newItems) {
+             console.log("Item " + i + " startTime: " + newItems[i].startTime);
+         }
+     },
+     onchanged: function(changedItems) {
+         console.log("Items changed");
+         for (var i in changedItems) {
+             console.log("Item " + i + " direction: " + changedItems[i].direction);
+         }
+     },
+     onremoved: function(removedItems) {
+         console.log("Items removed");
+         for(var i in removedItems)  {
+            console.log("Item " + i + " : " + removedItems[i]);
+         }
+     }};
+
+ try {
+     // Registers a call history callback
+    try{
+     var handle = tizen.callhistory.addChangeListener(onListenerCB);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     // Unregisters a previously registered listener
+     tizen.callhistory.removeChangeListener(handle);
+ } catch (error) {
+     console.log("Exception - code: " + error.name + " message: " + error.message);
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistoryread/signature1.xml
new file mode 100755 (executable)
index 0000000..3a92ca7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ANSvKTHTL9t/aZ+IOB5ACDGQmnBE75b3gqGQxm6AGp4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E1dY6o2lUZfUVPPulGXoMo3XHYOcZ+S5GUQU+YD8Sd0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G+L8Ighknf2dZbwWRxoZ/Q0I4tCIy9gj/EaxUl/pmRs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+DZnNkuiyCcUNcZ6ii1f/sKBB6aVdc3CnnxzIwiRSHwMovZjP1pHpJ/l5xOrqIzltBM+htVCzgp94
+a+ZWO/g7yyNTapdQuedq03DLbnlq9d8HistAcmDeaOD+t3NklSR/xa77E1B+T2uZt5rNOdjAB+nw
+eZXxeZW164a6ZOFfktM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyB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EBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..e5d0441
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+wFozNVXMtLkcBslcl2xoLigu3VRobPDtU9UFTU7BW4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7LNdOdGkUWzfykIHdhgF3X+ath9sBQzb16dK96IGy0U=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+f+hFGGe6OFY3YCKYtJ8mIuP0X9pOevZlBKIKghO2z6CqJK8XLs6nFRenZ02np/b49/pwWsZ5iP09
+ke5BqA1zDjSXFLnoRz+cYc8d2rzJ3+R49Pn9DuFTx5fEm+/SS3b2PTeL3OedseC1JRk+2OVY59su
+nJ/hD5oIkeuoSt6hB64=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAw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CjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/config.xml
new file mode 100755 (executable)
index 0000000..2936254
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_callhistorywrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig064.signuntrustedapipubliccallhistorywrite" package="wrt6sig064" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_callhistorywrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/index.html
new file mode 100755 (executable)
index 0000000..c71b07c
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_callhistorywrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines success callback
+ function onSuccess(results) {
+     if (results.length > 0)
+  // callhistory write
+   try{
+         tizen.callhistory.remove(results[0]);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+ }
+
+ // Defines error callback
+ function onError(error) {
+     console.log("Query failed" + error.name);
+ }
+
+ // Makes the query and wires up the callbacks
+ tizen.callhistory.find(onSuccess, onError);
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_callhistorywrite/signature1.xml
new file mode 100755 (executable)
index 0000000..03c0c38
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ste7Dezr+MayqQdH7wAugQZVvwYuq3YRthrvPmHosPk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+wFozNVXMtLkcBslcl2xoLigu3VRobPDtU9UFTU7BW4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7LNdOdGkUWzfykIHdhgF3X+ath9sBQzb16dK96IGy0U=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FWr8LarTlv4IMWwu16JmNlA6QZ/C/5ZltK2BQXKItfJCBAUCtUB1GmZITOQ4qFXxtzO1g3hqsIyL
+Eo9+BnWt9MXFEQSP5mutbBnUiDGG8UR6De1lkx1Z9qRgy4ITbjPF9PFx9CXtECv+vpqZ6OvJTJuo
+WEpkzZxhP2DHK9Zt+hg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxx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qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..a40614d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qAZnA307CXxxwNelTxFMfdpmjF/UE0ciUcsC1wbRUMU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G7NcfaWmEC2xM0W45Kto9Tq2LWBuR/jQ5i5m0yuUNIQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eY85hKA3kmB59km53SmPCKlgkFJimWi/hzkL8QPcNE+iYltT+jhcngZK7UUhP/qkKWFmmXwR7vRk
+J+WcTBctADSHS+2DFpTotcw/FUZIJdULA2TeTiBDtC8stzy2CTI9Cq4UzfJw6/j6EnhKr0DmndOo
+SaQE4fUv0x9qCyAIFfs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLAB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D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..46f2dff
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig065.signuntrustedapipubliccontactread" package="wrt6sig065" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..b362a07
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..8734b1f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z3EF/zqTI+7m4zuKWlJA3rSCplP19gVk6x3javdoCTA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qAZnA307CXxxwNelTxFMfdpmjF/UE0ciUcsC1wbRUMU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G7NcfaWmEC2xM0W45Kto9Tq2LWBuR/jQ5i5m0yuUNIQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></Dig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.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..db7f005
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjPIcojktu8tNHqvIGA7gWDHUBqwhM8eKjIFiC6lLN4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48IL+/cx2BqHzov+CbLAGZDpcgk3qfwiy84PGAXslNE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FmCkzjHjHNCdVczcLjsepguoCypJuVRlmoty8E0FHudMviZZqMgpjjJmIWOUc3hiEf7Hv662/IJS
+BxZFFNT6n4i1JaEfVDqViyMlKuhBHr6zCDUyCfqkK8GXP4aFXYzi+obDisTusu5ZccNwrI/AbIx4
+Qs6S4Uk4cnkfb4pCyQI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/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jopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..9f33e8e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig066.signuntrustedapipubliccontactwrite" package="wrt6sig066" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..259eb8c
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..9e5b0bc
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eYUB0bgnX1QQQZVW2BEWrv/46rwn3hoGgPEhY04MogQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjPIcojktu8tNHqvIGA7gWDHUBqwhM8eKjIFiC6lLN4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48IL+/cx2BqHzov+CbLAGZDpcgk3qfwiy84PGAXslNE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<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.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..df21a8a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>99XM1PDoy5NGSw5SWgfnplMgz5M2W6tpggKwpoHYZCI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7b8XdSlD5guVbePZ95awb+Egl6IUgGNVpSXCbpon/oM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ine9GLvuIzkBAWObRps+v/Fm99jzqPp5lXPFaotHAsO+LVuutD0j9ZJJwfBC34lRPjhNt2yNZiqX
+Hd5+QO8u5XifMP5kh6gmyh51+ANJBEQ6HrB8W2ReF2BuH/W+VhSjDZoAj+eM9yXlrokDbB+pZLu+
+iPh/MsyBKPtWhplBoQE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/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jopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..b2cfbc5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig067.signuntrustedapipubliccontentread" package="wrt6sig067" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..71bf8dc
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..4b75794
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ifxD3M1ktBs60hYjMrTz2gjSFpYtQUbt42o4hGsbwDM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>99XM1PDoy5NGSw5SWgfnplMgz5M2W6tpggKwpoHYZCI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7b8XdSlD5guVbePZ95awb+Egl6IUgGNVpSXCbpon/oM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LyvMJE3AUAwp49KGdca8UODyS8Lt+++MABsfrm5EDulVAtna9vWzfT2LIU06CI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AYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..161306c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YBjszMiSO1cM/ShALDb9kex0cUHKtc5yqiYK3WFNuMs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hu2OqU6F+/G04G/GeIcb4NtpMkRNIHnoids13navOXw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JEOg/HPj7wg4vCuBGXcsl6+l50WaePGGJV93U2MlCIkNxHcFTED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x1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..513d91d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig072.signuntrustedapipubliccontentwrite" package="wrt6sig072" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..d255e1f
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..5f72ba7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YCjbElNs2oUoWxMfNl1iL1S951mRZlBl+MHi6ITib9Q=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YBjszMiSO1cM/ShALDb9kex0cUHKtc5yqiYK3WFNuMs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hu2OqU6F+/G04G/GeIcb4NtpMkRNIHnoids13navOXw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+m21kzpzg58Uz2uSA0sYAckvDNGG7YIIfd7j8jMsDf8XmnVQtDfXJsI9e5b4foy4aPh5KljQAkaud
+eYb2F0LrRBC/lXwOUKIRM/ZuPWiQB/vHmOmg75GrwlgLVwJC0ocYmSuVM+YXzHCFUl/8yzKju/Xe
+w2Xx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VGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..7a536d0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>q/GzSgEGTT0zDc0kaS3LddhKcoxVJM/ei0WITXcSEnY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KGOBsCmCjSWoygMBiTHZ2I2KFfaAZrKfymXEgNMMLIY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aNfEgxhjtuC6i/5g2A3OY4F+eBwDBPwBTVkUhBuDCir4MLd9jq/6Ijj0cg06zjfVtVKOuBYE4fx/
+kiBrh7jC+457JMrwps5LQJoZGmO8cBwooGywboKt4Y47XAt+HvQ4ZEhdM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I8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..9dc9e0a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig073.signuntrustedapipublicdatactrlcum" package="wrt6sig073" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..3a3361b
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..8ded9dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aSUO6COgNzxDSDNIOhOAPyrOpXcMoEhjQHnakzwN4qg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>q/GzSgEGTT0zDc0kaS3LddhKcoxVJM/ei0WITXcSEnY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KGOBsCmCjSWoygMBiTHZ2I2KFfaAZrKfymXEgNMMLIY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+U7sQuTbcPJHWsy9zvHJiOmjKCQ0WuY2HwNuvYjCn89hA0FC6YjBy0rVtUC8KV0vESS+vrWOmv0nt
+1NwShEK0QQMUAffmFKhCXKo5niB5dk9r0iusazf4VGCitxhsLOXH2/RNFXVrK0DVcw0xNr+u8Spk
+tdAXN3lwbPnUKmL62QQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA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ECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..e7abba2
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rY+t8f3iUXrHeXC5azRTv7KeWiWpDD+MuC8m1uHyuzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J167u0Ld0cAymilidsRIhPXvQCGzEl5wxmEL6VeyhvI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Q0OooCy3xNPdBu3VqJF1v9gVkPi/1IoznC0+tGikkOm4EUwrSsq5jUvfYQ1Pl9qMT+1Qs38Gm4ce
+z+xMnvJ6+zcsTrrkOuILexmyBoTFTHYHhZon2SyKPafuk0JlnIuiGlBf0fUNV7V8JZW9yzeHm/Ee
+hMVD1Af7IXZfxHhp8X4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGA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MEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..399bc86
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig074.signuntrustedapipublicdownload" package="wrt6sig074" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..3625b3a
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..90b962e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b1UQuKnQIVXu/tlPrQFowVHh1FCZpe/DkULUI+Os/zA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rY+t8f3iUXrHeXC5azRTv7KeWiWpDD+MuC8m1uHyuzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J167u0Ld0cAymilidsRIhPXvQCGzEl5wxmEL6VeyhvI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/j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=
+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..e27a326
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GvQLHAz3gA92IyxSnPTNphcsODDYThJB/YUF40yeChU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0Xy9CsZmOdIIpixLJbVIZJ6SJVK4b4VnBcLiH5hjFJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></Dig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VW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..78a4c7c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig075.signpublicapipublicfsread" package="wrt6sig075" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..740fab2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..b56298f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UBmkk2SZ/QdWZYBQP0Kh+wq//JLmhaiVEjsl9GkRY+o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GvQLHAz3gA92IyxSnPTNphcsODDYThJB/YUF40yeChU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0Xy9CsZmOdIIpixLJbVIZJ6SJVK4b4VnBcLiH5hjFJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+m9U4x2IJJP5ax2wIat7JZ0TAaxlUzEs/ISWtkanQCUU+cIADbdoigS8LdUU2u8zjdPKLrBzEgc+y
+fnnSCeCpGgpOShaXJTlXT8f+6UzPMuW/4U0dO2lw5jEJf+YhEb2mljMPzAb6I8cC5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CBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..e304720
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jo0+D68FHlJQ7gFjNfqxCOvGRQ/thSAoQ0+yw+eMYcs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7vQwUEMxt3LAe4vmso9O8xm0oBue5cXeWdKYz+ayaLI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FLvX4EI7CdJ2njwFYVq72uQs8AVkQaYRwefAvTtZmiPg6afbDlhcxoPgZd5suJ55M+5HZteuJbHQ
+aJvNXfFWCTX+1puQxd2Aa4yhpSgolzirPZ/LerN294BBP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hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..7cdcade
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig076.signuntrustedapipublicfswrite" package="wrt6sig076" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..06c3caa
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..2835d11
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BAKgkn5FYENRhwX9Nppdt81P9Kgo3ccBWjbCLyzjXW0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jo0+D68FHlJQ7gFjNfqxCOvGRQ/thSAoQ0+yw+eMYcs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7vQwUEMxt3LAe4vmso9O8xm0oBue5cXeWdKYz+ayaLI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nvp4u/kP1D+6YimB6wdl8NHi0wlxf2IRAjn2f9vashWL+7Ux3fEKGwUqTlMwxLYwqESGuM3LEsKw
+cEmn2wGx0wZ4jCsvWrNWZ84AEOMBV7h4nKeERW3p1J7AvWyAV8dNV8v0ETdyTL8XKMQxbNKMH/5g
+6KEw0jj+b6dyx7QLGJU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdX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A1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..1ff1833
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o5GNHP3OjnlHtVdmE3QEO4Y2nYLpJn3YELq0L/150o0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l276kqON2aL+XgGyEkfV0soDS5bfreBXrLnlp14w7ME=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IMP3PcCzhO+oJq6+BpWK0E6FKMBiPnpa9WdrAk1OzY1Wc8noImZtsoc9KMCJhzXal9MKMwdxyABd
+jRfiv0eQIj+rj2kfge4R8hv891fbe3gsQZoITAkGfmos0Z+1bXH7Idvtt5IWBWUVyqtUk0ve7TYN
+XuGPkukqtmxQ3nvoTSQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAY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EVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..1a18a58
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig077.signuntrustedapipublicmsgread" package="wrt6sig077" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..67dd5ca
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..3ae34c6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Pw6m3W61nAH1XYwDiw2Q9SEuQugyWNJ9pChvLw0JAhc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o5GNHP3OjnlHtVdmE3QEO4Y2nYLpJn3YELq0L/150o0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l276kqON2aL+XgGyEkfV0soDS5bfreBXrLnlp14w7ME=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ex3T5d3mLCdTI7n7SQ8R8lwwXfo2eSL5c+cgudvCwTviUDfXyKQhT/f1TH2xOw1jLkYvocRJmFJD
+y+g949AL0+TdZIxn0hhvbqr5kl29VFQjSGVypy+l//SiHjpFSCZZ68A83SYDuD8mxkZycYYlDX1u
+VcvV3+XY8g4N+oojLOM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+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WJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..29bd663
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>j6SYj96QRO5WXYhv8WHQbFdnPTrhLI9u6c5u/M/fRQY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GBoxQcRcw1REXZFKjWi+ZRCUwyQBdJHGC6vaZ6t1YAQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JjT9BbXEZglg/i4pN14Ly/3bov4nhef0kSwDpYxfYKjAlEPzOtAWR7c6KiTq6y9+5bTgCxekQ76Y
+965dpqX7TDayX469SsUPPBIFH3O/xc1mg09qZtE/mWXcyPDAZesapbHoBckjov96XAEn/s6ASQak
+yCdZqBtCDvVW8oGsuZg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMD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KoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..b0191a4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig078.signuntrustedapipublicmsgwrite" package="wrt6sig078" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..a7a9987
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..838b3d5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hr3QIcMst0daJuVvww2HAnbA+bvuq2IrxSHMqx377jU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>j6SYj96QRO5WXYhv8WHQbFdnPTrhLI9u6c5u/M/fRQY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GBoxQcRcw1REXZFKjWi+ZRCUwyQBdJHGC6vaZ6t1YAQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+of8xhOXb5LBf+XFG3xeZvjEJhR31jHyc6D9qWjjeVikmYQrrq0bIQg8HPZoMCSeEcma1fCx2SvLd
+W/FL7ilqFHb0cMKBsuPMV0zwmNdw3gepaXU9HcByK+5TcVgatzNN6yp3v8L3m4KScJYgkDClYa39
+h+RID5vACXSUMuhEMho=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEB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VLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..012d4b0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>daQX9vRb5r58JQfYyD0JO0i5HwbIuOXIKy+zwvO7thc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jhNySbNVQAcIZMi0fHAIpIrt2fdC3U1WL5q5ZqTZj5A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ToDJqsTscbERFhJGMHM7C9OTIfFRJyiotZg7IqAojHepIHPDDLPqZQGgEMP3XTjrijmW9xvOvGql
+AYfMGbOlgP/37SCvaURyzhkOJW6Ipb86LaYh1ofKSsDHNe1AeWsHJSWelNHBTN0UIXE1VvcWThFy
+fSg8ifF+d1wbDXoZksU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4N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mbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..1a8fee9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig079.signuntrustedapipublicnotification" package="wrt6sig079" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..a1dd51e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..178ed55
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ODZPb0yt4JrRRose3WSHkPaQy2wATvEbbWxYeNDTprM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>daQX9vRb5r58JQfYyD0JO0i5HwbIuOXIKy+zwvO7thc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jhNySbNVQAcIZMi0fHAIpIrt2fdC3U1WL5q5ZqTZj5A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+pLvRRx0bskHBTNeOmHmgTpKyVTPO2moISacCz3KrniGpD/O6grWZHKMD3Bpu5NEC77GRfQs2Da3q
+UVV96h15NWjZlooTDkzPYlySp9VLhVbTUW+ILv3UkW7pe1VDQBs0dQca8T+LfDucALW7wvy23TYf
+BxZUg0Pa4q6WDudWDYw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ2+WAubhcEkorTWjzW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Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..9a1f59a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qYrA4/ZABKvsSERoeR+k6BYy0PxSRMEwPDZ01s1hO6w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QM2CF1IRshj/4fUNJfmNSSLVZEWC29I9bYBT74UEeo4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NI1NoCGyWMhivCWDHr+Hbd5JmC5zJEdvI6ryz9IQEKd62ZbBnBeCbPhsVDOUIamq9BBD6uXy47+1
+jI56x1VN9zPqi9sA/sljglPyJQ4RLQr5/oCsdhClSNQESh3UFGt0w/C4r2bWuHzoRV8xqLM9GheI
+YnGlP93GwziFUSsiQ7M=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK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WlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..75e42d5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig080.signuntrustedapipublicpkginfo" package="wrt6sig080" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..735b7c2
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..db3c7d8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RCZaQTImzZ9HWZjMfmOzQfaHb9hIpr3jiksDRlw7k7U=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qYrA4/ZABKvsSERoeR+k6BYy0PxSRMEwPDZ01s1hO6w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QM2CF1IRshj/4fUNJfmNSSLVZEWC29I9bYBT74UEeo4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KHy/B7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JLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..155e7f5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1WQ+H9pArP3gAsNVhArLRJU3Z0/fGpiQsG8cQ8+akHE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FoGgKCz5F3mvhWxK6JUl7oePlMqCSk4tUJYf1pzoBDM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureVal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WGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..7613e72
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig082.signuntrustedapipublicpower" package="wrt6sig082" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..52d6e6e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..327a1f4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8IHnJRYM1Bl/oktacNY3qFb9F80JxyNE98rR73KzRYM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1WQ+H9pArP3gAsNVhArLRJU3Z0/fGpiQsG8cQ8+akHE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FoGgKCz5F3mvhWxK6JUl7oePlMqCSk4tUJYf1pzoBDM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Yn2JxGPKIKPfKdHEzJ2o5UlPWG+JG36wu5JJb3fF4LwB2lM6GtGuxB6k0zRQ+dVl9iKa26gH0Drp
+mo6fqV5udNOctTjzMprBovwwnuf/4iKNULSw4CYNhaiy4vQdXh35F5FumRvFbUAjD2uZ9XwzX5yo
+DdIhIXS0VJH/WMztoAw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWM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1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..f09f932
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KspGNpheQ7ddAcAAR8q5xZIiuCttKb9++OOaUXMaZA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VZnn/qAmeZgfH9IrKe+2A9YF344iA7N1/t8256ITI0c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W+5C2q4XWYmTQZOGRqooZ2miAgzMzLsFoxHFt+ar5LGoc1AdiPIHsSAn7FcfaiUeIeP3PRt/emuD
+kJnBYdNtAM+1yoOEpgo9B9kZRCLvU/k/+2g1zCsF/T+868YRhV319WW85tubquNCPDcoBwTi+z7y
+38/L80ntDIU8AjmVb7U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUa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EFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..afa6b2d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig083.signuntrustedapipublicpush" package="wrt6sig083" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..ff63cb5
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..96299ff
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UsfjOEwLtapqmwKhrkXytv3oXYdaeFCZRBhgPMBp8Z4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KspGNpheQ7ddAcAAR8q5xZIiuCttKb9++OOaUXMaZA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VZnn/qAmeZgfH9IrKe+2A9YF344iA7N1/t8256ITI0c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+tAzNlhD21vdLTVgYobzwOLulti3g+EXq0QyNzJpoOmt6lPKz/YytIGIzR2YabRC86R/7zJ18R+jk
+pxwa9ivp6rZVL/Pz/uoi2Ks+SdoQDbtdID/IAs5QLlhgvo0ePU0n0J8aCV+d1hWQm+DQD2RSWFNF
+Dkk7ArjXJ2AH8vKWWnk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNV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+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..80fccee
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dCG9jV+doRVs2jS+84ujVshgZWHE5UVB3HDMY31JNSM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T3VZ1PdLxP8kft4YFSMs6xZRbFVHE/JLYaqi/JQJOGs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KTtSbv6y2sCj6ihBUf/Q3C7xSCeRFPZAAvrjK9zh+PSTpmBLwfij891DO7w8FwMAgkqGt5UKqD54
++hjrkPFAaQFU8bQHiy3i9dho83LpdZSrSS9aahtTJ08KH+3aHW2cQgQD5g4x2eiNaZpXj4UQMToi
+zXfBZzD1zyE0w94Ok+c=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvA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OLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..2e1e572
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig084.signuntrustedapipublicsetting" package="wrt6sig084" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..75c164e
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..1e8e770
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fep8Hx1VYzNRA8nI4sPxebiEzaoe81R/84MoOYSKkTQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dCG9jV+doRVs2jS+84ujVshgZWHE5UVB3HDMY31JNSM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T3VZ1PdLxP8kft4YFSMs6xZRbFVHE/JLYaqi/JQJOGs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QM1L07QOgeZ9IwbE8FpR52cPkEdhnz+5KpJAxhtNWr050GIAtxn1OnYhVFARba2s3gEBBjih9RD5
+NuhQQSYjhBEhBppR0G1r+jhxMyvWwdm5ZRHcKO3bcXZve1ww16P4PaJ5yO8dQYU7w0CZlp+KUF7h
+TA6zPXkQHxGTarma+/k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0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GVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..b38fca6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>czZuGGz2/tvqNLSI5rftyLpwJmPraKwCmHFLYJdOpEY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLKAu5P4zUXg6HCUk6HPRUrv+MszDaxf5+UrZG6sZo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WMG1mKyKZXUTDqsSmwwYQkr3q4MsXK4+Kq0CEdGQTFrVlW6k/DfuQok3yj7FnVc+7c8rzZhV72tn
+W0tsv57KsVEG8yLAETccxmxa/gTYMKHj/mSfaxjHlW5XapzMY6Rg4WJgg/USjlWHGIjKPTXu5vL9
+4vBqKASgG8NoqAzGGWs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGV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1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..4fea0c7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig085.signuntrustedapipublicsystem" package="wrt6sig085" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..f26063c
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..4abe93f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zGUxuuusVMsZfvRXPciqardedM5+3jO6IbZB7f8rBNo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>czZuGGz2/tvqNLSI5rftyLpwJmPraKwCmHFLYJdOpEY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLKAu5P4zUXg6HCUk6HPRUrv+MszDaxf5+UrZG6sZo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eexn9kR0B6Ww63M/wn25kIPVz5pSDwuntnpwuCIsBiIi4jGBiYlNrCr6ve3hUFEfCOUuFI5rOP3A
+alNBL8ICDGLBdHpjhiDWcRRsFkNZHUttME4alRdbWDDw6M5EFLIgyNQx30ET0H9zspRCYBYOpoGO
+KfapikhfGj3q9013s7U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQ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Awwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..f410bec
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3Yp0onVwCHpsFYTP6U+QmBLJqEiGKj80p4L/eV9HQT4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvMZXREwW7NJkyBGR8nXyludPXSsbPPzBhHmelJ8kzM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AKlcT0jFaVEB1jM3YvddKQtOLMpEIn9d82XkHh3k/foCRl5IUXSG5nzqb/X1TbADuxkDJs5z+qdH
+OgtEGb0sv6d6OICEGQL4bqIjlJFscKN5TKAvDLlVBFHg9krA8/IuIAkOijF34fRpWQQ0bfowYP3U
+NCvatekosvSsM0TCoiA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDA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ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..19d2ba6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig086.signuntrustedapipublictelephony" package="wrt6sig086" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..5a7b6c0
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..7a7f046
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rmjutgFzyjIGRiL94WGbZtqtw0rEzCQQzomn62Cpz+Q=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3Yp0onVwCHpsFYTP6U+QmBLJqEiGKj80p4L/eV9HQT4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvMZXREwW7NJkyBGR8nXyludPXSsbPPzBhHmelJ8kzM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kHUOO6ARGLPgBs+vDqg9q/qIpGjzh00+YY0PqxUhkfTEOtVcxiJgOmdlnu+RJ2NNQtb2gS/3T0ou
+fUyPCTutVRZdQVhYaaqJQ+8+Sdb4q4zXirqC36YXe/y7F3F105umTWchBxiDJuZPdduFCNhk4aEO
+IyiDc8iN0MjzQ3kuDb8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1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
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..156ec54
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6rYwI4q+Xb5NCStCJjxw8sq7ExrclCGCoVy05XsBnKk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahdJoeWY6xzyXS6OyWFlwjIVVBdbc+WJYvdr/O8F/0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LF937Dvy2qg2lNEKLJur9kaqb9vkF6rmI5AoJ8tJEcAnaaia4PSbalrSxcS2h+Ktv/2bIpbLl1V5
+YZIXPQie2PBvOjWAI1w/fXOQARu6HkT7U5nNFI44k0Too3C+61ElpjUO0yOPame1sCeqJNwXp2t5
+iPyRXa7nMAW9MaxxHgE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMD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2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..58795d6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig089.signuntrustedapipublicwebsetting" package="wrt6sig089" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png differ
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..faca152
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml b/mobile/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..e97dcec
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/YQRUfVsTTUMwt5Awgo6QekOLQVhLb+t0ROBovIBjvs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6rYwI4q+Xb5NCStCJjxw8sq7ExrclCGCoVy05XsBnKk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahdJoeWY6xzyXS6OyWFlwjIVVBdbc+WJYvdr/O8F/0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+mVuMN8H1m0LVPtDW32aXBsha4e5osDrXDHgJ27FAoz8UPy9W6G9pNaW9yaFMkUsbgFQTE2EdMyOY
+4H469CKhFm/XVTXaJUn2pbzSUnxLrQOSRfYep4P2aSVHAJPeFZ6jfJx1mS4ukNrCb105kgo3R0E9
+sWpAOpyp6Ka6XVJnSHs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCt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IDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec b/mobile/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec
new file mode 100755 (executable)
index 0000000..acb905c
--- /dev/null
@@ -0,0 +1,6 @@
+name=$(basename $(pwd))
+main_version="2.3.1"
+release=""
+sign="0"
+version="$main_version"
+appname=$(echo $name|sed 's/-/_/g')
diff --git a/mobile/tct-privilege-wrt-tests/testcase.xsl b/mobile/tct-privilege-wrt-tests/testcase.xsl
new file mode 100755 (executable)
index 0000000..899b858
--- /dev/null
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output method="html" version="1.0" encoding="UTF-8"
+        indent="yes" />
+    <xsl:template match="/">
+        <html>
+            <STYLE type="text/css">
+                @import "tests.css";
+            </STYLE>
+
+            <body>
+                <div id="testcasepage">
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td>
+                                    <h1>Test Cases</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="suites">
+                        <table>
+                            <tr>
+                                <th>Test Suite</th>
+                                <th>Total</th>
+                                <th>Auto</th>
+                                <th>Manual</th>
+                            </tr>
+                            <tr>
+                                <td>
+                                    Total
+                                </td>
+                                <td>
+                                    <xsl:value-of select="count(test_definition/suite/set//testcase)" />
+                                </td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition/suite/set//testcase[@execution_type = 'auto'])" />
+                                </td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition/suite/set//testcase[@execution_type != 'auto'])" />
+                                </td>
+                            </tr>
+                            <xsl:for-each select="test_definition/suite">
+                                <tr>
+                                    <td>
+                                        <xsl:value-of select="@name" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase)" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set/testcase[@execution_type = 'auto'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set/testcase[@execution_type != 'auto'])" />
+                                    </td>
+                                </tr>
+                            </xsl:for-each>
+                        </table>
+                    </div>
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td class="title">
+                                    <h1>Detailed Test Cases</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="cases">
+                        <xsl:for-each select="test_definition/suite">
+                            <xsl:sort select="@name" />
+                            <p>
+                                Test Suite:
+                                <xsl:value-of select="@name" />
+                            </p>
+                            <table>
+                                <tr>
+                                    <th>Case_ID</th>
+                                    <th>Purpose</th>
+                                    <th>Type</th>
+                                    <th>Component</th>
+                                    <th>Execution Type</th>
+                                    <th>Description</th>
+                                    <th>Specification</th>
+                                </tr>
+                                <xsl:for-each select=".//set">
+                                    <xsl:sort select="@name" />
+                                    <tr>
+                                        <td colspan="7">
+                                            Test Set:
+                                            <xsl:value-of select="@name" />
+                                        </td>
+                                    </tr>
+                                    <xsl:for-each select=".//testcase">
+                                        <xsl:sort select="@id" />
+                                        <tr>
+                                            <td>
+                                                <xsl:value-of select="@id" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@purpose" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@type" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@component" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@execution_type" />
+                                            </td>
+                                            <td>
+                                                <p>
+                                                    Pre_condition:
+                                                    <xsl:value-of select=".//description/pre_condition" />
+                                                </p>
+                                                <p>
+                                                    Post_condition:
+                                                    <xsl:value-of select=".//description/post_condition" />
+                                                </p>
+                                                <p>
+                                                    Test Script Entry:
+                                                    <xsl:value-of select=".//description/test_script_entry" />
+                                                </p>
+                                                <p>
+                                                    Steps:
+                                                    <p />
+                                                    <xsl:for-each select=".//description/steps/step">
+                                                        <xsl:sort select="@order" />
+                                                        Step
+                                                        <xsl:value-of select="@order" />
+                                                        :
+                                                        <xsl:value-of select="./step_desc" />
+                                                        ;
+                                                        <p />
+                                                        Expected Result:
+                                                        <xsl:value-of select="./expected" />
+                                                        <p />
+                                                    </xsl:for-each>
+                                                </p>
+                                            </td>
+                                            <td>
+                                                <xsl:call-template name="br-replace">
+                                                    <xsl:with-param name="word" select=".//spec" />
+                                                </xsl:call-template>
+                                            </td>
+                                        </tr>
+                                    </xsl:for-each>
+                                </xsl:for-each>
+                            </table>
+                        </xsl:for-each>
+                    </div>
+                </div>
+            </body>
+        </html>
+    </xsl:template>
+    <xsl:template name="br-replace">
+        <xsl:param name="word" />
+        <xsl:variable name="cr">
+            <xsl:text>
+</xsl:text>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="contains($word,$cr)">
+                <xsl:value-of select="substring-before($word,$cr)" />
+                <br />
+                <xsl:call-template name="br-replace">
+                    <xsl:with-param name="word" select="substring-after($word,$cr)" />
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$word" />
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/testresult.xsl b/mobile/tct-privilege-wrt-tests/testresult.xsl
new file mode 100755 (executable)
index 0000000..96edd2b
--- /dev/null
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output method="html" version="1.0" encoding="UTF-8"
+        indent="yes" />
+    <xsl:template match="/">
+        <html>
+            <STYLE type="text/css">
+                @import "tests.css";
+            </STYLE>
+
+            <body>
+                <div id="testcasepage">
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td>
+                                    <h1>Test Report</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="device">
+                        <table>
+                            <tr>
+                                <th colspan="2">Device Information</th>
+                            </tr>
+                            <tr>
+                                <td>Device Name</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_name" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Device Model</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_model" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>OS Version</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@os_version" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Device ID</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_id" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Firmware Version</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@firmware_version" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Screen Size</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@screen_size" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Resolution</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@resolution" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Host Info</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@host" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Others</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/other" />
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+
+                    <div id="summary">
+                        <table>
+                            <tr>
+                                <th colspan="2">Test Summary</th>
+                            </tr>
+                            <tr>
+                                <td>Test Plan Name</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/@test_plan_name" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Tests Total</td>
+                                <td>
+                                    <xsl:value-of select="count(test_definition//suite/set/testcase)" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Passed</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'PASS'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Failed</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'FAIL'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test N/A</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Not Run</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase) - count(test_definition//suite/set/testcase[@result = 'PASS']) - count(test_definition//suite/set/testcase[@result = 'FAIL']) - count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Start time</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/start_at" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>End time</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/end_at" />
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+
+
+                    <div id="suite_summary">
+                        <div id="title">
+                            <table>
+                                <tr>
+                                    <td class="title">
+                                        <h1>Test Summary by Suite</h1>
+                                    </td>
+                                </tr>
+                            </table>
+                        </div>
+                        <table>
+                            <tr>
+                                <th>Suite</th>
+                                <th>Passed</th>
+                                <th>Failed</th>
+                                <th>N/A</th>
+                                <th>Not Run</th>
+                                <th>Total</th>
+                            </tr>
+                            <xsl:for-each select="test_definition/suite">
+                                <xsl:sort select="@name" />
+                                <tr>
+                                    <td>
+                                        <xsl:value-of select="@name" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'PASS'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'FAIL'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'BLOCK'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of
+                                            select="count(set//testcase) - count(set//testcase[@result = 'PASS']) - count(set//testcase[@result = 'FAIL']) - count(set//testcase[@result = 'BLOCK'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase)" />
+                                    </td>
+                                </tr>
+                            </xsl:for-each>
+                        </table>
+                    </div>
+
+                    <div id="cases">
+                        <div id="title">
+                            <table>
+                                <tr>
+                                    <td class="title">
+                                        <h1 align="center">Detailed Test Results</h1>
+                                    </td>
+                                </tr>
+                            </table>
+                        </div>
+                        <xsl:for-each select="test_definition/suite">
+                            <xsl:sort select="@name" />
+                            <p>
+                                Test Suite:
+                                <xsl:value-of select="@name" />
+                            </p>
+                            <table>
+                                <tr>
+                                    <th>Case_ID</th>
+                                    <th>Purpose</th>
+                                    <th>Result</th>
+                                    <th>Stdout</th>
+                                </tr>
+                                <xsl:for-each select=".//set">
+                                    <xsl:sort select="@name" />
+                                    <tr>
+                                        <td colspan="4">
+                                            Test Set:
+                                            <xsl:value-of select="@name" />
+                                        </td>
+                                    </tr>
+                                    <xsl:for-each select=".//testcase">
+                                        <xsl:sort select="@id" />
+                                        <tr>
+                                            <td>
+                                                <xsl:value-of select="@id" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@purpose" />
+                                            </td>
+
+                                            <xsl:choose>
+                                                <xsl:when test="@result">
+                                                    <xsl:if test="@result = 'FAIL'">
+                                                        <td class="red_rate">
+                                                            <xsl:value-of select="@result" />
+                                                        </td>
+                                                    </xsl:if>
+                                                    <xsl:if test="@result = 'PASS'">
+                                                        <td class="green_rate">
+                                                            <xsl:value-of select="@result" />
+                                                        </td>
+                                                    </xsl:if>
+                                                    <xsl:if test="@result = 'BLOCK' ">
+                                                        <td>
+                                                            BLOCK
+                                                        </td>
+                                                    </xsl:if>
+                                                </xsl:when>
+                                                <xsl:otherwise>
+                                                    <td>
+
+                                                    </td>
+                                                </xsl:otherwise>
+                                            </xsl:choose>
+                                            <td>
+                                                <xsl:value-of select=".//result_info/stdout" />
+                                                <xsl:if test=".//result_info/stdout = ''">
+                                                    N/A
+                                                </xsl:if>
+                                            </td>
+                                        </tr>
+                                    </xsl:for-each>
+                                </xsl:for-each>
+                            </table>
+                        </xsl:for-each>
+                    </div>
+                </div>
+            </body>
+        </html>
+    </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/tests.css b/mobile/tct-privilege-wrt-tests/tests.css
new file mode 100755 (executable)
index 0000000..f1ade8a
--- /dev/null
@@ -0,0 +1,103 @@
+@charset "UTF-8";
+/* CSS Document */
+#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
+    {
+    margin: 0;
+    padding: 0;
+    border: 0;
+    font-weight: inherit;
+    font-style: inherit;
+    font-size: 0.96em;
+    font-family: arial;
+    vertical-align: baseline;
+}
+
+#testcasepage p {
+    text-align: left;
+}
+
+#testcasepage table {
+    border-collapse: separate;
+    border-spacing: 0;
+    margin-bottom: 1.4em;
+    vertical-align: middle;
+}
+
+#testcasepage th,#testcasepage td {
+    text-align: left;
+    font-weight: normal;
+    padding: 4px 10px 4px 5px;
+    vertical-align: middle;
+}
+
+#cases table {
+    width: 101%;
+}
+
+#title table {
+    width: 101%;
+}
+
+#device table {
+    width: 50%;
+}
+
+#summary table {
+    width: 50%;
+}
+
+#testcasepage th {
+    border-bottom: 1px solid #000;
+    background-color: #AAAAAA;
+    border-left: 1px solid #000;
+    border-top: 1px solid #000;
+    color: #000;
+    font-weight: bold;
+    vertical-align: bottom;
+}
+
+#testcasepage th:last-child, #testcasepage td:last-child {
+    border-right: 1px solid #000;
+}
+
+#testcasepage td {
+    border-left: 1px solid;
+    font-weight: normal;
+    border-bottom: 1px solid;
+}
+
+#testcasepage td.yellow_rate {
+    background-color: #ffcc00;
+}
+
+#testcasepage td.green_rate {
+    background-color: #33cc33;
+}
+
+#testcasepage td.dgreen_rate {
+    background-color: #339933;
+}
+
+#testcasepage td.red_rate {
+    background-color: #FF3333;
+}
+
+#title table, #title tr, #title td {
+    border-left: none;
+    border-bottom: none;
+    text-align: center;
+}
+
+#title td:last-child {
+    border-right: none;
+}
+
+#testcasepage h1 {
+    font-size: 2em;
+    font-family: Arial, sans-serif; font-weight : bold;
+    line-height: 1;
+    color: #000;
+    margin-bottom: 0.75em;
+    padding-top: 0.25em;
+    font-weight: bold;
+}
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/tests.full.xml b/mobile/tct-privilege-wrt-tests/tests.full.xml
new file mode 100755 (executable)
index 0000000..71ef1ec
--- /dev/null
@@ -0,0 +1,2028 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite category="Web Runtime" name="tct-privilege-wrt-tests">
+    <set name="privilege">
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_callhistoryread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_callhistorywrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btgap" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_callhistoryread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_callhistorywrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_btmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_nwbearsel" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_callhistoryread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_callhistorywrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>  
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_callhistoryread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_callhistorywrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_sound" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrcert_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrkill_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btspp_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_bkread_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr_apiplatform_bkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     </set>
+    <set name="signpartner_apipartner_appmgrkill_apiplatform_btmgr">
+      <capabilities>
+        <capability name="http://tizen.org/feature/network.bluetooth"/>
+      </capabilities>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrkill_apiplatform_btmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     </set>
+  </suite>
+</test_definition>
\ No newline at end of file
diff --git a/mobile/tct-privilege-wrt-tests/tests.xml b/mobile/tct-privilege-wrt-tests/tests.xml
new file mode 100755 (executable)
index 0000000..716e3fc
--- /dev/null
@@ -0,0 +1,789 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite category="Web Runtime" name="tct-privilege-wrt-tests">
+    <set name="privilege">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_applaunch.wgt wrt6sig021</test_script_entry>
+        <test_script_entry>/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_uninstaller.sh signpublic_apipublic_applaunch.wgt wrt6sig021</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_btadmin.wgt wrt6sig022</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_btspp.wgt wrt6sig023</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_callhistoryread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_callhistoryread.wgt wrt6sig024</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_callhistorywrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_callhistorywrite.wgt wrt6sig025</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contactread.wgt wrt6sig026</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contactwrite.wgt wrt6sig027</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contentread.wgt wrt6sig028</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contentwrite.wgt wrt6sig029</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_datasync.wgt wrt6sig030</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_download.wgt wrt6sig031</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_fsread.wgt wrt6sig032</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_fswrite.wgt wrt6sig033</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_msgread.wgt wrt6sig034</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_msgwrite.wgt wrt6sig035</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfcadmin.wgt wrt6sig036</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfccommon.wgt wrt6sig037</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfcp2p.wgt wrt6sig038</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfctag.wgt wrt6sig039</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_notification.wgt wrt6sig040</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_pkginfo.wgt wrt6sig041</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_power.wgt wrt6sig042</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_push.wgt wrt6sig043</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_setting.wgt wrt6sig044</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_system.wgt wrt6sig045</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_secele.wgt wrt6sig046</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_appinfo.wgt wrt6sig047</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_bthealth.wgt wrt6sig048</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_websetting.wgt wrt6sig049</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_datactrlcum.wgt wrt6sig050</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipartner_appmgrcert" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipartner_appmgrcert.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipartner_appmgrkill" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipartner_appmgrkill.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_bkmarkread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_bkmarkread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_bkmarkwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_bkmarkwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_telephony.wgt wrt6sig056</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_alarm" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_alarm.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btadmin" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btadmin.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btgap" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btgap.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btspp" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btspp.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_calendarread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_calendarread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_calendarwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_calendarwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_callhistoryread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_callhistoryread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_callhistorywrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_callhistorywrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contactread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contactread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contactwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contactwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contentread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contentread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_appmgrcert" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_appmgrcert.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_appmgrkill" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_appmgrkill.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_bkmarkread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_bkmarkread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_bkmarkwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_bkmarkwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contentwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contentwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_datactrlcum" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_datactrlcum.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_download" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_download.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_fsread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_fsread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_fswrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_fswrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_msgread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_msgread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_msgwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_msgwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_notification" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_notification.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_pkginfo" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_pkginfo.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_power" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_power.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_push" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_push.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_setting" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_setting.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_system" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_system.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_telephony" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_telephony.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_appinfo" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_appinfo.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_bthealth" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_bthealth.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_websetting" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_websetting.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_btmgr" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_btmgr.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_nwbearsel" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_nwbearsel.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_applaunch.wgt wrt6sig093</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrcert" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrcert.wgt wrt6sig094</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrkill.wgt wrt6sig095</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_btadmin.wgt wrt6sig096</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_btspp.wgt wrt6sig097</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_calendarread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_calendarread.wgt wrt6sig098</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_calendarwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_calendarwrite.wgt wrt6sig099</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_callhistoryread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_callhistoryread.wgt wrt6sig100</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_callhistorywrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_callhistorywrite.wgt wrt6sig101</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contactread.wgt wrt6sig102</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contactwrite.wgt wrt6sig103</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contentread.wgt wrt6sig104</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contentwrite.wgt wrt6sig105</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_datactrlcum.wgt wrt6sig106</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_datasync.wgt wrt6sig107</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_download.wgt wrt6sig108</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_fsread.wgt wrt6sig109</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_fswrite.wgt wrt6sig110</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_msgread.wgt wrt6sig111</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_msgwrite.wgt wrt6sig112</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfcadmin.wgt wrt6sig113</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfccommon.wgt wrt6sig114</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfcp2p.wgt wrt6sig115</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfctag.wgt wrt6sig116</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_notification.wgt wrt6sig117</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_pkginfo.wgt wrt6sig118</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_power.wgt wrt6sig119</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_push.wgt wrt6sig120</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_setting.wgt wrt6sig121</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_secele.wgt wrt6sig122</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_system.wgt wrt6sig123</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_telephony.wgt wrt6sig124</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_appinfo.wgt wrt6sig125</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_bthealth.wgt wrt6sig126</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_websetting.wgt wrt6sig127</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apiplatform_bkmarkread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apiplatform_bkmarkread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apiplatform_bkmarkwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apiplatform_bkmarkwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_applaunch.wgt wrt6sig130</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipartner_appmgrcert" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipartner_appmgrcert.wgt wrt6sig131</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipartner_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipartner_appmgrkill.wgt wrt6sig132</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_btadmin.wgt wrt6sig133</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_btspp.wgt wrt6sig134</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_bkmarkread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_bkmarkread.wgt wrt6sig135</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_bkmarkwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_bkmarkwrite.wgt wrt6sig136</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_calendarwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_calendarwrite.wgt wrt6sig137</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_calendarread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_calendarread.wgt wrt6sig138</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_callhistoryread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_callhistoryread.wgt wrt6sig139</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_callhistorywrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_callhistorywrite.wgt wrt6sig140</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contactread.wgt wrt6sig141</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contentwrite.wgt wrt6sig142</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contactwrite.wgt wrt6sig143</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contentread.wgt wrt6sig144</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_datactrlcum.wgt wrt6sig145</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_datasync.wgt wrt6sig146</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_download.wgt wrt6sig147</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_fsread.wgt wrt6sig148</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_fswrite.wgt wrt6sig149</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_msgread.wgt wrt6sig150</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_msgwrite.wgt wrt6sig151</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfcadmin.wgt wrt6sig152</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfccommon.wgt wrt6sig153</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfcp2p.wgt wrt6sig154</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfctag.wgt wrt6sig155</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_notification.wgt wrt6sig156</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_pkginfo.wgt wrt6sig157</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_pkgmgrinstall" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_pkgmgrinstall.wgt wrt6sig158</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_power.wgt wrt6sig159</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_push.wgt wrt6sig160</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_secele.wgt wrt6sig161</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_setting.wgt wrt6sig162</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_system.wgt wrt6sig163</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_telephony.wgt wrt6sig164</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_appinfo.wgt wrt6sig165</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_bthealth.wgt wrt6sig166</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_websetting.wgt wrt6sig167</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_sound" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_sound.wgt wrt6sig168</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrcert_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrcert_appmgrkill.wgt wrt6sig169</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrkill_apipublic_alarm" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrkill_apipublic_alarm.wgt wrt6sig170</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony_apipublic_alarm" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_telephony_apipublic_alarm.wgt wrt6sig171</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btspp_apiplatform_bkmarkwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apipublic_btspp_apiplatform_bkmarkwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_bkread_apipublic_alarm" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_bkread_apipublic_alarm.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony_apiplatform_bkread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipublic_telephony_apiplatform_bkread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    </set>
+    <set name="signpartner_apipartner_appmgrkill_apiplatform_btmgr">
+      <capabilities>
+        <capability name="http://tizen.org/feature/network.bluetooth"/>
+      </capabilities>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrkill_apiplatform_btmgr" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apipartner_appmgrkill_apiplatform_btmgr.wgt</test_script_entry>
+        </description>
+    </testcase>
+     </set>
+  </suite>
+</test_definition>
index 82c4c55b21b788ace2067a902f5424f9cbd3c56f..775562ad7b38f0218cdef085f73af562c75acd5b 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-ui01-wrt-tests], [2.3b], [yunfenx.hao@intel.com])
+AC_INIT([tct-ui01-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 9536e705edeaec2335178d225be3ff2a05e9157b..d253e4cb298741a961a12c803f5caf7dfb2d4403 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-alarm" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-alarm</name>
index fe2d7780f149ab5531b33dd8ed94e970e476a3a4..8e10b95861602c03270f346214677c4b27a85839 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-application-launch" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-application-launch</name>
index 09dd6fc0cf6bb8926e79a72c2b68404a06d6741f..e45bf9dc83322de8697627d2c49fb72f3b92beab 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-application-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-application-read</name>
index 4e5e7f5f58bbb407cb71f8d02e3871413fad506c..6f647f64e6036c6440d779693fc54706c19f0584 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-bluetooth-admin" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-bluetooth-admin</name>
-  <tizen:application id="wrt4mob048.multipleotherbluetoothadmin" package="wrt4mob048" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  <tizen:application id="wrt4mob048.multipleotherbluetoothadmin" package="wrt4mob048" required_version="2.3.1"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
   <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
 </widget>
index 7f1f3ef4f6d194c9eaedaf45d2c706fa62f6fb43..16ed5fdfef4f7e965d3a98fa1bf5ea5b52630fc3 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-bluetooth-gap" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-bluetooth-gap</name>
-  <tizen:application id="wrt4mob049.multipleotherbluetoothgap" package="wrt4mob049" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  <tizen:application id="wrt4mob049.multipleotherbluetoothgap" package="wrt4mob049" required_version="2.3.1"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
 </widget>
index 289431438f8fd9d97bc1838b0315b035d4a94a69..1a3d6034232761ca155bdc904bf540992c8a3278 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-bluetooth-spp" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-bluetooth-spp</name>
-  <tizen:application id="wrt4mob050.multipleotherbluetoothspp" package="wrt4mob050" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  <tizen:application id="wrt4mob050.multipleotherbluetoothspp" package="wrt4mob050" required_version="2.3.1"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
   <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
 </widget>
index 0febfd0a929c41f92f90ece02fc7db931189b902..2467122fd30feccfa8601ef006490252c52efbbd 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-calendar-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-calendar-read</name>
   <tizen:application id="wrt4moc052.multipleothercalendarread" package="wrt4moc052" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
 </widget>
index 69f852dc97a1d56a6d1ee3ab2627cd08783ee217..db961a0facc0b6a8ac0a1a51ff558fd130609659 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-calendar-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-calendar-write</name>
   <tizen:application id="wrt4moc053.multipleothercalendarwrite" package="wrt4moc053" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
   <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
 </widget>
index b0e76786758171126ca306f0186f6adeed9940d9..e32dd2ead3c0cae34563ad572aeb8c000c8e9aa2 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-callhistory-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-callhistory-read</name>
index 4a9497363ea9a3c9b08860c289759e61889ebf35..73d91ef1d65ce90c823cadabf8f8cc3d96488e96 100755 (executable)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-callhistory-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-callhistory-write</name>
-  <tizen:application id="wrt4moc086.multipleothercallhistorywrite" package="wrt4moc086" required_version="2.3"/>
+  <tizen:application id="wrt4moc086.multipleothercallhistorywrite" package="wrt4moc086" required_version="2.3.1"/>
   <tizen:privilege name="http://tizen.org/privilege/callhistory.write"/>
 </widget>
\ No newline at end of file
index fae6cb5b0839dc5d2efd1751cda28bdeb8069422..a3e422fa23cfb16c68cfeea09cd4d7718bcc72fd 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-contact-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-contact-read</name>
   <tizen:application id="wrt4moc060.multipleothercontactread" package="wrt4moc060" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
 </widget>
index 66d0182466ee1b60d381749dd40fd7ed0ec1742b..f3b280e9afb0413e5dd0b7705f5c49489b7e0f9d 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-contact-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-contact-write</name>
   <tizen:application id="wrt4moc061.multipleothercontactwrite" package="wrt4moc061" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
   <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
 </widget>
index 2197360b3b266421504bf9e2b0585d08f4f25c0a..edc4fe2b26d15e85beeea31c0ff0a9ed4b2d2e79 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-content-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-content-read</name>
index 9d5ee6510ad5e5e6cc8d422424181c9ca86f075d..c0a67ee26053ce4e4bce3721f42621ebc3ffbf63 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-content-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-content-write</name>
index a867fb5a7278be7247d640ea1e4b2376eba93c33..ef1395ed50a514501a35aaeb7aad6dcc6797bcc7 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-download" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-download</name>
index 7330293bb5742f81bd9b2b0ce34362c55445836c..6c2c663dc3297c37164b364cd86bb2d509138fb8 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-filesystem-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-filesystem-read</name>
index 8dce24c073b999149737d8b83d6f84eecadf6e85..b9f6e38a5fa8e42a13b6ac48a8f4a67fd00201f6 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-filesystem-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-filesystem-write</name>
index 832f8650fbf47fd100a3e1c4b85575abba01cc2e..bfff1c1c667dcc4283d7ebad89d0b7e0d83e6cc8 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-messaging-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-messaging-read</name>
   <tizen:application id="wrt4mom071.multipleothermessagingread" package="wrt4mom071" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
 </widget>
index cd75de81813af48eecab13664c33f6c2973ed99b..ba352a00daa7e67cae9a96b59aa34ecbd95ffcc2 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-messaging-send" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-messaging-send</name>
   <tizen:application id="wrt4mom072.multipleothermessagingsend" package="wrt4mom072" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/messaging.send"/>
 </widget>
index 108e5b18fbce35e5a8febc9d6a24e396386367fb..ad69515964a8f647d366831ad581d87462b995df 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-messaging-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-messaging-write</name>
   <tizen:application id="wrt4mom073.multipleothermessagingwrite" package="wrt4mom073" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
 </widget>
index e96e264eda9fb64de50e3131f3f2846cbdf1a276..79961c44c2cd8daf7ac6de52768efa3189d91c45 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-nfc-admin" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-nfc-admin</name>
-  <tizen:application id="wrt4mon074.multipleothernfcadmin" package="wrt4mon074" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  <tizen:application id="wrt4mon074.multipleothernfcadmin" package="wrt4mon074" required_version="2.3.1"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
   <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
 </widget>
index 2cb11b443ba1ce07195465df466ab8305cf5d345..16113fa5002839c855b72e510537f576dad67e1d 100755 (executable)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-nfc-common" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-nfc-common</name>
   <tizen:application id="wrt4mon091.multipleothernfccommon" package="wrt4mon091" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
 </widget>
index eb187fbc66e992aef71b9a165640773595c1661b..98964c8dfa89dcc68cd62718c74e1f26c9f4203f 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-nfc-p2p" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-nfc-p2p</name>
   <tizen:application id="wrt4mon076.multipleothernfcp2p" package="wrt4mon076" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
   <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
 </widget>
index 8bc0294e71c0d059b85e3814497edd6ba0deffcd..ea5c946ee504fdf27fe239f8328c1c58752e485a 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-nfc-tag" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-nfc-tag</name>
   <tizen:application id="wrt4mon077.multipleothernfctag" package="wrt4mon077" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
   <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
 </widget>
index a2a39a38539f7c52933da9230f9c48679a1f16db..1fcf15711579dc8591e29a188639d602f4d4b584 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-notification" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-notification</name>
index 5071d83ca86d74b10dd65b96ba8f1a727b5d5265..0d694fac103afccd20bb3d34e0f83a88bf3e8b6c 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-power" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-power</name>
index 0adcfc1c0ed90bfba705fee6c398d32c8343d18d..15fec75eb4b8884f7b80fe6e7a3928d26f50659b 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-systeminfo" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-systeminfo</name>
index b1eabde7e6a504b9da96486217bb885a3e2fbeb5..a876bde57cd21ae66879547a19cce05344f23fbd 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-systemsetting" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-systemsetting</name>
index f41695a1b8feb5de265ba5ff06c9a81bd5f43261..088805d119e3d48bbd0c0f45dedf782487021298 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-time" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-time</name>
index 2c2cf9a91f6b63127d9aa9a16746690c7148d6fd..bbef6a2fe469527ed8446dddc0fc96ec0d542416 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-tizen" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-tizen</name>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 88723fd0d4575a831d715f66eb87aca9739c6c60..590ac37c1bfb179f7ac30d5be2c3698cbb4c16cd 100755 (executable)
@@ -46,7 +46,7 @@
     </set>
     <set name="multiple-other-nfc-admin">
       <capabilities>
-        <capability name="nfc" />
+        <capability name="http://tizen.org/feature/network.nfc" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-admin" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.admin feature.">
         <description>
@@ -56,7 +56,7 @@
     </set>
     <set name="multiple-other-nfc-p2p">
       <capabilities>
-        <capability name="nfc" />
+        <capability name="http://tizen.org/feature/network.nfc" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-p2p" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.p2p feature.">
         <description>
@@ -66,7 +66,7 @@
     </set>
     <set name="multiple-other-nfc-tag">
       <capabilities>
-        <capability name="nfc" />
+        <capability name="http://tizen.org/feature/network.nfc" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-tag" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.tag feature.">
         <description>
     </set>
     <set name="multiple-other-bluetooth-admin">
       <capabilities>
-        <capability name="bluetooth" />
+        <capability name="http://tizen.org/feature/network.bluetooth" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-admin" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.admin feature.">
         <description>
     </set>
     <set name="multiple-other-bluetooth-gap">
       <capabilities>
-        <capability name="bluetooth" />
+        <capability name="http://tizen.org/feature/network.bluetooth" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-gap" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.gap feature.">
         <description>
     </set>
     <set name="multiple-other-bluetooth-spp">
       <capabilities>
-        <capability name="bluetooth" />
+        <capability name="http://tizen.org/feature/network.bluetooth" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-spp" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.spp feature.">
         <description>
     </set>
     <set name="multiple-other-callhistory-read">
       <capabilities>
-        <capability name="network.telephony"/>
+        <capability name="http://tizen.org/feature/network.telephony"/>
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-callhistory-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to callhistory.read feature.">
         <description>
     </set>
     <set name="multiple-other-callhistory-write">
       <capabilities>
-        <capability name="network.telephony"/>
+        <capability name="http://tizen.org/feature/network.telephony"/>
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-callhistory-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to callhistory.write feature.">
         <description>
     </set>
     <set name="multiple-other-nfc-common">
       <capabilities>
-        <capability name="nfc" />
+        <capability name="http://tizen.org/feature/network.nfc" />
       </capabilities>
       <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-common" purpose="Check if WRT supports new top-level browsing context created from widget context has access to nfc.common feature.">
         <description>
index 672b59dbe0be8151b0a8bc548a84756ebbcab758..22e359d57c774db4806b97f9ddd586c5dbb021d4 100755 (executable)
@@ -1,4 +1,5 @@
 SUITE="tct-ext01-wrt-tests
+tct-privilege-wrt-tests
 tct-ui01-wrt-tests"
 
 #parse params
index c710fb832ba8b42d56698fafa7323698b867b626..34752895d1509ce123ab8335f5c43ae84b18ee44 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/application-privilege" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>application-privilege</name>
   <tizen:application id="wrt5scr031.ApplicationPrivilege" package="wrt5scr031" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/testautomation"/>
+  
   <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
   <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
 </widget>
index fc9e28ae30ea8026b12d0f44cb3dddf105cdccc2..e22ad92427a56b8dacaf80b5060b49be65a3dafb 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-ext01-wrt-tests], [2.3b], [yugang.fan@intel.com])
+AC_INIT([tct-ext01-wrt-tests], [2.3.1], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index d0e12e31812605283e9cb332d1bbef06609250a3..bcf30d6b876228b1d98fc01fbc85f5db6d3a8160 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/metadata-support" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>metadata-support</name>
index 50575d26b9627a10371e06ffa370218b10287fb6..b78fa8c2ba51722260ec044c448c7fb8b37047a4 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
diff --git a/wearable/tct-privilege-wrt-tests/COPYING b/wearable/tct-privilege-wrt-tests/COPYING
new file mode 100755 (executable)
index 0000000..e28b655
--- /dev/null
@@ -0,0 +1,13 @@
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/LICENSE.Apache-2.0 b/wearable/tct-privilege-wrt-tests/LICENSE.Apache-2.0
new file mode 100755 (executable)
index 0000000..d645695
--- /dev/null
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/wearable/tct-privilege-wrt-tests/Makefile.am b/wearable/tct-privilege-wrt-tests/Makefile.am
new file mode 100755 (executable)
index 0000000..93e9eaa
--- /dev/null
@@ -0,0 +1,22 @@
+##
+#Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+#Licensed under the Apache License, Version 2.0 (the License);
+#you may not use this file except in compliance with the License.
+#You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+#
+#
+#Authors:
+#       Ran Wang <ran22.wang@samsung.com>
+#
+SUBDIRS =  scripts
+docdir = $(prefix)/opt/tct-privilege-wrt-tests
+dist_doc_DATA = README *.wgt COPYING tests.xml tests.full.xml
diff --git a/wearable/tct-privilege-wrt-tests/README b/wearable/tct-privilege-wrt-tests/README
new file mode 100755 (executable)
index 0000000..126426e
--- /dev/null
@@ -0,0 +1,64 @@
+----------------------------------------------
+Author
+----------------------------------------------
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Ran Wang <ran22.wang@samsung.com>
+
+----------------------------------------------
+Introduction
+----------------------------------------------
+This test suite is for W3C Widget Interface specification testing:
+
+http://www.w3.org/TR/2011/WD-widgets-apis-20110607/
+
+
+----------------------------------------------
+Test Environment
+----------------------------------------------
+1. Pre-install Testkit-Lite package on Host(ubuntu12.04 and ubuntu12.10).
+   sudo apt-get install python-pip
+   sudo pip install requests
+   sudo dpkg -i testkit-lite-<version>.deb
+2. Push "httpserver" into test machine.
+   sdb root on
+   sdb push httpserver /usr/bin
+   sdb shell chmod +x /usr/bin/httpserver
+3. Run the cases as "normal" user.
+
+
+----------------------------------------------
+Build and Run
+----------------------------------------------
+(Suppose you only got the source code set up on your test machine.
+ If you have obtained tct-privilege-wrt-tests ZIP packages on the test machine, you can directly go to step 3;
+ if you have not installed Testkit-Lite, you need to install the latest version.)
+
+Steps:
+1. Prepare for building by running the following command:
+   cd tct-privilege-wrt-tests
+
+2. Build ZIP package by running the following command:
+   ./pack.sh
+
+3. Unzip the package on the test machine by running the following command:
+   unzip -o tct-privilege-wrt-tests-<version>.zip -d /opt/usr/media/tct
+
+4. Install the package on the test machine by running the following command:
+   /opt/usr/media/tct/opt/tct-privilege-wrt-tests/inst.sh
+
+5. Run test cases by running the following command on host:
+   testkit-lite -f device:/opt/usr/media/tct/opt/tct-privilege-wrt-tests/tests.xml -e "WRTLauncher" -o tct-privilege-wrt-tests.results.xml
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/autogen b/wearable/tct-privilege-wrt-tests/autogen
new file mode 100755 (executable)
index 0000000..d41ae7d
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Authors:
+#               Fan, Yugang <yugang.fan@intel.com>
+#
+
+autoreconf --install
diff --git a/wearable/tct-privilege-wrt-tests/configure.ac b/wearable/tct-privilege-wrt-tests/configure.ac
new file mode 100755 (executable)
index 0000000..db292c8
--- /dev/null
@@ -0,0 +1,11 @@
+AC_INIT([tct-privilege-wrt-tests], [2.3.1], [ran22.wang@samsung.com])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+
+# Checks for programs.
+#AC_PROG_CC
+
+AC_CONFIG_FILES([\
+Makefile \
+scripts/Makefile \
+])
+AC_OUTPUT
diff --git a/wearable/tct-privilege-wrt-tests/inst.sh.wgt b/wearable/tct-privilege-wrt-tests/inst.sh.wgt
new file mode 100755 (executable)
index 0000000..4661715
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/bash
+wgt_installer="pkgcmd"
+NAME=$(basename $(cd $(dirname $0);pwd))
+
+#parse params
+USAGE="Usage: ./inst.sh [-i] [-u]
+  -i install wgt and config environment 
+  -u uninstall wgt and remove source file
+[-i] option was set as default."
+
+function installpkg(){
+    echo "No need to install $NAME.wgt ..."
+}
+
+function uninstallpkg(){
+### remove source file ###
+if [ -d /opt/usr/media/tct/opt/$NAME ];then
+    rm -rf /opt/usr/media/tct/opt/$NAME
+else
+    echo "Remove source file fail,please check if the source file exist: /opt/usr/media/tct/opt/$NAME ..."
+fi
+}
+
+case "$1" in
+    -h|--help) echo "$USAGE"
+               exit ;;
+    ""|-i) installpkg;;
+    -u) uninstallpkg;;
+    *) echo "Unknown option: $1"
+       echo "$USAGE"
+       exit ;;
+esac
diff --git a/wearable/tct-privilege-wrt-tests/pack.sh b/wearable/tct-privilege-wrt-tests/pack.sh
new file mode 100755 (executable)
index 0000000..8b07918
--- /dev/null
@@ -0,0 +1,246 @@
+#!/bin/bash
+source $(dirname $0)/$(basename $(pwd)).spec
+
+#parse params
+usage="Usage: ./pack.sh [-t <package type: wgt | apk | crx | xpk>]
+[-t wgt] option was set as default."
+
+if [[ $1 == "-h" || $1 == "--help" ]]; then
+    echo $usage
+    exit 1
+fi
+
+type="wgt"
+while getopts t: o
+do
+    case "$o" in
+    t) type=$OPTARG;;
+    *) echo $usage
+       exit 1;;
+    esac
+done
+
+if [[ $type == "wgt" || $type == "apk" || $type == "crx" || $type == "xpk" ]];then
+    echo "Create package with $type and raw source"
+else
+    echo "Sorry,$type is not support... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    echo "$usage"
+    exit 1
+fi
+
+if [[ -z $name || -z $version || -z $appname ]];then
+    echo "Package name or version not specified in spec"
+    exit 1
+fi
+
+SRC_ROOT=${PWD}
+BUILD_ROOT=/tmp/${name}_pack
+BUILD_DEST=/tmp/${name}
+
+# clean
+function clean_workspace(){
+echo "cleaning workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+rm -rf $BUILD_ROOT $BUILD_DEST
+}
+
+clean_workspace
+mkdir -p $BUILD_ROOT $BUILD_DEST
+
+# copy source code
+rm -rf *.rpm *.tar.bz2 *.tar.gz *.zip
+cp -arf $SRC_ROOT/* $BUILD_ROOT/
+
+# copy signing tool
+echo "copy signing tool... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cp -arf $SRC_ROOT/../../tools/signing $BUILD_ROOT/signing
+if [ $? -ne 0 ];then
+    echo "No signing tool found in $SRC_ROOT/../../tools.... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+
+## function for create wgt apk xpk ##
+
+function create_wgt(){
+# create wgt
+cd $BUILD_ROOT
+pack_fail='FALSE'
+suite_dir=${PWD}
+all_dirs=`ls -l --time-style="long-iso" $suite_dir | grep '^d' | awk '{print $8}'|grep -v signing`
+black_dirs=''
+signing_white_dirs=''
+
+#black list reserved for some non-suite folders.
+if [ -f "$suite_dir/blackdirs" ]; then
+    black_dirs=`cat $suite_dir/blackdirs`
+    echo "Got black dirs: $black_dirs"
+fi
+
+#signning white list reserved for some signing folders.
+if [ -f "$suite_dir/signing_whitedirs" ]; then
+    signing_white_dirs=`cat $suite_dir/signing_whitedirs`
+    echo "Got signing white dirs: $signing_white_dirs"
+fi
+
+function check_blackdir()
+{
+  for bdir in ${black_dirs[@]}; do
+    if [ $1 == $bdir ]; then
+      return 1;
+    fi
+  done
+  return 0
+}
+
+function check_signing_whitedir()
+{
+  for signing_wdir in ${signing_white_dirs[@]}; do
+    if [ $1 == $signing_wdir ]; then
+      return 1;
+    fi
+  done
+  return 0
+}
+
+echo "-->> Creating widgets >>--"
+for app in $all_dirs; do
+    check_blackdir $app
+    if [ $? == 1 ]; then
+        echo "Got a black dir: $app"
+        continue
+    elif [ $(find $app|wc -l) -eq 1 ]; then
+        echo "No files found in $app, skip it ..."
+        continue
+    else
+        if [ -f $app.wgt ]; then
+            echo "Delete old packaged file"
+            rm -rf $app.wgt
+        fi
+        cd $app
+        echo "Start pack $app ..."
+        zip -rq ../$app.wgt *
+        if [ $? -ne 0 ]; then
+            pack_fail='TRUE'
+            echo "Create $app.wgt fail, continue to pack others"
+        else
+            check_signing_whitedir $app
+            if [ $? == 0 ];then
+               echo "$app is not in signing white dir, not sign for it."
+               cd $suite_dir
+               continue
+            fi
+        if [ -d "$BUILD_ROOT/signing" ]; then
+                echo "Start sign wgt ..."
+                $BUILD_ROOT/signing/sign-widget.sh --dist platform $BUILD_ROOT/$app.wgt
+            else
+                echo "Not found signing folder."
+                rm -rf $suite_dir/*.wgt
+                clean_workspace
+                exit 1
+            fi
+            echo -e "Done\n"
+        fi
+        cd $suite_dir
+    fi
+done
+echo "-- Create widgets done --"
+
+if [ $pack_fail != 'FALSE' ]; then
+    echo "Fail to pack some packages ..."
+    clean_workspace
+    exit 1
+fi
+
+# build
+echo "build from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cd  $BUILD_ROOT
+./autogen && ./configure --prefix=/ && make && make install DESTDIR=$BUILD_DEST
+if [ $? -ne 0 ];then
+    echo "build fail,please check Makefile.am and cofigure.ac... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+find $BUILD_DEST -name "Makefile*" -delete
+}
+
+function create_apk(){
+echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function create_xpk(){
+echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function create_crx(){
+echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## zip function ##
+function zip_for_wgt(){
+cd $BUILD_DEST
+# cp inst.sh script #
+rm -rf $BUILD_DEST/opt/$name/inst.sh.wgt
+cp -af $BUILD_ROOT/inst.sh.wgt $BUILD_DEST/opt/$name/inst.sh
+
+zip -Drq $BUILD_DEST/$name-$version.zip opt/
+if [ $? -ne 0 ];then
+    echo "Create zip package fail... >>>>>>>>>>>>>>>>>>>>>>>>>"
+    clean_workspace
+    exit 1
+fi
+}
+
+function zip_for_apk(){
+echo "Sorry,apk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function zip_for_xpk(){
+echo "Sorry,xpk is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+function zip_for_crx(){
+echo "Sorry,crx is not support yet... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+clean_workspace
+exit 1
+}
+
+## create wgt crx apk xpk and zip package ##
+case $type in
+    wgt) create_wgt
+         zip_for_wgt;;
+    apk) create_apk
+         zip_for_apk;;
+    xpk) create_xpk
+         zip_for_xpk;;
+    crx) create_crx
+         zip_for_crx;;
+esac
+
+
+# copy zip file
+echo "copy package from workspace... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cp -f $BUILD_DEST/$name-$version.zip $SRC_ROOT/$name-$version.zip
+
+# clean workspace
+clean_workspace
+
+# validate
+echo "checking result... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
+cd $SRC_ROOT
+if [ -z "`ls | grep "\.zip"`" ];then
+    echo "------------------------------ FAILED to build $name packages --------------------------"
+    exit 1
+fi
+
+echo "------------------------------ Done to build $name packages --------------------------"
+ls *.zip 2>/dev/null
diff --git a/wearable/tct-privilege-wrt-tests/scripts/Makefile.am b/wearable/tct-privilege-wrt-tests/scripts/Makefile.am
new file mode 100755 (executable)
index 0000000..0c2b2ad
--- /dev/null
@@ -0,0 +1,3 @@
+scripts_SCRIPTS = *
+scriptsdir = $(prefix)/opt/tct-privilege-wrt-tests/scripts
+EXTRA_DIST = $(scripts_SCRIPTS)
diff --git a/wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh b/wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh
new file mode 100755 (executable)
index 0000000..9baff57
--- /dev/null
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+#Copyright (c) 2013 Intel Corporation.
+
+#Redistribution and use in source and binary forms, with or without modification,
+#are permitted provided that the following conditions are met:
+#
+#* Redistributions of works must retain the original copyright notice, this list
+#  of conditions and the following disclaimer.
+#* Redistributions in binary form must reproduce the original copyright notice,
+#  this list of conditions and the following disclaimer in the documentation
+#  and/or other materials provided with the distribution.
+#* Neither the name of Intel Corporation nor the names of its contributors
+#  may be used to endorse or promote products derived from this work without
+#  specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Author:
+#        Zhang Ge <gex.zhang@intel.com>
+#        Ran Wang <ran22.wang@samsung.com>
+
+if [ $# != 2 ];then
+    echo "Please add parameters packagename and widget id."
+    exit 1
+fi
+path=$(dirname $(dirname $0))
+PACKAGENAME="$path/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ ! -z "$WIDGETNAME"  ]
+then
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+  if [ ! -z "$WIDGETNAME"  ]
+  then
+    echo -e  "Fail to uninstall the existed widget!"
+    exit 1
+  fi
+fi
+pkgcmd -i -t wgt -q -p $PACKAGENAME
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ "$WIDGETNAME" = "$2"  ]
+then
+  echo -e  "The widget is installed successfully!"
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  exit 0
+else
+  echo -e  "Fail to install the widget!"
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  exit 1
+fi
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh b/wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh
new file mode 100755 (executable)
index 0000000..de77f46
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/bash
+#
+#Copyright (c) 2013 Intel Corporation.
+
+#Redistribution and use in source and binary forms, with or without modification,
+#are permitted provided that the following conditions are met:
+#
+#* Redistributions of works must retain the original copyright notice, this list
+#  of conditions and the following disclaimer.
+#* Redistributions in binary form must reproduce the original copyright notice,
+#  this list of conditions and the following disclaimer in the documentation
+#  and/or other materials provided with the distribution.
+#* Neither the name of Intel Corporation nor the names of its contributors
+#  may be used to endorse or promote products derived from this work without
+#  specific prior written permission.
+#
+#THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+#INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+#BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+#OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+#NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Author:
+#        Cao, Jenny <jenny.q.cao@intel.com>
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+    echo "Please add parameter packagename!"
+    exit 1
+fi
+path=$(dirname $(dirname $0))
+PACKAGENAME="$path/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ ! -z "$WIDGETNAME"  ]
+then
+  pkgcmd -u -q -t wgt -n $WIDGETNAME
+  WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+  if [ ! -z "$WIDGETNAME"  ]
+  then
+    echo -e  "Fail to uninstall the existed widget!"
+    exit 1
+  fi
+fi
+pkgcmd -i -t wgt -q -p $PACKAGENAME
+WIDGETNAME=`wrt-launcher -l|grep "$APP_NAME"|awk '{print $(NF-1)}'`
+if [ -z "$WIDGETNAME" ]
+then
+  echo -e  "Fail to install the widget!"
+  exit 0
+else
+  echo -e  "The widget is installed successfully!"
+  exit 1
+fi
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..8e4c4c3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vcaQcgka7biMKb7ublXHf0y5krTDaouHqjJMAkff5FU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<Sign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+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..67e5cef
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig094.signpartnerapipartnerappmgrcert" package="wrt6sig094" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..e420908
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..4c126d6
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VXeXAirIUh863NLOAmwYD8Fodp/IaEWBP6bbRRgKUoo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vcaQcgka7biMKb7ublXHf0y5krTDaouHqjJMAkff5FU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AKo/i6ylKRAwK3vlzy+Yq9PSeTyGY5eHNnS9lpzR+QRCNdUbE4q89NfHD/cC9j2HWDilgcneX1yY
+IfZpYAtG+NaAVZaD8jmyi8reN5nzNVfOSTVP87miiB1QS2j/O3UhxY6KfR4mdrACQujYDgXiW2IJ
+q2ySnYj/aKG6e0qbgA0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>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MBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..f3f20c3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4Vnf/uJh2WDu4UIfgfaF7BJ3SVLpwes7HJm6nNP3WdM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8sXcFRsDDAcKHquxCH+BsMPlQd3djfRCklr1c4oDECw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+D9v8r477DzavwsonVJh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8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..acd4896
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrcert_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig169.signpartnerapipartnerappmgrcertappmgrkill" package="wrt6sig169" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrcert_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..2ed8975
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+
+ //application manager kill privilege check
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..97270d5
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GS8DBeegakaQmSlzFxfzT4Swc2q7MtvDWPBWsUDIkXo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4Vnf/uJh2WDu4UIfgfaF7BJ3SVLpwes7HJm6nNP3WdM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8sXcFRsDDAcKHquxCH+BsMPlQd3djfRCklr1c4oDECw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+rPDyHIgp/NEtaBlYnfE0UE/oE2XkQVh7/PIoQR1GugTghm2q2EJcMuNekpr1X7xLiMqcT/iKnk+N
+ycftJqxd2zmEh87ob/r+ERwX1+XQbXMBJy1biKCJkXECIgCUZsNioJ8AlmaERTtcltwxOmbflwlw
+A2P1tcTSVAJUJnQjxW4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7I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0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..7baaf6b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FVSWAgj9kOGigYE+XjDS+asqj9ASEKS/GarZPZVFWIc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eJoQSiKeT1H9qkJdiBAdb/D+XahlauPTZTIm4MN9oQ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+E3dXxvdjSQm8AoQIgK+J2Aca555k86V4DSw48O6ZqVvX87SvHij8s4LcBLSdeWuJB0FuI82zIVC5
+l+tzT0TsKfiQr5mKbYfbaRS64ns6VGEBZjkB8rMlbczllLsEDg6wwPz6jbo//OCuUnAXVJMSHUCf
+EQrTTOfBGDvv5a3J3gE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAY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UCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..6b9018f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig095.signpartnerapipartnerappmgrkill" package="wrt6sig095" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..8e796ac
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..7b2549a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pYdY1TCUxIllCJW6hc/2k4PnnNDYUCVvK4j4QUbrhyU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FVSWAgj9kOGigYE+XjDS+asqj9ASEKS/GarZPZVFWIc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eJoQSiKeT1H9qkJdiBAdb/D+XahlauPTZTIm4MN9oQ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H1vIbtkS5J6TaCUyOpvRKDPlJYFgLOXM5mpp6fQ75ZT9x6YTs/GVSyq23iOLx3+5pd1nNuzAtT3K
+QW3X/nuP4MqBYChGrTP0oNT7CEfElTh9EK5Nw4W9m7yVA4WnCwEH5puu8OLwHFGnJdU4IlMFGWsy
+vVKL1uuc0Gk6wcFAQeg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1ev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KPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..0e23abe
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sDJoF4KFkA0GjkkAd0hAv2iPVEIXf4TocQrwwgwh4dQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cu46iitRAZBC2pXbqGgcMsf1TwKAIw4aNlGzfuWkSDY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+K9RH5KxEN9XPa02E3czBVV3BsLdXXa8V8uoUv28SAr9LfytNvdIj+wdvhqWdvdZSfHsweTucHttw
+AfDOQWodeIMJYhx/s4T5ssDXPFp3YYuhxurV/xOdIBlPyj6RoV9grnoqMBEsUNTjK8pVXkYpHtlE
+IF/wiuNZ6Kp1PaQI554=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOB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aPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..86eadfe
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipartner_appmgrkill_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig170.signpartnerapipartnerappmgrkillapipublicalarm" package="wrt6sig170" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipartner_appmgrkill_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..48c1944
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrkill_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+    tizen.application.getAppsContext(onRunningAppsContext);
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..198dcfe
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dln6/c/sga4kj17rPRylXH6c7vji7aYN3R6yunAxeeo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sDJoF4KFkA0GjkkAd0hAv2iPVEIXf4TocQrwwgwh4dQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cu46iitRAZBC2pXbqGgcMsf1TwKAIw4aNlGzfuWkSDY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+m1eGFLUW/NfBZz+s6YmngXO+HJFZ8nON9owIZxaNjgYFXjB8pKBhOFEzSDglYdZ+8iBStdAF07/h
+uiN2lkVdTx98QxDsTLQJGSekJ2iPc3SyvaW0XsnR02idZeVinFxkKPaOQFegH7VeF8Ybod+rge15
+3VF6/ZlA+XZZZcavDJU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDA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DCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..dbe502a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Do5qQoTnm4ZFIqAjUaSeTQRTEMb6M65HNa2pfgHXEAM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mMqBNVB3ekJbVRG+dMxz4ydK7kBxKYYEWPUwrHPS+J0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZFaxdG40oRWFF2HBgi7+vzRDjVEbKv90my4wqJ9yUZvIePj1IkH1DlflDrIvQXAFHGjHKBiOhynF
+Fg5+bQBVQq8vo6/UgUQIeWgjk74yvG2VnrMUokKjH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Wl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..e16ed66
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig130.signpartnerapiplatformpkgmgrinstall" package="wrt6sig130" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..cfacc12
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..a916401
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OYGmAXX52ifHx6bwA2xpyEU5SpompfKenatw7Xg62vs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Do5qQoTnm4ZFIqAjUaSeTQRTEMb6M65HNa2pfgHXEAM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mMqBNVB3ekJbVRG+dMxz4ydK7kBxKYYEWPUwrHPS+J0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bsmZ/K+rKf1u/VLQe0ruSxHvpGVzOt1rQSalNSLG3Pf/7heRt6evisRDiiNU8fBF1xHByYPRigoD
+UsX0qdBbkQGKPocP59ifagyRPlkMMw9+mAhok9ymc+qkjcmRh3bCfiIPxBrJ0uW8uWfsbP08gsBq
+O2ZT4Y3Mo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QswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..c29e310
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QMl+2/fTKahQQ7Q69PnWfi7BLpwdvGrS2AnbuAy3xRQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kdatsua/z5mIf83I6mXmhF5us5e2Sy0tYNTjSeMPEr8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedIn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WwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..65a50f1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig125.signpartnerapipublicappinfo" package="wrt6sig125" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..ab40bb8
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..65ee4c6
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JrmCHrBS0TCMHOzIbkjxDwKNQtzKQAwOhJSisBDsVA8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QMl+2/fTKahQQ7Q69PnWfi7BLpwdvGrS2AnbuAy3xRQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kdatsua/z5mIf83I6mXmhF5us5e2Sy0tYNTjSeMPEr8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WWYdZTiI6+VwTX3NsQwx0NAEjhJfU3nikLZxSlU/ufRfr6sGQ4bNCrX0ggGpO7Gv3jXTAIRTOiTc
++IOFE9K7V9LFSao8E/nsxRWK+ADAOI6zhQi8GTdcmGDlDV3AWaMdKZcGvwEMG9Iiuw40B6zbB5o0
+mQxyUTiQHpCOMmJCzh4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
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UZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..748f9ff
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+TMCp1mUdgh2ByAnEBV7CW//qqBq6jn0N45OWnwK2tQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J57MacUV2c+HEaEl1YIDxGVm2S6AEGHUbOwwkcOQSnI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YCDa5StPQZ1CdyslaraO7ncXgJIRb3qLiG6deVmScdKD7hZmtU/bmWv5yqYR5pfsOQgAl/4fvAAw
+u5TrRS+eHpptSiWdBShYvMIxQuX2N5r4imVAC5L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kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..b5dec5b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig093.signpartnerapipublicapplaunch" package="wrt6sig093" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..5e2b147
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..b5d0635
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9ZELdo3yya4BDST8jn2P+IamzjDdqhxYaLM2VWY6BGk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+TMCp1mUdgh2ByAnEBV7CW//qqBq6jn0N45OWnwK2tQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J57MacUV2c+HEaEl1YIDxGVm2S6AEGHUbOwwkcOQSnI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QPZt2xq+imeS/DspMCQVrkkQzP9Neg8X3h12DwZ32JbiscRQ6dIRT71Ke/tznH9HoHdbFr56orAA
+hS4f01f4gvh9Ci43zbVBJyt3wzP2xaL6se+xl+QTpcbEmQlEyW0htqsZR8ZyQdp1vvXCkFYeuCDi
+IWL93x40DgVMYgoebiY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJp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I1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..dbc7c01
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HsgqMaCKYNVBLQEBxdPwAZacLphoBlkYhix37ZSP45Y=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>y2WRPojNd/zXiATWNbg7fQ7j4k4nPlD3429DLrno3Qw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+pPHQqEEPnsAIBA+w/hhi59blGBMbeh+idg5ivVHW7ssh5BYXDyBG4CdqjQ6vHE6TDHiOvdmiZXxO
+my7WgYORd2wQ603ADlmtR+Z8aMGcgbAj28/QP0yiqyxev402qVJ27j93NKcfYbLSa93HlEYXNfM3
+0S3NCIqT4LJ/BKkAeYk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClT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3Bl
+cnMgUm9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..ce81d7d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig096.signpartnerapipublicbtadmin" package="wrt6sig096" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..b7f79f8
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..daf8e1e
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>L9jcy05dnFqugeve7WkU004NX5fJH3PHyNUTyOyDgrU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HsgqMaCKYNVBLQEBxdPwAZacLphoBlkYhix37ZSP45Y=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>y2WRPojNd/zXiATWNbg7fQ7j4k4nPlD3429DLrno3Qw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+S9GoWJzEbuKNINjoqdmDYsmzH2MNJKINkLeyfhjQ9jKGerbUjhzlUs4/3/iO0SV6zwYijk1kluQy
+uYnf1PSGDuKoqEjV0b5JVBC5MRY5CjNj0tLTjQX46N+Mj83rocK2vItgpsKvS/P4KZ9zJkoXHnb2
+jq2j5rtFZ+7kAFhxvMg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1U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IxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..aa6138e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KKjFSlahQ2rAgsdrjUa8GdG3dtn/T1a65sOQaG25QPQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CYsEqjmxDNQdTbkZrR7soj9JurxKC0ZMneRdGegkTA0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+oqQQyfEPXdZa+1ewMocQZHg+Hmn8iSaY7UMNG7ORK/vxkQ/gcAYexXXIktP9O7ZBn3OLXlRsDNnq
+DWf8CZdnxuUKQHDcRzNcoMopiHLn5hC8iqx/YSZQVR2tnSw7fKIw9YUS5tqY8ldHBsNmKnlNnI26
+jfx79dQnvhPHC5bSb1U=
+</SignatureValue>
+<K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:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..a03d3c0
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig126.signpartnerapipublicbthealth" package="wrt6sig126" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..ad01f3e
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..bfd3e15
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sw66QcRw6pNzthdbLMyxaSaFYJU5j2OiYWkEfA2TIYc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KKjFSlahQ2rAgsdrjUa8GdG3dtn/T1a65sOQaG25QPQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CYsEqjmxDNQdTbkZrR7soj9JurxKC0ZMneRdGegkTA0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Sd9JuLqcHUuGXXTeHSDzephbMT/ob9lPVVFKRF2qgIsaqQGmlqFZjZER47APH7eATV6nbPBRJiOT
+5p+4X5BjUYC9v+LIWeFLCI25su+RiYtTshKylbzfpZewU42QHfabbln3i5A4os5tDj6wpshx5vw+
+qUpk3lfNZqFCKJEv458=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAww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MCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..1410e9c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6jAAyTbo/wBASYzAII9DsEUUJUYRlD/oU7vp9PRDIuE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uZvSY+cUhRROBYe5457LdQWAknwBxKUrz3fco0r9FKI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Pxja8qml2mLU7I2kBxu3G+TfDKLvm0AVvTM/m1KPV7EPJ5x2ssP/wGotH7kBjv3NvhCoqo7G0nKx
+PpziS280prnd3mNU5hUm+lSWL/QDnuYpOjgFkR37HO0LEpKu00073lkFm7qbBGSD+FxPL9VzcLZI
+id0pXl6qoVMb7BpkAXQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3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MDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..410dc12
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig097.signpartnerapipublicbtspp" package="wrt6sig097" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..c61edc4
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..9c4c439
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jnpRWjUQI+0LN3jDB2gc0MPYXkuCHaNC2W/SaHUCbJs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6jAAyTbo/wBASYzAII9DsEUUJUYRlD/oU7vp9PRDIuE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uZvSY+cUhRROBYe5457LdQWAknwBxKUrz3fco0r9FKI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>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==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..6523345
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K4FR0+O5BaD7vXrwdk6PjHYn0vKR1Nr1OKOAbPWUfxA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X5JUHCHS/O4L8iDhFVP8H6kH9kCXxwBuxjsXsr7uHKA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+J6Kt6bnU2BA0kaBEWmI76mHPiPkxomiWi14nQql1ifolpREh2bEbCRN69YnoorMeuzFMMwZZM+Mf
+jfNGRQYHg6UGBwgKQyX+gYu4fGS+McgJ75WNBUAPcMaLmOYRCrJ2miWFT7Gj8Gd54u0uqjm8PgMA
+SNBLD8WlsJ7FgnUOVSk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
+jru8JU91gfK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+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..1378aa1
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig173.signpartnerapipublicbtsppapiplatformpkgmgrinstall" package="wrt6sig173" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_btspp_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..bd69714
--- /dev/null
@@ -0,0 +1,107 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_btspp_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+ //packagemanager install privilege check
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+     try{
+ tizen.package.uninstall("testapp001", onUninstallation, onError);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..4ae002d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k6mzk9kF2pi2XArgfvi9jFDqWqZWIcoKrBFoC+WW5E4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K4FR0+O5BaD7vXrwdk6PjHYn0vKR1Nr1OKOAbPWUfxA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X5JUHCHS/O4L8iDhFVP8H6kH9kCXxwBuxjsXsr7uHKA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+jxOoaqswK5S/H+oEdavbhk76BQW+o76uorm5y36PnEVY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ureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..b52f4de
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4I8hMrY2FPwGOAwlXjocwrYwbXNtmZnS/4wOlCOJ04w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aYrlxXEmVAIZn+Zvk+6KOhE1Lf8cWDI+2Rcq3L5ZdG0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+RUkgjNCSYJi0L8u+eX1bLrq5jzFypFtFV0cH/8oyaCfg7Wzn0dOC1HiMtJIebsaoBQ7zOQbHsnJH
+2T6TwGe32LSKkK+aI5SVq9pdbZ0MlBzARVkCoj5H4R52+hbDg3oHXt9FmOZzNuXjwhhuKJgLXX0j
+WAKu0C4IFHH+p+xd664=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2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Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..f0f89f8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig098.signpartnerapipubliccalendarread" package="wrt6sig098" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..f145f52
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..db3ad24
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Gl3H3jK+OQRb6VNn3gxBxiRGqsFnwp5lC5OFEQlG1vw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4I8hMrY2FPwGOAwlXjocwrYwbXNtmZnS/4wOlCOJ04w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aYrlxXEmVAIZn+Zvk+6KOhE1Lf8cWDI+2Rcq3L5ZdG0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+yotUnWtN+pAMXi5oz5JYx4KhuZGcGrZjXNql4Pz0iyue53VE8hurTG5A1scRPh2LwxSUyA6TSaop
+BKq8WBnxVtLdyYb33c4yvmIMhqrkaC3T/fIHKBw0N0lVwzWn5k1Oynsmuq2xBmhfQ+frz7vM2vAs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QUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..2db8c1e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bFHZnrx5yoQUHUwqHDTj4y4XpBXEiu9EjyehuhaqCZE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FU7v7J1Ye7ZEeHlD8AxnRO0EsnIlfLXlE/t5LJHMFI8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</Digest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VsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..3c2c289
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig099.signpartnerapipubliccalendarwrite" package="wrt6sig099" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..4ce4bfe
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..541cf40
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AXzdDlslJxvXJKRrG64tV0IsC1KTSQ4VP27aLw4uaTw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bFHZnrx5yoQUHUwqHDTj4y4XpBXEiu9EjyehuhaqCZE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FU7v7J1Ye7ZEeHlD8AxnRO0EsnIlfLXlE/t5LJHMFI8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjK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XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..7932a14
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XGlAYR0VetCoOQWx521i+Js1x/DZZSvAtYDdXlvFbL8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2qoYzvzgTpPsDjZkeT6HCGUA3VhYr0BAowBtZachEh4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+EVlbHvccattWr+aKr4jJgN37Z1jMZkc5iEtYorj+AbHokW6tVzTn2cZYSncdDI9lBD6CjLXARFiu
+1c53NbwxymX8sH9CokxRXhQuFBX0KEMrCNlVpucoejaeQTaTZpX14qxXsvnFCUoGu1BwWMFxwVBG
+LSubnvH5kLVUfjoS1Dk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfg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wEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..813c8c4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig102.signpartnerapipubliccontactread" package="wrt6sig102" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..ae205dd
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..0af04cd
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LMOwFR5WapBvRF0Ay06xYvBKst3IPA4YeWzuYHwRA+0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XGlAYR0VetCoOQWx521i+Js1x/DZZSvAtYDdXlvFbL8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2qoYzvzgTpPsDjZkeT6HCGUA3VhYr0BAowBtZachEh4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=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2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..8f532a6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U/wwDlJU8FjQhXSgqxxsDi/DFkRvyr1W6lyHsARhpdI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xnv+5xLyuhSgLwyui+gyvRWzC0DpGbrzq1eJKjwyMEQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+CBHSglkIFT+2NolqCyJsaBrKte+xWqwdwZBA6+YD20CaixSsh8VeTdkVdunJJT6xyqPZg/HyJncS
+O2QUVRgZH4NCVd9gO4ZFMApkVQNyhobOLKbRJ/XLy01xG9+93xNLfsHMKAReUQ0RDLvXwJXBBRsp
+BmF6rNYzHfB+JbpLDnQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRR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9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..c7d802e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig103.signpartnerapipubliccontactwrite" package="wrt6sig103" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..9b35abc
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..b41c500
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5LIUeSsjNZJKRKGl/2PHhXiX3w/UGHX75vW44bftLQw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U/wwDlJU8FjQhXSgqxxsDi/DFkRvyr1W6lyHsARhpdI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xnv+5xLyuhSgLwyui+gyvRWzC0DpGbrzq1eJKjwyMEQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+w1Jqz8jUdk29bzbNgXiwTwT+04Oh0x6btfxF64jPJorPs+J1DfoCI2IlWcRCmuopBRJ7UTtb5jDc
+mFfToCBfho/7q3K3QI2j/wI8D7Zcsu0ckvUes4G9SRCfaKBzOqB5KHKeWMKAgwoTVa2uhZMuWSFg
+FDee5JI9SpvlNxOymoA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ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JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..c298867
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LrF1Jw/meTJaiUaKskcIG2JO0VM5uIgPRNH3/XNyMA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4R/r/Udrv3L0BT6yz4ra2kunq3VbNPLPKjZJcYAEVvA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AGc0lsQA4Q5j6a6SbuJjL0qy8eNK2YAxlpyTOhSMKpcfxvIp/GZ5LYL/NoRCgKuNwu6YZaivqvhW
+omcpV386fosJZavr3WzxQ76Sqk8l0rh7L2+o72JJ0tIiOUwFw1z+2+l1+uz+lnl9nd2/+osQATS4
+pYcACsmnQ2gvTDqo08k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB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liobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..048e4f4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig104.signpartnerapipubliccontentread" package="wrt6sig104" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..4be8d96
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..992cec4
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0KhiseSr8fLC7+eHoZ8TazlQVYw27GCnpESZqCWrPw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LrF1Jw/meTJaiUaKskcIG2JO0VM5uIgPRNH3/XNyMA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4R/r/Udrv3L0BT6yz4ra2kunq3VbNPLPKjZJcYAEVvA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GXNaOD8cp+OqrimpKSz1pB4cbnoJqaVre4tedeAt1ELu2/tEc2ogvCPwIB+ckLe7Gvjoj5GbzbgK
+ZkdNZlrVR9pYWQ1E0U2yC4uE+riWPcSRPpnLAAZJgOfn7y7zU1tQv10AM7n9xi2jsNlmXy7xHCHa
+2l00brMgfqTGpEE6Ciw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoiL2z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dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..3bf7962
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TfSHhSG3JDIvKy0Iu35eWuMX4cCU7RmO1j1YCp3HUuw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JLsQ9EE0P8Yjw2ctfzbh42UMmwCDQWfjZ/sP9oX0/Xs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Bv47U3pdsLeEy9R6gdPCmUq+YZMMwo5MnRv/H5zeUmffoxBLV2bhNFxxW7l+JMOoGwirUKHCQdRW
+FBbUilwSZt2hd7xa1UCOZExc0w1m98NwriJgEYRyREvxOK7fFIYUtWXvBfzAWxMPU/T5ybA6yal/
+vPZp+KdXdC3lTQjKK4U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwY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dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..897c7ab
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig105.signpartnerapipubliccontentwrite" package="wrt6sig105" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..d91a1ed
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..55221b9
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vkHmwAVI/8/9KOarmPTjcedDqxVwn2/UNAh9kYMJ46Y=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TfSHhSG3JDIvKy0Iu35eWuMX4cCU7RmO1j1YCp3HUuw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JLsQ9EE0P8Yjw2ctfzbh42UMmwCDQWfjZ/sP9oX0/Xs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+j2ZSk4EgxE48wRPFd0/mhCoBmPzDXp4azYTePvKS9BpMmzt5NNMe3kpe605fEo3Jpz51DxHAubaP
+33LXplZ/9hQtstJQaUevyrQJ4PRc7JdrOzkMbR7zAJWRYapBj/8meZj/BS17gmI9Amgo4drkYpeq
+8ORQI2jmVWBTlchn7DM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4k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wEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..6471ddd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MJ+DG/VMGPEKGm2hUBaBzTKeqB6FoyjMpkvsCTwqLho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zuiOEeWTJyJIrGHYXCFIhf+P835g0f6KxIBmAi3J6M4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TLeJ/xjqUsCA7jm53fpMZ9oUdZBm5/YFutyXkq+ulDMGcBQTCefMguQrWIcFqczJS2kiqk29CAQc
+Nw2XQw9xlJ5/3dnRyQ1fFY3xDmcXSyDUa+ufxuTdXoECmZjEMllYs0EXA0jRefroOyRUzwsVXDkz
+6e4SWd3Dkbx28dHBeDQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75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XJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..c9fd251
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig106.signpartnerapipublicdatactrlcum" package="wrt6sig106" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..c0a2f02
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..6ec8fc4
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>03zmxePmIXgdbJeS+uVswT6i5I7mS68vyqYfA92N/HA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MJ+DG/VMGPEKGm2hUBaBzTKeqB6FoyjMpkvsCTwqLho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zuiOEeWTJyJIrGHYXCFIhf+P835g0f6KxIBmAi3J6M4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OA3F4254chlocL2EqGWuP0Cbti689gT90zUzDPVdFU+014M1XeixmgHlbubiK70Gzk+RA5izVruu
+9YgFCi+/gYxad8KGGISG6z3MoLbGWjaanSl46IkQuNaOkZ6+JbtHyRfmrXXAzmtQhqqDX9DVhifG
+GU2aGHuvZendPE9YR34=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoi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VP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..fc2ce6b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>19i3Eq0cB5odlT1aPMW/PVy5wFxxVpzuNSflErAw+Mo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A5KSpe3W0/qy8zwKb33ZukTFnafO4Mc8iIByotx+5lY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AFgw+4kV/q8PJ54UgAXOArH7CR4tHeQBUg9fKNiVBOCtLrVMU0H6E0Dy+ONJD51lOADLEyiBpgZf
+iSZdcZzJxhGnJD5i35MNGV/O8PWFe5Tx18qUMZWSbYAeL+P00vCqCtdfRp2zUvEpCqqUQdGAFTjW
+jypVHcEU+YQ3bkFiyoM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR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KhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..f375764
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig107.signpartnerapipublicdatasync" package="wrt6sig107" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..b6bc27d
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..48a77c5
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ea0s1xjVFC2PhVRCVpJch/eKzF2w+e9K5DFuOfdAPwE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>19i3Eq0cB5odlT1aPMW/PVy5wFxxVpzuNSflErAw+Mo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A5KSpe3W0/qy8zwKb33ZukTFnafO4Mc8iIByotx+5lY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+j4XkhD8ip68YbM7DRxLA+of98pbd7EvM2knkAerUnhRMv+OYANVEcb3GZdZ+8SiwtBPDtTxtE9Fn
+YuIMbtROtr+h4yZdJA/xm6iSqTFE9CKJ7A/mBZJfYpvqPX74sKas4ccD81FKuCDjbbz/KFudkzws
+RIxn/uuKlUwDLJywaDM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPG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J
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..690b58d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>F5oQ+huVbL1VClkNfXIVgXybn3znLCmAucQ06JkEk7g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>arFBIN2kR0NeMvvT+PmKqYp9a6uBi1haQ+uDpvwkw5k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Hei0c4pgR3OkqPVBFnNYIdiu+kVTBXPdwOUJ+ISqBSPI+vFtVuXz8IP7mRORRkA/68656VkAqaGT
+imzgROxWX3fy7KOxFcnkYEZRzdUdTFGi9CjPt5rvYpotlovZDu/VZ0OcgOV833APVJT0YyRMnvTu
+GGqId7TYdVTdVYxhrzo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBA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RQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..7ad3f9d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig108.signpartnerapipublicdownload" package="wrt6sig108" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..c21c076
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..df8a153
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ab17gNNrJE6a6m+spn3qjKt7EAag145s0OiDlZ6zzd0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>F5oQ+huVbL1VClkNfXIVgXybn3znLCmAucQ06JkEk7g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>arFBIN2kR0NeMvvT+PmKqYp9a6uBi1haQ+uDpvwkw5k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HE1uOBGqBNlqGJYGIJxjeb0eDEFBX8f83Zlk/tlMezQSo+s1/626q1pAjk4H7Ve/1udOFA2cIgLd
+pJ9o9SPw1pQVkzNaTZ0VTdEUblc1ZAsin1/RqaHzfimEWOrqEhYVEv10UoJUJqqrJWCOX7l51lZX
+UToH5SNQYG+6qcqI+z0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW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9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..98d651b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b9qoPRvORdQ0c0fjCMCbGS8HZJ+brHrsNG1w45ztL+8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2cDhhNvzwNuX8H6rub5RVc6prXeNiELZr8GzAD7gs8Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Rnr7ifHA26mseLucLl7nQ0KjWEP8ygQpTfi6wbxsbU4S+P0hRqTgj1xqy33LGvrbE0InUHulcW+D
+RszFsuNzEcAeT1qu/5QqSQL/K7yr0dyc54TX/i7F77Z3InsN3lt7ocv3CCiDNNor26pRVVsyFuP0
+5CtEtR3j57vTTFUKRJU=
+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o>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..db845c1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig109.signpartnerapipublicfsread" package="wrt6sig109" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..480fa99
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..58d5e64
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Jomfet6yk0IFEFhVWmqwXmGfPno6tOMUlunZXYiS3Ls=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b9qoPRvORdQ0c0fjCMCbGS8HZJ+brHrsNG1w45ztL+8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2cDhhNvzwNuX8H6rub5RVc6prXeNiELZr8GzAD7gs8Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+C8qe2wTxEm8gcEHcmF/qz/+yN2mEhJjJV/Dggb4G92A24pTRlyWEZmWFEBymD2LGnjVpjAWxS9al
+mI1hTcRAsoAeTgZYVzpac8HP/SE9YqC7EyQimyii5BiJLBJ6NUupg2GT/85+nAmD7DC1b+E3RokL
+SZ8qOCJbzTcjgEkoduw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG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AgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..7ff251c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E2cGtCbraKdeJWV4yXOa+eF8Y17THO3Zv6SVBMRq2T4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pl7/eChVua7WSth1iqaXiBnkDmlSOp3pvnT7KHY2nYk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JBZb1C7QyqK8pfz7JYPX0sdQxTcvkwYizwYv6V2sr5C5ekG92KVyfK6SM0QOaSsdJVz0FfFRBu7l
+HO2bj7qiRcA1i+t1MfrIfCNOuwkoQEY/xEIefb0vykIVXVBNiScQjwSYdavKAvuInNNIt9M3VG6n
+igDo1SMjBDvGS5KA13k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFY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DAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..d3debe9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig110.signpartnerapipublicfswrite" package="wrt6sig110" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..ab7371c
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..e1ae9f7
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>M9Yv5ZKuyNOs9Mcik8hVdFmPoq8mRwknfp2SN15jRJo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E2cGtCbraKdeJWV4yXOa+eF8Y17THO3Zv6SVBMRq2T4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pl7/eChVua7WSth1iqaXiBnkDmlSOp3pvnT7KHY2nYk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ieC1K2rb7a0D2zsVVDmfpxTqufgBAn+0BTwa8X9PBpvWJ3xrZ8jTACrix5ALaBc6eIjByrhIVXLn
+HASLEJtSsY/4b94SyT6nnE2T/INsaXtwA/7IazsRqLaL/jBi7wMCUbaopwWDAGj1/+FObWUcf1G4
+Z8bR6LC/XMC3DezQ6gA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEw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W4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..161f191
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ohNFOZbldZCGoJGcebj+2QDkRXbw2UpL9mUXYCgEjxY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9nfx820/D7GkUWDJHM+35CpiMqKmtnKn44p7q/zAhrQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KyN3duDa8CKjTm6lYYKeSOvAeIe3Tp+IMxBQ1xvpvdQUuR114efS4HCWn45DeSMrhVaElWKbCkwl
+jTZVIGyLHSOdCY2Bq4ExoybNWizGzr7DFE4K7U5gQUz0FEdjji9cyhcgzEEQlnMZZsMKe9Ip952G
+RmPeTKk9EBK/KyqN+YM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbi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29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..f3e2130
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig111.signpartnerapipublicmsgread" package="wrt6sig111" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..86a3a92
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..5a7d115
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lftXMYvJfxodZ7lxL98cyDJuZ6+qjh7ZjfvpCeRnZdo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ohNFOZbldZCGoJGcebj+2QDkRXbw2UpL9mUXYCgEjxY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9nfx820/D7GkUWDJHM+35CpiMqKmtnKn44p7q/zAhrQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bnZ56gHJI7+OBdzovjSqdJ+7G8Mz0umxfB1fobCSj5KXjD6UWdYViSH4fmjTfVI1pLg0h46XLWr0
+6FSc28QZVthIV819HylKWWaRnIAFeLTk6d+c8dT2pZz86iIG7NKy/3ST9N8apF9rHMJG084eTiII
+ssmgMmTq3VbrTWtOO2M=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjE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ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..4a8ca7a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLuylC1qI+CHTn2alc6WYjIjEwHII3XUU0FI9saFvA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gecOJbWy88T1l9ifAnc6mBlv3CVQiaCBPZlaf6sBX1M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H0F3wMqvbyFonTSYSZTCvCaEJFew0Me79ZzMBrnqfisVNHSW9+sLjwsNodSefh6XNhNs/BTvCCZM
+qer6sBGh+CMTjm1JBunERcraBScTvelPjhSrnVb4026iXylC8mndLVoT/ywyKaaPyD2cYAv93776
+3UHRsKejq8ux+x/R7oA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3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F0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..db8c20f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig112.signpartnerapipublicmsgwrite" package="wrt6sig112" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..83dfbe0
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..a520f0b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DIIUDh7El33Z11N476/N715bDO/rjFi03kRL9sZtuKM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLuylC1qI+CHTn2alc6WYjIjEwHII3XUU0FI9saFvA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gecOJbWy88T1l9ifAnc6mBlv3CVQiaCBPZlaf6sBX1M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+VicrRq5wTbLUq3nkoAlm9F+XYSb923S2Ol4zU+z1s+uoFfFYDilJMp8mMHf9x910AoCWFfjJPM4g
+9H5Nyl1qtigZRzEHstbnx0HM0OcaKDtJ6rBMQkP3ASlpq2jBfiMio6tJeCzhwO1lGxubzxQ69OOd
+22aG9un4CkJOQU8PW/o=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMI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MCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..de8fd14
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>66zoUZF856/Lna5XcA10l3mLQ79Y1UwHl5IviE49NHU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p33hFN4OfEBlvHVJB5/Sdr+AF6C4lbsLI2yle0pbbb4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+hUYdlCrWtowW3Zc7XWJLKHHvE+Rp/1THyDAjdN/Pg1DzfWHt6VIdePX9i+gO17psChIRFcuU03EG
+4uHRp3Ix7fz1Bvb+7XZLna6pi+RH/uzfjhwFJosI61VaXZMkmx4bnMgBQdkXS1pe4HBFIFNCUeYD
+cGwRMEtVI26CdyCVYTI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3Nv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LDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..059ed35
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig113.signpartnerapipublicnfcadmin" package="wrt6sig113" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..38ad866
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..eff4995
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dJUYOpleCGGsL423/GuI7oqBTlulRhv/WUwDNvZX87w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>66zoUZF856/Lna5XcA10l3mLQ79Y1UwHl5IviE49NHU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p33hFN4OfEBlvHVJB5/Sdr+AF6C4lbsLI2yle0pbbb4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TfPvMuUJp7/DsWcDJw+krYAGK8GKI4rktkAXrFQj6TL4adnAL27uTt2M7SFgy7H8/UE5MGNqAfQH
+eHCbY5lmJKks9RffPr8eNhuLsXEvVD7QdUBm5rNq+XQQ/SM6u6r+v/wTjPmG37cxNf4n4uI6qg2t
+eQaaq2LJzfd3pFury1g=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1I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0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..fb71f1e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I5D/+mb76DOVG3fJq7Es8hWI1OuMVrlbi6f8qrxdcgM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i09JbcIjW7I6YYJm/ebnGDAntyHzjrSmK2QGpa9STZs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+XH/rcGJrjrGJZgsQUrAKMuTHTMOFWb2JY52BeSFjkv/ah3SItJxutPQyfufIHvhX6P7oxA2rbt6t
++yh02XF+fnXtV6Bcj5anwOl7yeg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Qq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..0eb92ac
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig114.signpartnerapipublicnfccommon" package="wrt6sig114" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..75f4775
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..33bce8d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>y07uVX14t9rnhBNAOJeGDDMjSwJx56fUmGWnF1psb9g=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I5D/+mb76DOVG3fJq7Es8hWI1OuMVrlbi6f8qrxdcgM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i09JbcIjW7I6YYJm/ebnGDAntyHzjrSmK2QGpa9STZs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IWqRvtYbZC2y3pkLbsYoy07hRekOpf0sLkITfcaRyM3W0AQj8mJc4edSk0q1I2xy/UGP/eRa0Jub
+hSrdRYhQsN5uIBtjmZ0knlXBpMmSlU2PgzcaoJchdFAx22kHgg/6fuDrtg3EHzEP53ntohAG9hbt
+HowecmgB2HS8sYQ67IA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMj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bjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..3b02096
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>S/GTlKTtW6ohsNEOs/pNrDsL0GcEWpUVtblrNXivlBc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jDD+yQK7wugU/n0lrnqikvvCnYWkEsSDcQ2qHIZpd34=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dzBchsnHQxBTc6xDm8sI4ipQYcJ//cfi/hIALmIurf4ecvZnYRSUCVtVZym9N9Wn5pYzQVv4d73p
+HySLU8gIBwSc3t+8B/1nkoNf3kk7Y0H6DEX/lTuNM1Sdi9TZdjZ6boANoHGBz9T9/u5fvBUkZKXc
+5GVd9+lDflRADw0nUGM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz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VBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..13af9fd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig115.signpartnerapipublicnfcp2p" package="wrt6sig115" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..7c3568b
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..8c51b15
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1ZEdUmTnw2cFuWwIqQo/P2yEQ5vj0Q0nGiLIlVNnIrk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>S/GTlKTtW6ohsNEOs/pNrDsL0GcEWpUVtblrNXivlBc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jDD+yQK7wugU/n0lrnqikvvCnYWkEsSDcQ2qHIZpd34=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+wGwqFH5gkIYPm/VBA0PvZANiXDcZIgmGupHiyOChdt4LK84ptMVFoN3rJJSq03xEQmbyuUZQMRag
+zLwBsjH1AITgTVOp6Yo/uI4tUjj6e3PiWfMquTFO17WABPmnBrz6DgAXq9/xWSj5CyCoKdiQkhdC
+aRL2ip0tyUArT/ZW32Y=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc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CS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..c0420ce
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QC2zldaAYbLPawvHl0Wkb1GS0Wdpx73kzHVg9oWgt6A=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>e3JbqyQXyk2iJZozGulCaeFdIwzeJ0Y9jnfedvsDiUU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+J2AFYoGhRKVL8rREq1Wm8OuRYBCGBRnZJjQvyFvNdIsTCm7iQ73D5pCFPu2I4VwIweJjhzN5+WQj
+7uvkfsbkz+v/wvw6cnUFkjXsyBAMJ45Tbw5JN6lXqtbAiWFOeU2HCvdumnHJ8HsrmXSTlNO3N/c5
+tfxrv3QNPme+/dvBN68=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2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xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..933d844
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig116.signpartnerapipublicnfctag" package="wrt6sig116" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..aff2b8c
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..320e1ae
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HLYIbSSoJTcH4arYTIh+scn1Z+Cp/J36PxgWCDAoCWU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QC2zldaAYbLPawvHl0Wkb1GS0Wdpx73kzHVg9oWgt6A=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>e3JbqyQXyk2iJZozGulCaeFdIwzeJ0Y9jnfedvsDiUU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gA7myKJO8i52E8DAnoacJ41rpc2SIbkZ8FfDydctjE1b4O4KheKo/ReDywTt+lvLHGtC4XUIbUaV
+bKa8otnvlaJIAMkPyGLYfwIbBv6D/dMy679VcL889ZYdOJET1AIkmX9oSXOfOMjRssuP9LJlGyTr
+y9jGA3b+lQx8U43nLE0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQ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HDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..27f7df4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/dRCq8Q5HR+o6gUeNBliHJW8BFDEhr5QH5GuPX5Vnt0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SrogEdao0h6QmFTGd3ftDsNqwYA2h2cGpI5y1HbV+E8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+DxjiiH3VFwJu0+vnG6O+tegSKs9pp5hVnvzbXxrL3y1ZFssikCOXP5WA5scYrF2UeJxUCsScNLIc
+6jx5C9qXTpXW7cCu70myy8PSujet+nbD6WstlMb+Kchmk0YsPPpZ0N7pWFzlVIBtZKkCzRFBgTHW
+UD9E0jds4Ny4NE1r9O8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIE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wMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..a09048e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig117.signpartnerapipublicnotification" package="wrt6sig117" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..f2e0323
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..dfd5c96
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6aBKTJzg+Gi6iuyTc5GOpLKrDqxrTiOAVQlXGnycdMo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/dRCq8Q5HR+o6gUeNBliHJW8BFDEhr5QH5GuPX5Vnt0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SrogEdao0h6QmFTGd3ftDsNqwYA2h2cGpI5y1HbV+E8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BcCfViwG6Gp4Ig35eQfXqkpkz8InbLyV+9J7uKhAM6cgoXa8lBq2mKxSGCAJFD92IBPA1+nTEvl2
+ImuFdJO1AivrayQ87hSL4VyYztGmp8SFeMOWTruO3GVNBUlA1RjcXHCIGCIMv7RvP7al2nBb4DA2
+M99Q8NGAgCwpAIZXkxQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRv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YkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..1728a3f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X1m2c8Iz51XtZDbBBmnVzdAXHklPHD4aj9/bxIUJ5qs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T5s62sq5aP26PMUHGlkUZ+A1targeiUJm31ppaiYYQA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nd7L72YESJmjge0SsK5ciKYDcwPTyjnAzOFSaNGukOXlhQzehP2YvnsWfWCMUcqLQUvxUQs34s7g
+uUvNoyEPsj4tRFdZqcwEZkjorNADarAOdAhGJb/qSJgOuaUc/snVCAFkbWp4C2gxjSJaEsHBE+Fk
+D9q5aLEBz6QoqTmlwHY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqh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yBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..cc08010
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig118.signpartnerapipublicpkginfo" package="wrt6sig118" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..0e67111
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..36ad5dc
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y/kSkfqUyfmIkLw9TKEK37Csdnhw1Zs5gPKT9Ax0NS0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X1m2c8Iz51XtZDbBBmnVzdAXHklPHD4aj9/bxIUJ5qs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T5s62sq5aP26PMUHGlkUZ+A1targeiUJm31ppaiYYQA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Car1JUNcqBEc8jAszbppJA22ENBoHit0h1El+FNfuppKMj0rFXpyGfR4XKrDZcfftPB2dFO4gYoV
+aKg0/Wt+nlffvB3kBvk51JuwWFQ2WUCaBjV+K9lYOsrxyt5JB+4DH2179HbV/9nI3q3sx0KRt+0e
+niJOwLjWK4tayZIFrTg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBU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8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..7902117
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NFWSdrFosLqDYyzA9EPkWZhH4Giu5px5IdIiED7XiQ0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vWAK49UgUyYtrEE/hxfgJq9mhzNRTCwQYJC+tH33BnY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dahRmofUSNhTs7PTIJNlbud+zg3QZvSa+IZH1DQoLvoAEHoyPCDAumQVaE2u5ABO7Wi81KH1YljB
+j4KxsZ4kAY5DR+fJlWj/O1hCqxATW3uvEZw1EglyWepTL9hIlGrsoRTwtOb+F5DS4Ic5bf7sAMG+
+Kj19Y/iiFgcW6d58nok=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTI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YPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..3f22fa5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig119.signpartnerapipublicpower" package="wrt6sig119" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..74d4be4
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..74ce6ba
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G4il+Tx57quhxvBLj4C6DI0kfuVGDQt16kz79PUSTXY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NFWSdrFosLqDYyzA9EPkWZhH4Giu5px5IdIiED7XiQ0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vWAK49UgUyYtrEE/hxfgJq9mhzNRTCwQYJC+tH33BnY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W21yt0bu/r8V/ru+nnunGOyG9OCPhW894uraKzGNO6IRYErdZz9AhH6DFiURfDygeRAwWfJbSgiF
+SE+7ORXX6HoB4Nq4phqAvtVCbhrPLSxvA4XtK2QMtCBI8Jm3Iww0kUl7nY367AVT6/ma+T6I/hNB
+mm8nJbhXpM/K9cxUr/U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
+fnO2IGLUau4kquvhmz1LNg5xBTx7I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0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..717df7d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mx4JyhA5SfwFWdjSq6RuXkGrUGxZ0+EaVcJFuNSNMwA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IoXgs31QNNo/IBqY4WDzL1+PQlNX9QGbQe6oaUkLSV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eOabGF4r4HHROlkkXIywYAPFk00IYHKjaKpTuRQqIBDxQDBqhCAE5jj2CJ9+z5/eORCvTkBr2aVw
+vnODVDsTNrZcIQdx3+UfvFSeAB6Wttme6zbzV/Rrz8W1hI6z9yWZaagyyjVeqrY5yQyq00EF1eAY
+c1VN3FNnuKSgraHY0R8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAI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EhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..52d47cf
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig120.signpartnerapipublicpush" package="wrt6sig120" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..33ba624
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..3483267
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OmaZ0kcYtckSnryttfCZx1xpIqLQHEICnoXlgl6lI60=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mx4JyhA5SfwFWdjSq6RuXkGrUGxZ0+EaVcJFuNSNMwA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IoXgs31QNNo/IBqY4WDzL1+PQlNX9QGbQe6oaUkLSV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbW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R+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..b9158aa
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T7l2qgJZFbGT7UF/iYIihNoktXkXCS7nDd/zvCID+As=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ORXFqFbkwQJA3HATuBr3EE519FkM0qZCfiGmiTkcxb8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+hc3F/P8ABEC/FETJ/d8YPt8K94fuYJu/L0RkXAs1iWCF5e3K48aAWx76/yYFgMEjFwI3FjU16996
+lUdgfwxVYNN4asj86dwrSAowaCcWpDiY14Z/4VJ/njzK9fj6tFeh8eNOlLpJXUEJqkor5wb0+I0E
+MyQA++VyVuPKBlqEsko=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
+jru8JU91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OC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..4ddbb32
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig122.signpartnerapipublicsecele" package="wrt6sig122" required_version="2.3.1"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signpartner_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..b8dab92
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signpartner_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..3997906
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Koo2vG54PEK4G3H3gYITmu0bMZtLC4j5ezQgAn/1Xsk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T7l2qgJZFbGT7UF/iYIihNoktXkXCS7nDd/zvCID+As=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ORXFqFbkwQJA3HATuBr3EE519FkM0qZCfiGmiTkcxb8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+vEirpcysA1WtsALvKzg0seMLkqSDJ85zmCkX22S8askcXupknFtjgu5JolMxmfUNBB9rd7C/8zSP
+qBYTHXncgD7lVeReE+IuiuA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509Certificate>
+MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
+VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..e082d43
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>v4+p+PjsOaFuhgczUIRFzHjZ6xRmB8NcK3+FJ30vmpE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YItqhFU1Us8wNJOLbsXdlBrZ8xb6A4Da4IgLdtFiXN8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo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DekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..70dc0c7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig121.signpartnerapipublicsetting" package="wrt6sig121" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..e43e939
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..bbc8bae
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fndkNIzunq8LdiE7y9pLgr/1/aJRWYkPOkNyw/3v0SU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>v4+p+PjsOaFuhgczUIRFzHjZ6xRmB8NcK3+FJ30vmpE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YItqhFU1Us8wNJOLbsXdlBrZ8xb6A4Da4IgLdtFiXN8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+wpA7pdQK0hqr9bWl2u7ROzloy4MsZeiEiuJe+otV+FLbF2Rg2RuxiL6AJOFmZG4p8hk2s2Lekuh+
+ObBRTH6YS8KgVYriu+KKG3aPXyXpqlNhRLiFMGcrfNQcrSm11UfSgEs7Z0seD5tdeVHZdRPM7K1E
+P3NjoClZvrzr7OA0eSQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
+zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW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EAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..2b5ca15
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JqvsmyDF0kd9SufKs0c+UmTu51rBVU1xvboBdBdE0bw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rtT4VAak1/dyV6n8hWYKJ4OF9BvwHRv6TzI92RVVEbk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HA1HLX8TzVO+SdTuuNu4Jy6JaajdBVF2tU+POg+Ta7b9p+5O3NLn8nyu7xPtp+G/DcHvIjuCerOu
+Z1r8RGzjFmQ8XNt1tiJrcbVQVJ3J/rNZRHr/s8SegQIh9r9npPX1v0AksYNCp05XeUqT/7OEQIcN
+eYFrRHpHge6z1ISIyTE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4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3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..64ee40e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig123.signpartnerapipublicsystem" package="wrt6sig123" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..39bb8b6
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..6d3e754
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dUDCnEoQyEzXvXUgbYutjHhqmh8C8b44sQ4+/VQebwk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JqvsmyDF0kd9SufKs0c+UmTu51rBVU1xvboBdBdE0bw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rtT4VAak1/dyV6n8hWYKJ4OF9BvwHRv6TzI92RVVEbk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nvE7UZkZ77aYxX/QdyLYahhHTME/VVq9BpOHoQKDpJo02sMh+5Hz74AP/xF5nYvQGgl4nS0jpN1H
+ihmwAvCs+Ry8RI9QHV/FoidyAoM3Q7hLeiskr340XCCOsBZbN9rfPtlLGYakmybwq9ktZ/njmFzu
+kkkyZh5ZSEAdIj4Y5eA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+b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E5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..a841ff9
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/MpGKBO2j8xivTVqxlobhQ5ExsxtBRV52yz/DneoZBI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8bGnf7XcrAER/fhgXsDKoc863vzs/f9zFSX0QmBwSF8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+b2iZFliTrdeaITHf7aHkp9XjawDgIn2JMwaOLoTIA9aAtt/qsMkxYUwfZjKLb6yb7X2E6F3OrDzs
+xU9zashbRzhDG5D2ZMwiUJu5AqOe5mcDit5RA2Jcz0NR21TrcKrAS/Kx7Dm3sllyL3bLeU6lETuV
+pNwZ8NnsbyAqiy8HvME=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+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giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..5c66482
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig124.signpartnerapipublictelephony" package="wrt6sig124" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..2ce53f3
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..9390fd7
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8u00jh4qDNxn5jMaC/9ohY59kFXYUMmbP0QacYrzKNI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/MpGKBO2j8xivTVqxlobhQ5ExsxtBRV52yz/DneoZBI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8bGnf7XcrAER/fhgXsDKoc863vzs/f9zFSX0QmBwSF8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kvW1cWkQbdgyzaVUjVrwBdQAi6oxirjNd2FD/wbLV9jCIxyFvuojg4W5AaHLZ8PkQI16nu5Q6gBu
+ZtISjDHqpwhGLwI8gqz6WxOlECJaAaJFvNG7yYqUj0YekNo+3IB5NYimurXfJl3QfYwga3t/vBrx
+oRuNjYgM01NeqDtdkKM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uM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VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
+2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..8cfa141
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FWo7BhI7lODR90QGzw2AGvDmeshN9FKcthFFuFNvN+s=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HVF+rEf2sHvxDCIcQVmQomJfE4sDVah0qd8EycLtyy0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+X3iWNbXfaKVMFUm1uiIkLrBJXoB7xcwb1tEVHfuH8JZ10rYK7rskWvKQ/lpiwmIbNwTRKsVwgWKx
+W1EZ9u9q79oGd3qicwcGUm0CtXUDUdGqiG08NdBVsl40LZQywhcWg2gm+/bivLi36dcdCsNzawUh
+kUSLCoLfswzuyOs9peU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMD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xvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..21804fa
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpartner_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig127.signpartnerapipublicwebsetting" package="wrt6sig127" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpartner_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..063c9dd
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..826d077
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxhGkJdxQuG7TaGJM73adGTx3l5FFM3E2ABpNpIpeIs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FWo7BhI7lODR90QGzw2AGvDmeshN9FKcthFFuFNvN+s=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HVF+rEf2sHvxDCIcQVmQomJfE4sDVah0qd8EycLtyy0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TNuG7o/nz2goFh1fM4GRCmniaZd4HSayH9Ln1HVMlbzm4VgNxa5y4SLjqLXUfKXFigrJrY+R/Znl
+0x4hy8Jb3YB5rstcj4vC5d53wWVWOq7C+wK5FGg2xsuos49Q3YsPIj2qegj3EcLEsE6fHvhgkCQw
+jb/gCaCdI6lNVWYpiAY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
+cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
+UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
+MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
+bmVyIERpc3RyaWJ1dG9yIFNpZ25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MkCnyJui4QhC28g1aBg
+w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
+8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
+yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
+tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
+WjwSA66hv4q+0QZQFQ==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..fb43d9d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxXi8g4mzpbo0+at/po4PANn9CUglwba2XxJk3XRpjo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fyXKLltwEYPUEYRw1kcDFu4SToMK1wnsdtZTT2bREe+ib1nlxHseNOrDNzjJa4mr9BWZ+VOIweSb
+6uABLVslMo/oUmZivVDC1izt4Mv+Hbf9RLmM6JiPpJvg6NxATg6PN7+szguDL3E5hpwrLhxOWsZ4
+94S3c55Kw3b9/+bXtSk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiy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q+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..7165342
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig131.signplatformapipartnerappmgrcert" package="wrt6sig131" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..e420908
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpartner_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..6abd455
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lF8gcnwU0i/+5g0gTyHTRkfD86Byn6OQpxiTV+GxRG4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jxXi8g4mzpbo0+at/po4PANn9CUglwba2XxJk3XRpjo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48J72ImB0wDQhS1QIJwmBXrLZCeRFGMsGihhlQ5uiU8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QRb2ik/kXQE2iUWJvZdQdUZDeEAOmrBQcMCBOK6AJQG8LCfw/J99LKRUkGV5+qfzPKKilDEFBxuh
+/saMk2WGS2NWkDH62kxZb6aeydxzmJVaKjaxR1QuRcpHiy21xEx3xF/6WWSKCrw81uOdEtiOXH15
+7lVM51yDQRUjmqWYLq8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2l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BuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..9799d9b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vJ7w5MXtvKay4UFWt8W6QBxrRQZS0xRBsMhXlLMr6IE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0jxX+8wqYUmUbOdOcQA3n1AQlsZyGdxC6AUkJq2vIIA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LG3kNLFMmnqlAa7nmTAhzLyp3bCPjzP5CUvB5G1ukS7luODDPPJeFTEhVTtYiyWkuly1XaQJTRQ4
+j+cxOkGffHEz+gA6VpclXzl8rVnJGxPJotcAPNKh1SrpgO1qpj06MoTokgHyP1QtMhUod2wfdXGm
+4zgRwvBk9iTm3iryws8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+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5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..3624213
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig132.signplatformapipartnerappmgrkill" package="wrt6sig132" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..4eef4ba
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..f707e16
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uRVL15gODFK8DgkS8AHPnodA3HleK798ezAlz0w1FNc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vJ7w5MXtvKay4UFWt8W6QBxrRQZS0xRBsMhXlLMr6IE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0jxX+8wqYUmUbOdOcQA3n1AQlsZyGdxC6AUkJq2vIIA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+tiYGJp7soVDSmzkfCv3zguXU4yKs34a3I2vhZNdE24pQ9J+6yF3PjSE5igBRVO2xOWUMCWbQ30pf
+S2AjY+VfnOK7h6zp/UFskXPFPlwq+RM0CaGpF3QemZ2ISK0MtCnHjEcPf+KIytDK10xr7blPOkAH
+PJ3OmZ+hc8/ufj5rskU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCA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ItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..605fa9c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dp9TWfGiv8ySlvgY4Aai+mBkCdZoS8QRQWiw6Bq/wxI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K/uU1Lk+mlKE29KhhF+Z2IUpGKaTO2bXMhMVwr87XSE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SMJ95OgytOn8CMd1Cj2qhwH91kNbfASp3Em5VanPPXdW9quDqJtH66urIszCBpJ8QxFNiWnDvKFu
+AdjR+mQCpnb+ckRPDZRAE2UantxysTOKK3fmOFANAT9aIrSdhufbrGL0RU3nUdM9JvLH9uEQ80D2
+n9O3HeZZtHAvVmTwVig=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaF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GVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..8270abc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig135.signplatformapiplatformbkmarkread" package="wrt6sig135" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..ac7cf20
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..5f16322
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>h3MDAym5HZkPh6jvhG1P5MywftEK+LZibYChWi3K/h4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Dp9TWfGiv8ySlvgY4Aai+mBkCdZoS8QRQWiw6Bq/wxI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K/uU1Lk+mlKE29KhhF+Z2IUpGKaTO2bXMhMVwr87XSE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Gt4O94AwwT8kIkH7O3ZivgRDMC724LXfAWmDAaia/J/NJqTXEJD2XGRWb1YpONmcidVCoEbZsRAK
+obxZ4BIQQVrNm2GfONPERPeANrqCxHRJuN0tni19g8MHwTsHFwr2HNehN92nu5ZKnJYa6DvbLZ0A
+2PrdGBdpnCu32zg/orE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+Aw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AQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..274d915
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lY5alpF5wiPauX55xjOYoh0PT6D2gDxzGQeCD42Ueco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BC6PGMZMb0GP9CWXA/8kcH38KGZ3sUDil2vxyA7Axnk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fOBmzmUdeXDwo7U8NRq/q9IeXFjE3ZlfOGfgaRKTMAW8Dqc+yXna3I1KjcLdQRtxZJyb/2I8a3pI
+ZPuhlswM74XtB1ZtjnK5m0tx5xe/IrdEuj57BXupZ84gUyzcOR51hipS7pqIlRb6EAXeQjhli93e
+3muYgIeznbaIcZlgUBA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhki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A7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..c08397c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig136.signplatformapiplatformbkmarkwrite" package="wrt6sig136" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..b736982
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..6186464
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>39/m5v+ybZzkdPQSoEVF1qK2iuA5dxnynmgXupFgvz0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lY5alpF5wiPauX55xjOYoh0PT6D2gDxzGQeCD42Ueco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BC6PGMZMb0GP9CWXA/8kcH38KGZ3sUDil2vxyA7Axnk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KKYJYMyIAkOoZDFarAGAK8vUgNDIC0ZjlWJ8FD3j4WIss7r5I5KdZrK7zK6D63a9aTGNeBs+i4FS
+0qDmuwS6e8zFVONPyQBlKNXFAdopXiuEr/3ZunsDs36wxSOAIPOuMYpp1B/1WsZsy8vtpxtb173a
+0Ns78gPoTbBH9bhu0Gg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6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GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..fe6113c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b3jUH8y0PUl8or99LFS/xHR5z/xa8z42PFagS3f4YZs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZMv9vf4b9U0oXbM3u5ZbNN25RYJnjlH0U18XRo9+yQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+T3IlATI4gUYYXzC+03pvXtIWjpK1WDFPKSgqPr3KJA28+wou8XmicLYy2CNSP9xZMCFVwx4iKKyr
+UltNTaD0XTmMmPu1pOjMWf1ZvFeBCaYNDTpfVKEkGJ5HoxI4HneO7HqX7LCEeCO4dDmonUFX5Pao
+ezwd2S1w6kgxJfty6as=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9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o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..28cfa7c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig158.signplatformapiplatformpkgmgrinstall" package="wrt6sig158" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..43a09c4
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..b3f1f8b
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>V8gotz3eot+zdjJ51zgb+/rDQtXVKLeakAAHD0fspMQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b3jUH8y0PUl8or99LFS/xHR5z/xa8z42PFagS3f4YZs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZMv9vf4b9U0oXbM3u5ZbNN25RYJnjlH0U18XRo9+yQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fbW/rT0XTzwBYygzyYfMaTpaAnmUcGN5Epk9azco6XzK9UPt3s6OrOGztWV64r8zw/ehb0s/U9W2
+pSkLEFY/VE5zecLwOe/6vU6t28S5Y7pLEUkrnTZN+4tLsU4Os68jKWl0Xl00NG3i6Y8r42ickhCx
+l4QtiGJeAa7HoLgnJHw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU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GA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..1efdf8f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I9KCvIPHfdBc3LwBkYLqLm13qsvrVjHfsF0/ap0Kqy8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Yc3g6Du3txHi5vIJ+E4ynLdnPo5objfNXM1C58GDBss=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ktmrl4NnJ1vj6PosFxXVu+OlQ6VdKO6jJkpeEKUt89uPu5B7uJQe52NTWsqsI7lpdckrSVd8kARH
+VUIGu1pkNMR2JElFLuG7Mwgpf0E1SiP6cHriP8IWARWQT6MlMCI1sR3hFDmA74hnHVGP5Etzz+tu
+uyGt3klvJC1I2VcM6gU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAo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zAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..5bbb948
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig165.signplatformapipublicappinfo" package="wrt6sig165" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..e9ae9a9
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..3a25e32
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kkWAgc2qt/xW0mss/A1Y/YKCwiPPTkCH6vhwwJqKfnc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I9KCvIPHfdBc3LwBkYLqLm13qsvrVjHfsF0/ap0Kqy8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Yc3g6Du3txHi5vIJ+E4ynLdnPo5objfNXM1C58GDBss=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Yzz6+npeyUE262h8OHCPeeF8xRKRl2tEcn14ZBMcxKd1Myo/W2iHN5C9w8jCaBPN8kVnPmIU2t0U
+vbeFZE+TfaUkE1tePpg0wq5elWZlt3VRIYP9p/gGhgvpw2pAcC9HopjnTAvOzqzguvDbvfuBOSbf
+f/Eb+NF4YFffmgxBGHM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVT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IFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..dd86925
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dIWtmTKHyvXFNWrxhlFp8iisUCee1drJc0q51Pc+82o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dhGrUz43AxGerv5zeXzwKHKV/Lh6PG1pMv3YiQJx48Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GzRK5q1hy9erZvy6LkNxFGcWglDYB4zYnlIxPLWaVwik+XWHEO31klQJMRahgO0gyp6UZTpxVfNn
+c3hfM5x3QMWzls2cZX5ZbpNwRdt4anvtfnOfCMube+ZlbmQUszsH6hCnQoNfzqLcxF0/bKK49kdn
+aZtHa3KKENqnaPdRlGE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWx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BoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..93ee919
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig130.signplatformapipublicapplaunch" package="wrt6sig130" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..001865f
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..4d13308
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sh7zl50EkFYB/0+BYVe/UfnXx6ucEIKkzgrXqSOfgBc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dIWtmTKHyvXFNWrxhlFp8iisUCee1drJc0q51Pc+82o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dhGrUz43AxGerv5zeXzwKHKV/Lh6PG1pMv3YiQJx48Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+CcvTtQJwGRd+vzF8MOk2O1peYnmGPfZzvQF1DES/0Oav9CpV+VM0Y/Zq9HeHTBM8aDjSGjdhaZct
+TTa9vs+OSZPOAG4T82T7kdlR+BKQLqKrSGHl07YFghclkBroDk5GUd+5k7EsZgYo0fBFcAGEHrT+
+Nm11Jd43nm81u0lOnmM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b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9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..d9f8c0a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PaAV3E3t1AIC08DE2w4XfIL+qW1LB897vWOZ0z6BTYk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1a/USNWrosNwjlXuTPLnX6gyNvKK0+sNBmF6ciTeDqY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+P+BUNmIUFZjdpbXYHFouA07z44b+emz4fzEKBCv01IW7GxlNCxXJkPY+SLOYmppMdfYsnT2S8u0S
++U6NQ5EhC3i2BWs1VkOBVuEj8uk9fPuqFB3RS8pjWVdv4SBeP38cuwJcrZDB7xbG/t1weDQzBTgi
+B37dOD1/zWWqbI9iECM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1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mMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..3f9469d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig133.signplatformapipublicbtadmin" package="wrt6sig133" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..0010bca
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..3f8d3cb
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5m88WR+CN7DgNGWPemgVQ4P2W9+gbU2HxwEML8iCAn4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PaAV3E3t1AIC08DE2w4XfIL+qW1LB897vWOZ0z6BTYk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1a/USNWrosNwjlXuTPLnX6gyNvKK0+sNBmF6ciTeDqY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dOVUrOrYKCqJLPKasSQriChlT8pDFY9/Hh4lON5HRBVNXg7F1tQ74nwLzaNXwK92XWtITrs5rJas
+Izx49lrSWwiKKioS7oyvw+FiyDfFpkdw7eyam8ABx4nD+OqQO7+MkXFxoUAlODldBFPv4rugROTB
+sIS4+jnVtGzadt1Ijcw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1U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ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..a47ed8c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k+T7nwieT9aIBL3rpY4qoZztFU+lVKa3gECTpXpgtK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p2eW17QnIML2rnHu0ZTMaZFRIRLl7WunffvWdMr/cJ0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+e60bBnls+jA8UHoUzv4kWSkWB8SuUG0mODZhYJ2fKU0aMV5MiQaNTUGpb2ku8bnABvIv0XoJ9dSc
+mBKZ7IPFM8ut4PVA6sb7wF2QIEMuaZwwqmwk883d30Z9ktciI02fSWnzPDiBWo6P9ekwt0m5HN+/
+kaESB5wDsv0hJkqbYvk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyB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+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..4ae0ad3
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig166.signplatformapipublicbthealth" package="wrt6sig166" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..42246b0
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..050dcc4
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>I1j4B7ajaIdbenBN5E7APLk5ffIrMm4QIk8rFzjVSlQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k+T7nwieT9aIBL3rpY4qoZztFU+lVKa3gECTpXpgtK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p2eW17QnIML2rnHu0ZTMaZFRIRLl7WunffvWdMr/cJ0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GffjY44iIktcSRvQ/57RkSMBpFigzV5/JggkiD2C+tAILsxviD7y6/7qIDvI4KoA/KkVeKhfC1Lf
+SaWK1xTV2IjMrigR5O3Wwl0tofTSCONlbQL4orGAsnVK+/sdvIT4z+cBiddxqS1hKhAS2heVbj66
+TStaJJfhEvCyAq92Gog=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+V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NVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..dc470b3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K5T0l3JpcqdB3x8gkH/7x59wOuDwOKJACGeNzsrCWLM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hOP6nfbSW196EmvzZ4LZAtRHj8hCG5H5Kv53mzVTryI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+c7XyNcNBxai3Ee/T23EIR/vRTwjQQAhK5S/Wm+8rmJlCmcxmHyBsamdfC5CHliNv0qD/CI9Gzth/
+Sk8tQk6orr4ABRnhKn3gZcowEz0Q8rJwr9cTov6hB8PsP74E+wVcEeXCNOvgdQMlj6m2/0Pwonc3
+4IQLPdCNLTZK/URuvvM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0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xvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..1ab19aa
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig134.signplatformapipublicbtspp" package="wrt6sig134" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..37330e4
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..35b336a
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tBTc6WFoAFA65ro/V+HbgaksXClQ/4UKAoAqY64XeNs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K5T0l3JpcqdB3x8gkH/7x59wOuDwOKJACGeNzsrCWLM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hOP6nfbSW196EmvzZ4LZAtRHj8hCG5H5Kv53mzVTryI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZAP+qpkL+oJwRz0PhYDg2/rTNG8qNWN87RxkJV2Abi6xkZqxw1xtd3APAYfIL+/3LvdWzKJBbyl7
+HKjMmRVPDenDNCezz+po2EsnWTAzm1iYDCND+h5UrtWNXgbMc5p6r6OK0w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+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..f61a8dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hoxnKMUPAnSDmQQx1r1DCUme4mIoDz4LROtqHDDFd6E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZXFITWrVY82dpZ/rKeTvwXaIOV+DhQGos+Mul2oy8c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<Digest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ekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..17b98dd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig138.signplatformapipubliccalendarread" package="wrt6sig138" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..4611a54
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..dcb0360
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rzkdVeJXCZM/6lvwPuyaz40fh6yIE81iZBbPb5UO3vI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hoxnKMUPAnSDmQQx1r1DCUme4mIoDz4LROtqHDDFd6E=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZXFITWrVY82dpZ/rKeTvwXaIOV+DhQGos+Mul2oy8c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ku2GhyeYW1Bl3O204WzpeghaGvpmbrXSvAaYyOtdAv7OffflL1VoPBPOgHfufkGJcqSmzOTAScjz
+qONSvKhHRtpqrocHntjbUU19X6K9zuMA0BgTE3+PTzNBazZOBIoOTSDP+aZ8QUvYT91GKDkNY+SH
+dqSWrnLQrMUqQ61QEms=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzC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AwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..ef50c05
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3TFJ8Q6Rl9WVMV9hh3PuOZv5xT6SUpOb/Umy+yp7Yos=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tw49YNqDSs1FD0Hm9ohWysZhR2l1Rb8nGZpTuknWVpk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<Sign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Xkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..e532f66
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig137.signplatformapipubliccalendarwrite" package="wrt6sig137" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..d2920fc
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..8bec325
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xtetGNKvaMUyvsWp2K39D/qlnB+VbSmVs9ebaqt2NlE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3TFJ8Q6Rl9WVMV9hh3PuOZv5xT6SUpOb/Umy+yp7Yos=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tw49YNqDSs1FD0Hm9ohWysZhR2l1Rb8nGZpTuknWVpk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestVal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5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..da1dd8d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DPTMH49G0IklUPlwBhJ3pF5JVoJ0+SvQwnY3o3zYrcw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nK8N8YU7c+E3eV5k41BPYyrWURhCOrlRzjKNI/qTXEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+acKznUpYEmfTIw3/qP6bjY7g+bqKWD3toNoik+lA1E8PPymvb3Taqsk9j/e/2IsEYj7S8H9alS6V
+/EsCsuzARQwVjDKtE1B8w5rD0yvyi+qIqZUNXpAKtQyEn3GXlH7tY3QUDlbECRxy76j2jJqvwEc8
+AqB9WKPDydsp/OPazAw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGH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QMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..25781f6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig141.signplatformapipubliccontactread" package="wrt6sig141" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..289b44d
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..6fdcd78
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bMt4LU8kmXLegSuh8BRU6Di7Ih9Zxpcbx9gPQfHeBbI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>DPTMH49G0IklUPlwBhJ3pF5JVoJ0+SvQwnY3o3zYrcw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nK8N8YU7c+E3eV5k41BPYyrWURhCOrlRzjKNI/qTXEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGY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S06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..a23398e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lbLpsB/dd2GERvliMkCZ6apGcakkIE6QvvZXEXeN6UY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k1SVuFqUk+nOo4n27thYLMZ+yvtL+bOtc0Tz6PLsfTQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y3QF910VRABa+NfTuIeNac/Vh/f8LoCOyLgs+13MZMsQJe3OY3vj/vJN1IcsTAtoNKyGkQgWpHi1
+qQ0NTJETe/4OUjD3StlYvZ9IVUNPYXIRgHYUyWec0g+B+A8nhi6M5465Q02HZnO6kdkFkfs+0UvJ
+M86XRfSyXD9RcnFySlM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVT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
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..9c6a427
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig143.signplatformapipubliccontactwrite" package="wrt6sig143" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..32e3ec1
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..83f0ad6
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TdhfV5/KeVlUZoClAArAaJ5jTnU2jTdKgirERH9jD28=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lbLpsB/dd2GERvliMkCZ6apGcakkIE6QvvZXEXeN6UY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>k1SVuFqUk+nOo4n27thYLMZ+yvtL+bOtc0Tz6PLsfTQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bOdAfdjgAsbdcXMNVeimOzwi+X6xHssj9B2xX+e7MpSjTJGD8G5iAjN5HC9NV0YPS29Uy1Q3GbF7
+8TppST5CH1MMT2CmgJHJl+C/IiGiNQpqbDa6LfnGBEXJWRkXeWaW4agYeb3ykSDRPV/BNKRf7cf0
+Av4ODoleta4V/idbL50=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtp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Se2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..fe72b87
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/RzM+z1865+Z2dr2O5+NMT7ASOImj7MaoaOuQ9uVwk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BjtqIW5Qcn/NQrf40pluvT28lNObxwydamd7BJhXwKY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bGaEyCXj04wjiRWwQ4542R98je8HddGoXk2ixAXmWTbb1OiOhHAlqfNq6j1IKsQyeGOGtd7fbbUr
+T717p5PFDZJeep/aTDUMdrGiw0ZtWerr9MtyJg5bOdejBG9hM3TShIHDmj/zLSgZcouzyft2Gfkd
+xw1DnglpjkouR6ebY4A=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/T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tajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..243e996
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig144.signplatformapipubliccontentread" package="wrt6sig144" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..62f9a51
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..478f874
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NsH4elTS934vCzqNGORgLMssjrvCVQdXrZSXzfWHUko=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/RzM+z1865+Z2dr2O5+NMT7ASOImj7MaoaOuQ9uVwk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BjtqIW5Qcn/NQrf40pluvT28lNObxwydamd7BJhXwKY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+A+RKU5OM9uowCnufRGZlSX95ioPiLZyGghyQtPn59GUm4GC9wD4zNEIPIg8AxdpuDDEUSVMFKlWo
+NaoSBtZTW+a5h9PaLslmlzxW2uqPZ1APhiHsu9vKaqlBgBVUsTp1b/fwAkOAeUr/k0DmtNiMpxWk
+NWGShI7wmeeNboPxJ5M=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtp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Se2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..1e3d56d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cvvMwHwZz3OWHS2gcNmp/Dt6WKzw0JoSe8fX2MGmW9I=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uyOlJGcsk1D3Cnpb5U6L9N+HsZM9A3aW11vidFFBNA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fdsbJG7rRe3pDm05QkPPdcc9kSIDlexw97phyKIeT+QKmVzCrouqMWEhFs7z38tMtlGkvdGcQS2w
+RN22hGjNNtCFQ5ZGsIi+GoA0FuGnkI2zUjdtPmp/wUseDPdRxGzqa8KHCKN5w1/XFbXZF0ZGpanA
+X7fef9k0zDciywf/pK8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
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Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..d39a497
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig142.signplatformapipubliccontentwrite" package="wrt6sig142" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..e0f5067
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..e54a03a
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>d04b2SexQlek0PUvVZ+yJAohsZ5fFqNXcbTttX5pgmc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cvvMwHwZz3OWHS2gcNmp/Dt6WKzw0JoSe8fX2MGmW9I=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8uyOlJGcsk1D3Cnpb5U6L9N+HsZM9A3aW11vidFFBNA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+RKnKwFdYn13VA3hTRaW+ah/9UvE59j65hcBwwBkZa2i2/WLtNnsoMXjWQrn1zm7gTy821N8DVn18
+zK9cv5tBuHKPfP/+RZxPQeGa73EPs4lskYvprSj6wYfl2fBdVNDCsDtMz7tmSgCZxaUxGUkB1/UI
+HspA7S+hHYzRRB+FFes=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJp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TTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..307e669
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kfgB3aP+ywtO5qG2C4jIRgOjajn4PHqS97opJKY/DmE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wdxwW1bmTwpkMRrOgOOrDZILQoMqG6i2sC3IH3NX7x4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JHkaSLjyokIoW3N0lEypIrpXKnJXEqwLU3nK9WVQITw6mFndbYffPIqRcGFX8L9/VNjZoZpa/taQ
+U5PTcRfyg/VSJPltvzYNLEMZAQSJJ410m0goLTokGigUXLgt9SHIL0lIxyVzxvnFLurs7G1w84Eg
+ImHraGhL8C/zp4zdoo4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNH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RhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..7ef041b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig145.signplatformapipublicdatactrlcum" package="wrt6sig145" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..7920dca
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..3c5ee3f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B6R+mi7oijp/FC1DQLtXY0qw2YF6tPZszQSJZMYj2xY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kfgB3aP+ywtO5qG2C4jIRgOjajn4PHqS97opJKY/DmE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wdxwW1bmTwpkMRrOgOOrDZILQoMqG6i2sC3IH3NX7x4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HEcR6WV57giyV8vsYh4iYvlwwFXNi0KU4mcBhB8UesllaXeWc/exfndq3+tFP1SdBB7qvOvzZ4Jv
+0no89sVAQiK+NisJHNvKdoZHmzm4qpLr128ng0yB6NJu8jBy6aYPIR/dKoSQJH6WHoG6kiRymHWh
+bBYXivFvHXwJjIjhZyQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMI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rSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..62d983e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D2Y5enlDsG02jeivZMcIiRAh515yS/a0oQbGFKjeUow=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zZqKskXO77epRwzdt7HwCUXk4vzACUTrvCMglR/95GA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+dwhX0Zn5zoAWfHGgsq9H3iG6ipWVhehcKgdk4BJ950oHvkZhTTMFhuxr+EoyUFekii1LSwTDEsGG
+VR4NEZcZ8B3VOFBeK1g3JXrxZfOoQNm9gmXEwTxdmWwHKYa816ERgoMEaAkBOU3w/K482YxJ/pB/
+ZuE4NlOyUlbIzRUgFP0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zo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+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..ae2b7db
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig146.signplatformapipublicdatasync" package="wrt6sig146" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..db5229a
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..8779ef3
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nybL2n7YZdIcaZobkdiC2EEW7MV8KCEK2LIXV4mrH7E=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D2Y5enlDsG02jeivZMcIiRAh515yS/a0oQbGFKjeUow=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zZqKskXO77epRwzdt7HwCUXk4vzACUTrvCMglR/95GA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gIF99aiwZfCBDqkowQMze0eU7TXh01Epdq7ovESHrDCeAWuMw4nAKkFNM6g3cO8xuuzKKDSco/lE
+RChDvgSNTHMXTv8m1dUvvtfEKrI+0nowhC5fwLh0GXfTcnDRtTQBcM3GRRfmugaV+638GmZ131h/
+rEUs2u04TyTXyValpcw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVG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MIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..ff40614
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LxbhtCNXz734KR4cj7mY6TyI5Yd4qlX5QuTDzMVPhgc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G3X5p/sfJ6vnsLEnXTXIIGORzn6KSmtBRRF38ub3akU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BPxTwJx2tRn6rRaojG/ZOdXe+65eZC8acvwyrM1/DJL/oeHP2sylQilbUb69oOZSrGgt14EGanCF
+O1IxQR1TkZmQa5WnK281lT4rBmGjkzzHkGgjlx4KkqA68JRym+PoQ9LUrVtTGiGHfmCwJxCPSBgv
+TztTaO7EiYkKbRWTkL4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBg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MIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..8acf64e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig147.signplatformapipublicdownload" package="wrt6sig147" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..2291ca0
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..2465d55
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>z+4TikAF3HZ9ydseQZEJTR2ZPDF+58hX2fnuri9h5Nk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LxbhtCNXz734KR4cj7mY6TyI5Yd4qlX5QuTDzMVPhgc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G3X5p/sfJ6vnsLEnXTXIIGORzn6KSmtBRRF38ub3akU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+hHgW/3Lf1qsEsm7O25iaaT4701p56SDAU4OUgacUIJBP/8WuMmJy7Uucu/FHrFxFUWgVckKnVysV
+CwbQdqBSrX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62Q9M0+MN
+nxl8+AvEukgC6qcd90oL
+</X509Certificate>
+<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..a8cba82
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FvyhpJC4VgY137oNHPLm7wz2l3cm1TJNjESeLGQ+7Ho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>62hM/g3RwgfcRvsuRXdgv012jUrUPjXedtQOuhbON9Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YbSphQRGh8cZNxt0EcYVbH+zsNg/Urxx7rqm6T2XikSczhLGnsNb0ZgQ+IpaXvi2/bzwvvmbg1MB
+EDL33OoL0DwfL9VmloaejnB2MryJGdJKu3D3gqbTaxabRFpuqjrKIKYJ9gY+JrNTvXDBva3ABDYD
+ATl8A0AOlaAFV7yLndI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqy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8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..323e22d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig148.signplatformapipublicfsread" package="wrt6sig148" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..6613e8a
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..7a745a7
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>U8TGDiEBCVByaNB34X6KGk6Cw/wXEsGFdMCumhz8JSk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FvyhpJC4VgY137oNHPLm7wz2l3cm1TJNjESeLGQ+7Ho=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>62hM/g3RwgfcRvsuRXdgv012jUrUPjXedtQOuhbON9Q=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YIFRGGJoSzaH37wB7q8zeSfNNLlb2alddnR+DESpLja6LCkJ45jMaHaF5Z9efDj3Zw3PQVLxDV8m
+BZQ73UZ4ADtICQ8+wBgTVN84Ypf0fdeNX9pRyA2KBXwEf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ificate>
+<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..bd0090c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0hnFNR3rIQNQVU4TLuNCF9N7yTy/SpzEyqsq5DuVOU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>x3zDYOy/kDEJdkbdG8flO/qFg6uwagJ1QFaPfs5FvQc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+P8M2bEsekohZKFHvIpx6OWkUx+qjG4vsJpAysn7QKDEXxfy2weadrD88jH1/hCVxIF2aQMCRBzZY
+RPd9d0LdlXzDYQpJkwL6dSmSDJgw4WZAYcjyJXffDzGH5HF8H0Za6qJJaGFn0mjVPRJJGZKkql2w
+mZ8PNdLzgurMQYUesJo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxpg2AX2VtaW/DR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+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..761d58e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig149.signplatformapipublicfswrite" package="wrt6sig149" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..ae1bc43
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..691c75d
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vrWST9dt360XHt8u3Y3Y2Wcdt8fdjJoKMYlzYVFELFM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y0hnFNR3rIQNQVU4TLuNCF9N7yTy/SpzEyqsq5DuVOU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>x3zDYOy/kDEJdkbdG8flO/qFg6uwagJ1QFaPfs5FvQc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+D0h3Mx+YMvzfQR/RHnKkA5mjnM5KKMp+Iz+TCT2/A5mcqmGFeHhAnep7SkG6ef75XfCBUaZ6bpbY
+/MMRa7XqP+P38MokgF52+61GT3gqFBFdwqPhXtSek8N64ExRRZlw9weS4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ate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..5584d1c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yxFBAZoVAAF6umc28bUugNrGuacu0VTqVOOBqz0tveE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mjedGYqKVtder/eaAQfhE9ZKfudz7JlrkybgeKYAf7c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lp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IzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..12e3c2b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig150.signplatformapipublicmsgread" package="wrt6sig150" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..4cf646f
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..f17320d
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+WXruix9E43lNuEX9BDYxFalGZdSHrow5sYt54Vfev4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yxFBAZoVAAF6umc28bUugNrGuacu0VTqVOOBqz0tveE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mjedGYqKVtder/eaAQfhE9ZKfudz7JlrkybgeKYAf7c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ph4EQ/xAuN9lrFrXfEx7m4ycWIpD1r/aeK6u152Xzy5n6xw5Lv6ShtHak7WwOXJ/0B2ZW2+Zodct
+xyBiLawQz9Jqm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MN
+nxl8+AvEukgC6qcd90oL
+</X509Certificate>
+<X509Certificate>
+MIICzzCCAjigAwIBAgIJAMNp1nbwir4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6f34457
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>40cR3paHqkp414hQ2bklKXACMP9CQt5DSCShcSiajis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9tZwVtxeUhdrhCruG+osBybiyngsMu7R881bbvRekLE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+YEWt8srEv84Nqhw+RpAcdOCJL2eJggZdv6aefU/EUfdsB4VndvHnuKFDGcPoqYatP9kMOfYi9LLt
+XW+uVKcRs6UaEzUixhrx1RKJ5i4kM2jbJ6wx+1Ady+YzPkIBPVU35UkscDB4gwWjhpYVvBqYEQR2
+LE+YqBbcYKehmuxGmso=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/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jopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..4b8c87a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig151.signplatformapipublicmsgwrite" package="wrt6sig151" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..dbdf285
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..593af35
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NI5/nlV2liCqqatSb9PN//a6IxisqN4rMEs1cVMv/Cs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>40cR3paHqkp414hQ2bklKXACMP9CQt5DSCShcSiajis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9tZwVtxeUhdrhCruG+osBybiyngsMu7R881bbvRekLE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fi8jKqNMnmlSpUDMTEr5fD0CWpzEVOi6Dq5vIXJyRKYLjuY/Qax2mQOJG0OiYiReZJX+ZKS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Info>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..e062c08
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WZYzXcKdfYdnpasvARzHVi8aX6rPq3fLq2fuFIS5Qc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2EeX9iDL/Njtd/mOrFarmWaIo1Zq/Tc2y/fxbjEKRbg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kIK+6hsYLDVtX5XnMc7Dxo+ONROOXhkzMUVgQRJWuCACT82Fb/Z6OWv6M5OjaRxw6WU5R5RCP3uz
+VOuQYJZM2m9EJI3NGiw5a9E0qDCZH9V4M8gLmZLCXGz2I+o3bpfGEw+Xd187s7ZEtf6C/CO2HUNc
+8ai5lc7tvkDXCoEZYh4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
+jru8JU91gfKpnOntGfetFzc6Tukv66ewhyWyIBwGtEd1DmLydnpnJxHcteO8DT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y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..b90d8d5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig152.signplatformapipublicnfcadmin" package="wrt6sig152" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..d66f4f9
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..050e7e6
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J6FrIzhhHTnvClV2CI/8EGFDiCJ5l+nqZZWAxDCUF6M=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WZYzXcKdfYdnpasvARzHVi8aX6rPq3fLq2fuFIS5Qc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2EeX9iDL/Njtd/mOrFarmWaIo1Zq/Tc2y/fxbjEKRbg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lh7Xzfcu2vpazBCatKlFme1vO2K373JP+s5cmuNCB8HmVnsPDEzyHB3/6ViAvkzBo3RRCUiOM4Tv
+VZNn/MADNkl/OyKwmRHG8CsuNax7uYAv2fszmAVqf7PV9ge+6oIkvheORFTleKsj/BOjrljyKDrU
+BHzJXjVxtCpfX5dr6Cw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RV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wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..f69d3a0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rut9L3nJfXYJq7qSiOQgxNY36vvVv+tCVNCvZ67KvZA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HKr23Bl6QuIJnfa9fiY3pXCltoyrK+8w4hZ0LGU2Vh0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bUi/C1y2NCUkTTbcSWCCzlJ/Mz+lU8OYqNQrA12Pf72P37822tgszW6XDnYxV1L3TrBQFi4zmvcy
+Cqy/0VHmXHpz8wHDlzjstQ8NzkOkEoD9thDqJIn70k3K6o8q2WceKO6fHGd4+q17zkhHnOKbpTDd
+mM5C+6yxIUDO7p+rcRw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60J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gZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..fd072a8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig153.signplatformapipublicnfccommon" package="wrt6sig153" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..a8a582e
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..0b572cb
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5n+O6M192doxpWOGPAMql4LyXTvwMJENdd66+ZnLWuc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rut9L3nJfXYJq7qSiOQgxNY36vvVv+tCVNCvZ67KvZA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HKr23Bl6QuIJnfa9fiY3pXCltoyrK+8w4hZ0LGU2Vh0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></D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POP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..8a2ef74
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y7SZZxd1Ywc6lnYELuHt+5FokRRkQga1WBjQ2/yDwZo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qs5GthYNYK19nFijYJQySI7YKLIsS44v+gk91nHRFw4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Vds7QlujReJwpBtTBC/ZmVZMsYPbfClAWn+MFvUEXPFy273V33j3565DtrymNs0oGbD/SN+g9MJw
+Ip2Q0pjUOE/oFoqaoZTEEl/Wf9lQsopxqQU9LDFfjswUlb8KB0kG0ln+dcwB34uw6nf1gADsmEzJ
+a4i77wwWNhdBd4IE+mw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHA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16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..0fca5c8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig154.signplatformapipublicnfcp2p" package="wrt6sig154" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..2b9f96c
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..7920483
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kUEL18x1bm53ctOQ64IR1ZCEQ/k+lQUul0oF4qHNcjk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y7SZZxd1Ywc6lnYELuHt+5FokRRkQga1WBjQ2/yDwZo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qs5GthYNYK19nFijYJQySI7YKLIsS44v+gk91nHRFw4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+meJ+g8bJvtfvnt/NmAPta6/T7x5tfmUhokW1b7T5+p7ydzqk6bSq6lTxOdGM8ee0GZry9W8WOAK+
+iKSZdL1ZKbH4qNwgsZI/Bl36T6CG9KmUmBJV1yhsMozbo8UptsoWifoMAiYTrwdkPr3CH2QydKHU
+iu8KKUbSH892HjpZfoc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9sQdotaFPLWPR1HNtG6O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G26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..852c243
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WM9XmWIX2eppsF96K27VHNn99VAGMzXymruHb+72zP4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9MMj64XKRcnAgd1RAWFxR4nBQpkmqxVM0gEvrnvcguw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AmkZF6H8MOBoGZSN5MMXwwr9+7MuJ8kC+ZCv+kb7cfZFHkvNRp4C7SbB9XMOQPcVg/IgdEfF+p6f
+BCaiFvj3ozl55iJXk5XJlRTKsR6pQ4hoJyqGZkiUXQmQlcOjUSYcPprOOPATDqAvNijrVgBguxLU
+w2271F+1oWaPnxlCbxs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM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JcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..1947e24
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig155.signplatformapipublicnfctag" package="wrt6sig155" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..3a0a9e5
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..8bbc288
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cjry4dQbmaRMcdw5OWpfW2j4WFFjHXWaxoFJxrp/6bA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WM9XmWIX2eppsF96K27VHNn99VAGMzXymruHb+72zP4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9MMj64XKRcnAgd1RAWFxR4nBQpkmqxVM0gEvrnvcguw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Hj0JAvMKm9NnoRrGYPZL8iwv1rIJiJDRZe8TeZO7f2syplxXI/T7IutVpnkthO1LXtPsNCDsEZYH
+T+J1fDxhblovS0AZo9L8Wc6rpNE5BDYK7JZkcogGBO72LE66TPwe5aGZYmBMsoC4QD2TSQHo4UMC
+rixsxRCVASKRxmj3Wkw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9sQdotaFPLWPR1HNtG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oqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..21bfab5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>drDSLN7QYxtqcv7Yx8ImR8nTP9uhRkMmplnq8DLKIco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l0VM9SgAF69Bq0LJa4kXJrKt9P9amUS4Co9MPTzCyK4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UOWfXIS8DjChWO3xTkg0Blb/HsOM7OdwZsVCkaZko/oE8VyN76n4AgwRlFTUH6aqJhnodpS9765g
+yux1FiQULWcl+yJD3TJBKmIYeV/I0kmSxpFe/b3931zQDp8Fn4KjBQHOws7GJsHJCBxdWij6ncRa
+yPjCz6auY7ypR5jiaX4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMA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i2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..711e3d1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig156.signplatformapipublicnotification" package="wrt6sig156" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..6708e2e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..23dcb4f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lSbU2pj3XxE9IbdJXlhrVROk7NJvDJcnmLhj23FV+eY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>drDSLN7QYxtqcv7Yx8ImR8nTP9uhRkMmplnq8DLKIco=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l0VM9SgAF69Bq0LJa4kXJrKt9P9amUS4Co9MPTzCyK4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ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MFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..97bd5c2
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VSyHvwaRJ1RK+41UEhbrqV9Wzma0mUPXkzSn1Tsf9Ss=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ShiiyqjBeYfgNg0A3LztcJ5Hvv4EIuPGDLHRRxh0WEA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H4UhA0Z7yU1TtL9H+CiUv7J5/pl8P6GpiGK5Ah4bU4QLgKmANr/WMTuVAPkdwDWFnZSd9GiLtN36
++31oH0DSi7J3rA82ZiclUCsX5MbkKOgL4KbkkL19SZkr6xFwm7d7njglF2YqDM1bnn7sWhjPCn7m
+0oCtEwLWpea87AGcue8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5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/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..d770b2a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig157.signplatformapipublicpkginfo" package="wrt6sig157" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..2b87174
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..07adc43
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>erntTBw0aSSkHsIqy5wY0ESm/5RFTgspxV4Pw3fQ6vc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VSyHvwaRJ1RK+41UEhbrqV9Wzma0mUPXkzSn1Tsf9Ss=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ShiiyqjBeYfgNg0A3LztcJ5Hvv4EIuPGDLHRRxh0WEA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/j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
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..b5e4780
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JAC2QD8Z+GEAXTZh97JSg14b8RDs6O8g74CjQY9Knhg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xTSgR5EAK3OwHXXLZlov3fGx8QCfih7fKNOTA7Lx9zw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Obvvqoxz3cuuFcOkecy+Ozod9YjsV+vYapSAB+RRcDZadZj0MuB/tuUkwt4zzFKKdjqR3sYN32Yf
+LH5KMozveyhmqxssvTCMwNddsnNL/PZuSDNLZ4uFH19FA8ZBJhZectmycS0SSp80155VyWU5T+LS
+Na52xBNFqXm5K+nyugY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEF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aiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..9afeed1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig159.signplatformapipublicpower" package="wrt6sig159" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..f21545d
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..f1e5fcf
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gbsuJVj3vHi53uqAF6gre5F8fBMNXBhgR3bx8nTCSrk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JAC2QD8Z+GEAXTZh97JSg14b8RDs6O8g74CjQY9Knhg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xTSgR5EAK3OwHXXLZlov3fGx8QCfih7fKNOTA7Lx9zw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+btui/8tWbiU8MyfpC8RI5tRB+9/vNMlobcZFV3s0Ft4Z29I/HAITHoOkLXouq1+81txX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o>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..67c6d49
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NumY3OMVoxKGNqDzO10bgtEC7HteQnNR760VsDejWk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugF2HsM5E7PoRDY8LRFwRcFeaasMt6qb1hLySw+Z3Sc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+iwyDzHVn8EyHAJImI4m9LCwGuqO2tpAUEJez74miNZGvglnaTIjRrC6qxJAFca49h7x4HOqOuUsA
+vYu2eUzqd3ZfKAPLs6oqn1JHOdVSDse0VnCaibnL628kejTW7PK/C6ecAbilEfnXRzRmFNEraIWA
+IW0nNiOztnim2OMpsTQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
+jru8JU91gfKpnOntGfetFzc6Tukv66ewhyWyIBwGtEd1DmLydnpnJxHcteO8DTeWibeVQsgkj8fp
+rKW6un7TPlidveHKRtU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
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..03a6a5e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig160.signplatformapipublicpush" package="wrt6sig160" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..c5a04a0
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..9b67118
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XLX2fyqEqoAtOGgq/zS0lty6tXc2cgD9yLE5nTXqA3c=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NumY3OMVoxKGNqDzO10bgtEC7HteQnNR760VsDejWk0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugF2HsM5E7PoRDY8LRFwRcFeaasMt6qb1hLySw+Z3Sc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+h+/xKOBAuut3OiwuVa4q46BXsBMP71XNpuM6v93cKMCE4qtPYsilNNY7wfgerwmTnU8R8e2l4W+v
+gOrRmcZHzShxPoJq+MC2517BM7WdhnrPi8er52d7HRNIh/yQv2DHlfa3CWoga5sYPwaBRJaVyPdV
+8AjJSyOTHMn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4GMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..2744fce
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3uS+vGA84OlbqZ60HmtOKhE0eFgwaeUSBKIOv4d2aYA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kb5JDoZVWFPO9/F3YyiiA4jkY0qZVXLb1rrFzT+mS9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtk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KVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..fbe59bb
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig161.signplatformapipublicsecele" package="wrt6sig161" required_version="2.3.1"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signplatform_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..7e44de0
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signplatform_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..39efd1f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wCjAEREm7olS3mDrc33e9qWLJgaoB8Kfjo9FLndJyRs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3uS+vGA84OlbqZ60HmtOKhE0eFgwaeUSBKIOv4d2aYA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>kb5JDoZVWFPO9/F3YyiiA4jkY0qZVXLb1rrFzT+mS9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+du+60GjiMolZ0Bjfk9gRddjCyJD8S/d8i1gaP9ol6dZkmX1kgM1xVPfvbPjmoCBmhYHIBhjvy/H/
+4o+gFvvyUz+LcjEiN4lTMMWRzm0Rg0aAE8LPtdRWmpjPHcq0FO4RFFfMKEw0O+4s+0fGMeEF4Q30
+wD770OuuubElOgNwEAE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BA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YwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
+IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMTcwNQYDVQQDDC5UaXplbiBQYXJ0bmVy
+LU1hbnVmYWN0dXJlciBEaXN0cmlidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
+MTA1NDQyMFowgZ0xCzAJBgNVBAYTAktSMQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
+FjAUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
+Q0ExMjAwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
+MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMni4Qmv96ww/De92kYhtzpas7viwyYoFTTuvcmayD
+FBuDoaHqrSDsrb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..a3cc8f7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5fUb1WfRhhpLSZHc8k00axtDNdhhrPw8K0yoxqW8Ii8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XOxs9bQb67yDATVy/U6katz49X0+O21UFbv8dDtsyPQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ac8UsbvZhig1zdIBVV7vRQU0hx3IJzTerKtlWP3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MPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..9b02f01
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig162.signplatformapipublicsetting" package="wrt6sig162" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..1d9cd75
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..e76b051
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6xvfN7cXYP4+SaihNNiKbbP726XpAGl/F21ufgqDOB0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5fUb1WfRhhpLSZHc8k00axtDNdhhrPw8K0yoxqW8Ii8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XOxs9bQb67yDATVy/U6katz49X0+O21UFbv8dDtsyPQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc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fqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml
new file mode 100755 (executable)
index 0000000..d428367
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugz5d3NgesKdTLi0gt6jJkWHr2l/1XmCoQeRSlgwXJ4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GLMzXeCGtCynDikTwuHulK8fUVnyIe9GHI0FHkilOiM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y0nMHIhdAcpuG0jJAv1wTJuXUeVUpLzJ5Q8DSnmLCltmuKh7ys7zpsVNOuxRlhz++l95nlffee9L
+q+w6iJa38AGIKLf1IpmuuR365IFk93YorS1+ffR8tswsA06cPjIT40aBn+PgKraq6OyUZ3602dcQ
+NLzApn3L8+StPybyous=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQU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7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml
new file mode 100755 (executable)
index 0000000..3a2275a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_sound" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig168.signplatformapipublicsound" package="wrt6sig168" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_sound</name>
+    <tizen:privilege name="http://tizen.org/privilege/volume.set "/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html
new file mode 100755 (executable)
index 0000000..683bf95
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_sound</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     //sound privilege check
+    try{
+       var returnValue;
+       returnValue = tizen.sound.setVolume("SYSTEM", 0.5);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml
new file mode 100755 (executable)
index 0000000..aae727f
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X5n3MrENMNJydoYWYJHoudst7eVtWQXiPkapWuDogTs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ugz5d3NgesKdTLi0gt6jJkWHr2l/1XmCoQeRSlgwXJ4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GLMzXeCGtCynDikTwuHulK8fUVnyIe9GHI0FHkilOiM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+deXDS1UOUgBaPiJZUEncySiQteIBjpTo1W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grD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..3c3fc99
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P+gfedXBAvoEKx/eea84v+opRyfni5RahZ/51UxapF0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J5pH1vk5FVu/M3c2F3jwSWzNTN1xhFNK+TVhC8NrgZ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IeBULIxiOkqjtd4cLJGugmYKwVfBVj2S+mVdw46QQGxQtlLRhMu1FAlNtLFvxnTPTAi8LhVwJ079
+Ndoe7D/qs3PKNl/D1cYR8ehspNLLywLsggTMBDu2/xGC91QvkLywdZqFS+LkgWQGbzL+x1jSiqCH
+Bs3Z03jDqts9a0Qpke4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOyn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rmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..070d086
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig163.signplatformapipublicsystem" package="wrt6sig163" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..bb85dfc
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..c7959fd
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zwReiDbgdReeRlLuD6i/pWLXDojdNZXlj4+C5ls8ayU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P+gfedXBAvoEKx/eea84v+opRyfni5RahZ/51UxapF0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J5pH1vk5FVu/M3c2F3jwSWzNTN1xhFNK+TVhC8NrgZ8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+X5sC8CCIQhUMpBHiaz0Eni7y7BmEge/dIDQ8KBHT3egraomwxqFQXX5P9dDiEZk7J4lTSj6udGcD
+36Wex7Jufa2S5UlSumeBc4mbVcrTKFl/5WZJwe+1yKjMA9chCh9OCn+FhWR9uN/zBks+Jc/3qjVz
+IJTTLaxlx79cFJ/6kYs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2U+S3vDeylEhex/IopWF9RZMPJFyKr9bJnlzTqiZ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3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..921d060
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0fl5wCPywf1BtgvRbGaaHBAAFm4Yc0X97mLX9eOqexk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>znvwa4Dq3pwuAeQvpFvUWpRC2w35Fxh9RNnHuhpWr4Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SA979Al0IeeX8TaOzSAsKAxJ2a5hCYXnAXJxDoGVqlRNDl5n9hAB4ubEwrBrD+OJ+jBgz2fHbEnZ
+JavcOMHGVpZKix1qDAeGx6b9jauksYQmquj8DfPnRVVc28la0GPa1/rQTKuSqsiN5njFN+hmnu2g
+bMu5jjshSoaOHuvjb+g=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ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liobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..64bec11
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig164.signplatformapipublictelephony" package="wrt6sig164" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..2b0327f
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..48ddaf9
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YUqLJCNiO7zFR3Qfwx7OXV6UNQUL55lXCJjVrX/WO3g=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0fl5wCPywf1BtgvRbGaaHBAAFm4Yc0X97mLX9eOqexk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>znvwa4Dq3pwuAeQvpFvUWpRC2w35Fxh9RNnHuhpWr4Y=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SEpjPyFYQCrEeioCs7hFYZUnL/i4MJ7O7GUvAnOmROUEvpBKx1czzwvCBXnXI8YwFFnXzxVOp8ok
+Pdid2gXam+gQAt202N4EGueVqEdFRDRWB4P66itONghnih17298dZ1W6W/I6wdAWQWWsYYbBESbf
+csWM1itzoszxiRFKmOU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA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rb9M7qrR4N9higg1mT8a9J8CUhPLKhlifK9OwyQsZS+8xVfPfogIJ3wumfjLl5zi
+nqpkSe2ernxOTU+PB5lWU8toKbnJO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..7e11b52
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8rib+Ezbli6irdOom0s/XDhXOaGv1M06H3oYCDNAUoE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CHvI8JLAt09LvxNNVKCK2c+DQe6j0BU7z73S970F7og=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ss4nnZy0Eh7G+EwRsWoJC6dNqQCnfswEJKwzBVJpK9w/341oGTRlNQLTrzpltgzevDunFyGyGdMP
+vztKO/vTmBXHe92z/jG57aZAr8E5vcvt+qnboct4i+0bjTw2Rum80wvqYgtZp5UWX166AVIYsRH+
+0G8oCAOGF957kb20DAg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3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YVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..f506ba1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signplatform_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig167.signplatformapipublicwebsetting" package="wrt6sig167" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signplatform_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..be8befd
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signplatform_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..68ebb40
--- /dev/null
@@ -0,0 +1,69 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+BMWRMkoNo+hFyZuEBY3OKTxn4uWvqEql328+4UPpLw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8rib+Ezbli6irdOom0s/XDhXOaGv1M06H3oYCDNAUoE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CHvI8JLAt09LvxNNVKCK2c+DQe6j0BU7z73S970F7og=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FhTc5r8rcF5UnlooEmd31xTgVwfKkXlWAzIIiOzemG1z5ar4Jbo1WQxY6VQmUT83at7hDeZMt3Zk
+tWxDlH6ZAfzMD94/KHtsg8YBAnJe/2XQNZ73/UfxNvfnW2ERJ9crwwOoOYF9hmLhZr6Kz41Jzbqf
+Qj0HCxUZWBN2XKBnoWs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
+ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
+oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
+VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
+AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
+SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
+4l7q9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JO3+jchm14DjCQ4ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
+BTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+MFRjGWrIlI
+yLDcw2/L9hxguD8XhgAanaQUzS06XM6BajDjcSiJrohjoMFkB09M+r5fVkrhkT29oABsKXO87+p8
+JbbbIfdwMUrAjXsrjMUzJ3J6fn86/dn/PcuMAkCgrD069IzpE8NM
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..85686bf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Nmy/4/uL3ReQKRqwVGeI/u0LI446InetDyGvrjXg+Ek=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tiUTjK6i4rYlfzcM08rBtu+2o2mevmtKNBIbTO98wQs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WRGKPBQx4lMOyRVSGc5o2e2B0w6qhZiqrkLcDK6IwClxc5HdBk9QX/QXXmp6BFk1blNcOA55Ssom
+4u2ewDt6rnxTTSlm3XhFlpSZV4d6qeSa7K0Jat648/0Qoq0QeXJ8SSSt9Mbf3+IxTbzBjujiCMyG
+7YVjGHsawz+kH+Y+PII=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPF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yHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..aae94b5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig051.signpublicapipartnerappmgrcert" package="wrt6sig051" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..1d337b5
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..4793cb2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pSekglXvkLXTXijxz4qRudhfHMFHMqF1WqS6EcgdeHU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Nmy/4/uL3ReQKRqwVGeI/u0LI446InetDyGvrjXg+Ek=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tiUTjK6i4rYlfzcM08rBtu+2o2mevmtKNBIbTO98wQs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+qGAWnNXstNoCiTGMjU5EuT2ianHpSP7GOV4BmJs0MLx10+aS52D1nXKGkm/7zGAqjz6dFMg8js9f
+sYDl4lujN/7vurJhOnMCTWlevgm/ws8HUSQ7Dsm0+cE7kmO0j8lHv+1424mp7cFqZumsNtf/V08I
+srSBUJ714jaPOj4M9X8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+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AMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..85bbf4a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E6qQqDd2mswaNavPwTeuz+VZ2d1s7SNRIOvDczSxihg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>blPQOrNROfbTTXSYLpgOfnulc+SyjScaYRbDpI5ml9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Dze+yi7xJuYBklz9fZTGJbnTNQ8dLvcN/UWrUP+33PXcGcDSuEYBgjwlFQM8BtW4ira+jY6bWyQV
+Af0bfI9asPyV1OT3sEmCAfj4fixeJnxhCuTMp5YaOSZgHv5hkjcnNFE7QdtbRJcyjCv/xSackHUl
+HZpXGM0rHnLCo3ElBnA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USY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0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..12f03a1
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig052.signpublicapipartnerappmgrkill" package="wrt6sig052" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..21adffe
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..c1bce4f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B0G7wMUaSyqCJCFXUgN3pDRe8esiDKlynAKb66qLr7w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>E6qQqDd2mswaNavPwTeuz+VZ2d1s7SNRIOvDczSxihg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>blPQOrNROfbTTXSYLpgOfnulc+SyjScaYRbDpI5ml9c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UkhOkPDHIvA7bjnf2KbA2PAD4ga6hLHyzpUNy+5fUzoUsbj81hm/fzV1EOUgeGzSQYTD5OPxoyi7
+ItFwAtpVIipzIev2xeLxLrn1rT6G5AHV3Tx4Y9pyDcRlcnyP7xEMAsvziKi+9W4QlUBMrwLg9jcP
+o4xD79jOVyV9HHaiv1c=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90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Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..42e9ac0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qaI6yUWKXUX9ZI6MRg7VmpRVbJbqnppWKAXKEwL7EpM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjZk/6taHfvzbjtiOvsOu4y1HO4E/eDQepRcC6brFWI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Kw6vBHJ/6PNBKLlYEqBokAKL2Acu13IosRszpR5S2eYmWKZjk+eBZBByiKpaRupWYbHfa8BO2A90
+zFNgVrrlQIvLX2cZPzK49NSb8HSbOBN11+yXqrucIyWT/oNlE2VC+BySvRtBVuKqqlBfbxo5LyP+
+54YVcNE4lg4JalHmkY0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOB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aPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..7916dfc
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig055.signpublicapiplatformpkgmgrinstall" package="wrt6sig055" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..bd1e55d
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..d99932d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vOlQhWPpwX2MeClmvaDZA+BLR4umGOY30MfARo4WroU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qaI6yUWKXUX9ZI6MRg7VmpRVbJbqnppWKAXKEwL7EpM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjZk/6taHfvzbjtiOvsOu4y1HO4E/eDQepRcC6brFWI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+iaopKWgGSYOVNXJ8Pc+Jr6e7Ygzh6udFM8FKXxSM6eoYYfxCeQqdHtVnudOz+hJiWxEdaVPBOpC7
+Mr3awGQBTUcGPdvutZL00dQcJ0iAESjpbTMMqYXyYr5uW91HZyBvzG7QcHJYNJw7i9974IGVTTfD
+DE2ksGh9pBjo/SUk7k8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMG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GSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..10e4d10
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HHb4bi5MXRmxOe8QugVoeiuZewWZy1b70Vz0HlZ4Mtw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjTNl587v7imHXI8/qKhLKFbuvWiw/Ojj4wf9GGgTCU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PGIkBn+PpTi5eaEDtYpyOBuiXPg/CUSrjHfp3dI351qxfNeovtZ95Q08hR1Uc6rzSq2uAv8GKuCe
+zs4l6ujuJkkeroy43X7cQnOg+ngjgX4icad2rvGQA9r8QMeEqjhtywtN4bEQco0ODdvyPOT+7rge
+AQH6mdA75y9hyvPHDIw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwM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wDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..4fde163
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig174.signpublicapiplatformpkgmgrinstallapipublicalarm" package="wrt6sig174" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apiplatform_pkgmgrinstall_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..111b81f
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apiplatform_pkgmgrinstall_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+   //package install privilege check
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+     try{
+ tizen.package.uninstall("testapp001", onUninstallation, onError);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..9651698
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NQmTofIypLDGBIJ8bjhp2zGN44Rpv9ZH6mpam87rfgE=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HHb4bi5MXRmxOe8QugVoeiuZewWZy1b70Vz0HlZ4Mtw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjTNl587v7imHXI8/qKhLKFbuvWiw/Ojj4wf9GGgTCU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NmpQ4VkrzJHt0uxAza+ELQBPd5gIMpRWb9BOyCB+yA4SV/0zPbeueRYk74eLaFeO1Di3BGfTRidG
+aXoH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+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..ea9962c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gR4Y+R3xFnUyL2qfTb1OhydqE8U0Ura4h5M8wRtbleo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>az7SeHUxu7uLQ3Nk02V8q7353uqn2nlVpg2SPWBT2o8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></Digest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yvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..13b4a46
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig047.signpublicapipublicappinfo" package="wrt6sig047" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..18e07df
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..f9f2398
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6GD0fLWc/bUq7z4IcMwO7YN9l4VQ6tkAmbBIPyjuB48=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gR4Y+R3xFnUyL2qfTb1OhydqE8U0Ura4h5M8wRtbleo=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>az7SeHUxu7uLQ3Nk02V8q7353uqn2nlVpg2SPWBT2o8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lZRxvrp/+UeFQNAqTN7YlddORnJTYNTQkfXY+Urtcfy57rcFVTxQycSSotbzYai4c2J1O5sNRxkE
+9DHe7qWayfzrOSNH1+JVQcpMFJWveVwBjuFigQL3nYhgWKmzkbnhTJoSYAY1oeBy5qA+AFjoDXIk
+CVUIRCuz81HSkQ0N1hE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQD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KDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml
new file mode 100755 (executable)
index 0000000..3c798dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ygq9083cDoN+bCs4B8OnAIE2JeYiFN+LV/smlWwQzRU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GY0ZF6lGhlIXfCojSNOPMc/KHdjUfW84HHqNSCKhThc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Kd6q3nAGuuToY9KgSFRb+i79li9TB01ba5ieDHUxjEkcfeOO8WSYn5tBN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gTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml
new file mode 100755 (executable)
index 0000000..f294968
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_applaunch" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig021.signpublicapipublicapplaunch" package="wrt6sig021" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_applaunch</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html
new file mode 100755 (executable)
index 0000000..0fbd812
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_applaunch</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //success call back
+    function onsuccess() {
+     console.log("The application has launched successfully");
+ }
+
+    //Application launch
+    try{
+       tizen.application.launch("targetApp0.main", onsuccess);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml
new file mode 100755 (executable)
index 0000000..c4c828d
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>An1lgQ2uuvC6lK13813wzrnY+z9SqQ4KaK909ASVK6w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ygq9083cDoN+bCs4B8OnAIE2JeYiFN+LV/smlWwQzRU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GY0ZF6lGhlIXfCojSNOPMc/KHdjUfW84HHqNSCKhThc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+l3l4jSDQfaAwl7m7J+ailFqWo9bOn4oqqamPAaVCPELqneviRSm+1Fvjb94IHF/LjBz+c7amclL6
+UiR7RcJAOqRtxRHsV4MSvcXALJt0oLrVNvNPxKvDzG/2tWcX43yGiG5d37mEtaYqOQ0W0kPgLN4P
+Fxm5zP0CVJpT0WG/72k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4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1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..d4a1977
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jyD2MS8oqMLSKj5ImVe6qSu9a+I96OwG4v9QEcCesuI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eeL++HNDgpWqfy1x0L1xc4cIZbpDXoXZBC/CUw8Heys=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+lDrW5qxjm/W3DwZ+Lq3d0omIOdroTbNb9rZpbexGO8CCbfymUhIckjxqZwAo4+NfpjAvUZ87ox7G
+XsNZVvLt+9zGh68dQnDHQRP8wGVqNwZ2WM+kdC7s56q2w1HXgkMniUr5LO0ezwudP5FZTKLofz6x
+Q0pObJUNoobomC3qbbg=
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"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..ece4b2a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig022.signpublicapipublicbtadmin" package="wrt6sig022" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..aad3e7c
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..85be950
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9KTaMnsjySgeGhbI9iWdvuUrU7Y3ApCEzgZA3YkFf/o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jyD2MS8oqMLSKj5ImVe6qSu9a+I96OwG4v9QEcCesuI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eeL++HNDgpWqfy1x0L1xc4cIZbpDXoXZBC/CUw8Heys=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QYYOtkVgEqY4LCQCt1VRjvyh38mFyTyI+EW2uLlsZMh/ofZtcmhui5Yw/Xw7khDa/yV65AiF1I/J
+EOJH752JH6Nda7ZsHaFGv/NnDE1pmoyp9eFzDKKq0znrlzMTjW5dXF27KPrhJs7QCjw/Pv549xeQ
+dCkygMXxZFsh76FQdes=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdv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W4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..5530fbe
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mqPskV/63VPPUue8I1frLyZ2L8YlAsc5iQZPUC92RtA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qurfWYUNjmUig3Nu//rnBgxdpaU14oy2qxFFnZBjTgc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+G63M3l3oI14CQOCDu8WWX59O0Ey4qdtaW0zyUaRLUj07moiAOWxEdVp9lybBB50GjaMOhYb2Ryzr
+e8KMbDIxtjVCbke/4u02j2pS+vKTHAkij/+RDScm6auvgoDZ90s6kFyHfcFWaQS3lCA5MSfPKvQh
+zV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
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..3a0202d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig048.signpublicapipublicbthealth" package="wrt6sig048" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..693a062
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..23bb0f3
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>65GTKkdqWMD4wVISau3DJPLUe0XbKb6aHC29qO+roJM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>mqPskV/63VPPUue8I1frLyZ2L8YlAsc5iQZPUC92RtA=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qurfWYUNjmUig3Nu//rnBgxdpaU14oy2qxFFnZBjTgc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+s7sV20jCLu5v7pWOT1RD2xmZ+LIdSf4bS3YeO3avfXuHkhro2m2k0nzfwnu8lhMbCZFSQQjcZDBJ
+PpSyQDly9UemhtGm3K0tdjikHnqywr3Yp7rdPFoHkQv1We+mx7PsTTGY4etT17XoIK+5LftzatZ2
+taYXZPjo/zYn950MbzA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV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DI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..b0ab767
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LViJDBQTHwFeSf0oOaEyo6/lQshrC7NJMGFO40uv46g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iHve4tpngXGbNiR4SO+xc9gzaK0V6Otr+iPN1+/tm/A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+U4ij0yujevR9Z8VLNmJsNiIHjuraxHgsZfB0S0gr1laYJrQzdvFjq2Iwa/8Udgux6JI0J4DVuf8s
+KcYoTlPtvc0rj4qfsTbCu69ONFEW2MY/y+IfKnD0W8NTbN7ldXyMVz83l2fbfnAMRg0OPWv8JoFA
+IyJCNP5vLbPr/9ThX1Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCC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bl
+cnMgUm9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..b136e9c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig023.signpublicapipublicbtspp" package="wrt6sig023" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..3bf58f7
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..c1f6c79
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bz2DQr/KY6RbiUPQtEzZUD5IpZFjini7p6iF6W7eU9o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LViJDBQTHwFeSf0oOaEyo6/lQshrC7NJMGFO40uv46g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iHve4tpngXGbNiR4SO+xc9gzaK0V6Otr+iPN1+/tm/A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</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1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..4d1d54b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TVc2wUzfFlctP+N6GRA47ylT/VDxGshpkZIszoaI91k=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WaXGZxupPtGYppYGf/vxaK5xH9acgO4p/YhF1u4bXeY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PY5sUiBLX6PQHgRflgsZ2iUAqVRQ0tCN6Gtzztx0Dj19xfNXDyYDEoIeodsc3RoXx+HvrC1W/tRo
+i1RdCAAFTH3YgnBbK0h7/kvzfP9W6ZrfifdITwOK/e/xGnFm92wQRGYKp9myMzjpVVdHEw8cc/r5
+w7I5esKMAxAIU/oXwYw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6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
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..de8d82e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig026.signpublicapipubliccontactread" package="wrt6sig026" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..8ee3580
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..fca214e
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0n0w90IUPt9QnT0bpWSwFCIbg6gLbXzdQ5tBzn3dZ5s=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TVc2wUzfFlctP+N6GRA47ylT/VDxGshpkZIszoaI91k=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WaXGZxupPtGYppYGf/vxaK5xH9acgO4p/YhF1u4bXeY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<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ltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..e076a44
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jTeTIE7FktNtjXj8v4R5uaD7Oskj9YbjDb6GEODYMyU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5hCCN2bg7r4HCqgefqcJyKW9qPzRDEAOzH/4NtEegaU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Nln+TsXyHXLHUAlfGa/4nAs4t6CEPZ68UOABdIvTsON5lziB3jj69LZqeka0YpHy8hymFiaez/M5
+AK63gqL/LpWMy+DmOHiNKUHybUVBjRVbo3GUGFC0G6SWywVfAL6pltdT7hl7qmQ/c0nD6eCykkl7
+lotFxaOPpcgPLwLnqs0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOyn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rmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..dc1afff
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig027.signpublicapipubliccontactwrite" package="wrt6sig027" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..1b0cd7e
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..5da6bce
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X6wfk1DCLizDdbVZx8ccePTrvMEDwaUOVcOVuUjmZgQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jTeTIE7FktNtjXj8v4R5uaD7Oskj9YbjDb6GEODYMyU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5hCCN2bg7r4HCqgefqcJyKW9qPzRDEAOzH/4NtEegaU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+kky/OBfbBqwFTKUKvMbcKW1ug7S4Smv4Z2UAKSuQX8TjKmV3Mv1NOID1PKmcu2QilrUbzlUBe6rG
+g+jjIeuepsp2VXZDz/E57fznRxSGdpcKMVP8t2Y67HzhEzq39ak3hRFIgqv+i3m6MkHfojLC6LQh
+TNiwbQw7cFH/U5HiVXQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokK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4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..c1cbb1b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9f01Gr+1P5JS/Zfy3MWTLm8He9Tuze5XQUsCiCVRQf4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b7Wn72j6ruDk3KJKtPeTD8kCO9KmXId+b5bnRna1M4M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IHbGF4hxo4RybNB4vu1mNOj5foDPP/Sy/IeFo7QxHP8A4/qQR0mrl1nYXJolb9tY9oDfj5ifSe+T
+J6zNDSWjwECx7U6GCCB4pT2EtIxwcbR4a/cZHREAGQQUDrfiPpr5F/Eh2KWokrVlVHhllW4Fjrgo
+8dM3oe8z3E5OpZt/84k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHA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SI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..942643c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig028.signpublicapipubliccontentread" package="wrt6sig028" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..50f775e
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..835a22f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XZQ1ghgCz5jP0HuMWOfs3IsrhNi13q7k19IUZ1fhLnQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9f01Gr+1P5JS/Zfy3MWTLm8He9Tuze5XQUsCiCVRQf4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b7Wn72j6ruDk3KJKtPeTD8kCO9KmXId+b5bnRna1M4M=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/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6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6240095
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Wijy85Q0qYLlkKExSlW9o+Qe2Dc/7G6y6y7rz52afiU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>s7LJicsJgEEmVSqxFpPNmZzVu24gR6MfPmyiEsszuNI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IAdsh//xe4PnzaXgyhG+dhHosN/C7D1owMREfJ1ECvrmhBmdptmFskJGGQivtKOL7nkrt7EDgKOP
+a/2e43+X7txojDW+WkLZQ7PSEPOtSvuZL6YNYFVsHWdW8+j70qkUhuCs3VMJy1BZisC76mrQc/A1
+ySwIYnhfJevWKy/a92k=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEB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rwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..5ff4b0d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig029.signpublicapipubliccontentwrite" package="wrt6sig029" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..09d428d
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..716583b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iR08Xk7D/ffJgQzlvoCKZksk46A+S1n7Fc4bIqt0xDY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Wijy85Q0qYLlkKExSlW9o+Qe2Dc/7G6y6y7rz52afiU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>s7LJicsJgEEmVSqxFpPNmZzVu24gR6MfPmyiEsszuNI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZNiKAkM39Jvb13+I33HqWBDzzIAs1g2j2bNZq12+GQGwHvQFG7JpxayzwbvLGlaENijE9UDx45j6
+UOJILnlDSH+n/anYWKq8LdOJn2yCZjn+YtnDqx3R+ZRqL5zj8uapZ/J51XBvqU72IwwdGsidUG2c
+qjRCFq0NC5oS9JDUvwY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaD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XuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..2083ede
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t755Bxgb44ZoAhWQJB48opM7I9l0ypNjpbinAgwzoyM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o3W+I8obtyV84+zl0f/6GLU96/wNhV5h5+mV/7vEkQE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aE10qOO4zXrg0wf6h9Z26oehLeKuocI83vu3mKPGNzjBeFlKPEfFAKTXuKNuL83Qf0fMtkdR3gpR
+Tlc2DW0FwrKOUloFRTqkvDRSVvwQPiftGZhsrYRM0Ib1amHbd6wLN0rH9eVxfCGJTuuyDtQdKmha
+VlW+FtQyET0hp6dwJys=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwC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M8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..39591e5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig050.signpublicapipublicdatactrlcum" package="wrt6sig050" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..173b4ca
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..5ca1cfc
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SOKGPjhIqtqyavLq+O8O4SPFICp5N8FrpwvVMSZf+dk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>t755Bxgb44ZoAhWQJB48opM7I9l0ypNjpbinAgwzoyM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o3W+I8obtyV84+zl0f/6GLU96/wNhV5h5+mV/7vEkQE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<D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ckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml
new file mode 100755 (executable)
index 0000000..4f5c841
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gLe/YiD0Ofib8KE4NMRe9Cw/yIx9zlf8pUv1KR/D3d8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XXTM7OPWTciCt7gs6BHVJOqI0P3cDbZpBc+bxSoa+Jk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TEogWhkcCQLqiCEiIQtKXdoKjnejpOAwh7F9U6bFbdZmWb9ygvpjpxwbLGI0NQbwQqunR2zTAXD5
+aUwI1QwKHj0STaQ43Na+UG5K/xQd7h3FpjwKCJyElXqi47wNE0PeUotMulL4bwV6wg86vZQ0Y8tx
++2JaNxQOUxtKaPMbGxU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5Mr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R/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml
new file mode 100755 (executable)
index 0000000..f19c163
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_datasync" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig030.signpublicapipublicdatasync" package="wrt6sig030" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_datasync</name>
+    <tizen:privilege name="http://tizen.org/privilege/datasync"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html
new file mode 100755 (executable)
index 0000000..f1013f2
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_datasync</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Creates a sync info
+ var syncInfo = new tizen.SyncInfo("http://example.com/sync", "myId", "myPassword", "MANUAL", "TWO_WAY");
+
+ // Syncs both contacts and events
+ var contactInfo = new tizen.SyncServiceInfo(true, "CONTACT", "serverContact");
+ var eventInfo = new tizen.SyncServiceInfo(true, "EVENT", "serverEvent");
+ var serviceInfo = [contactInfo, eventInfo];
+
+ // Adds a profile to sync
+ var profile = new tizen.SyncProfileInfo("MyProfile", syncInfo, serviceInfo);
+     try{
+ tizen.datasync.add(profile);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml
new file mode 100755 (executable)
index 0000000..27ce177
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AU7FkkOij3nCvdR7F/rVe3uY0Ev6NVsWwMxnG/RYG1w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gLe/YiD0Ofib8KE4NMRe9Cw/yIx9zlf8pUv1KR/D3d8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XXTM7OPWTciCt7gs6BHVJOqI0P3cDbZpBc+bxSoa+Jk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NoZhZmhisTyCtLODqGgjZzkM2Q2kVu9wZzvXbVsCp4ETnzmFxHLy2EBzb7fF/9yZEo5g8KViyfEi
+SGMTQ20BXlHL+TkqYblXThidRsedQKIO/762v8v4fCImP6mJRs4tDMl1mrXZSnPW3niA2yybJN8e
+Ni+u9DnMG09XLG0p3n0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3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udwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..d959ab1
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjH6A4XRRyWuYX8W+j4heYdVj/CndDT8GFTRwcvdASg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4sbRt+LXO4FHJG+f1iMQ6PpIkabJvzY+1SRtW2HqQFQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+T9knEf+exSqphEgVQyAPl+DYhAU/BZ9wC48OPlAe5/3MZ3adj4y6qk5/BqQImSRJlurIGnAxEdaj
+0UMMDcMxvDFYvhoUR+jSlc+522QcDWs8ZWDEzQDQzXav9GNBNJPzMpXh41lABlfaIuJnRCik8SlU
+myTQTk7pjzvb9GAaFJ0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAw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qGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..b104ae0
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig031.signpublicapipublicdownload" package="wrt6sig031" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..8158d02
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..f0fa5c2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AkL4/cvutOXyVAL/B7zU4ko7yioH6yRpa7PzMmw1dJk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OjH6A4XRRyWuYX8W+j4heYdVj/CndDT8GFTRwcvdASg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4sbRt+LXO4FHJG+f1iMQ6PpIkabJvzY+1SRtW2HqQFQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JzTiZ3aVFK2Cy6/NukHPhvCGQHwOtHKcxXKW3XRgv2ShBbWgIy/UkDARAdq9URWaNnEGHg1bbvvK
+SrE2Fe5Kl1RJUOd1QxeaXOaaW5cZ7DCqoUKG8/6HOFB9xhI2ZBaAGv0TMeCrqGJOHMV2ES2xcQWU
+Sefqrd4CEnBjWr1zf3Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gV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G9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..b0616f9
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PKR+kCWXtC+UR9Ik3NYdLMaOEEVy7ffshIDLF8wM6Gg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fLjuzXzDOAKksjGzcx/tqAHcpki6r1AOxT8QQKZquKU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OVF85aBCd4D/DgyrG0PbLwzMlhMJhh9V49ml6ikb/ZjjrzqxeDorUp3AI6ZBAXi3N3B9Zfr5Yirp
+UUQDs/8lr8+3SetJFPLIwE4of68WJaQSONGdBKwlA3RLypM4lsWnCMBScNO9vUSTEmUooDxge5Bm
+7yr0fj57D6PUIoKafDM=
+</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>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..4cbdfe5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig032.signpublicapipublicfsread" package="wrt6sig032" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..3606ace
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..90ec829
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XAFdu+zo2rUoy38t26Z80AlQHb5AImTeI0z80hky4Ds=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>PKR+kCWXtC+UR9Ik3NYdLMaOEEVy7ffshIDLF8wM6Gg=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fLjuzXzDOAKksjGzcx/tqAHcpki6r1AOxT8QQKZquKU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+s8BUcoEPTePKxw49N1bs3bPtw0PszbEjLKfCc25kc/gVzF5s1ol06GbyUt011aJEmo1ipQlLDkMC
+DPZkqRgntxAV4S2dE7yBveH9KZcOOKkU28Dc9Vl+k3Mm/nZQO4CnYIiQznxN73U2klXdtk8HNrcc
+TZrv663Kvkwu5ONKsXM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIER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AgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..0590139
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VQdnZdprLsKOFM7H1qtVsC7gGPlBhgBXxeVru143Fis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vvZMXOrNYSFQNj2efrQbiwnL0Ee+oM4nY4fyD2XeSyg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+U6G0vaDNFZ/MoAnwm0X//rnDFgx15FAPd1O+HJ5+Am6S1aXDm9XvQ6t21znTOhsT8NalGPoFsmR1
+hqqofXsFWz45ss4aOBuE8aNgJwjrTZV2Czhk1L6vbijD0cg+SD6P5ePgEh38sZ4RZLfBu8481Xho
+o3hm/ui9TztqO0tT3ik=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYB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aFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..02ff685
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig033.signpublicapipublicfswrite" package="wrt6sig033" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..15aa746
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..26b1602
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LQgGOIE31nzKRbFPdHz1FMo3ny4xcCcXcCGisbMd59E=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VQdnZdprLsKOFM7H1qtVsC7gGPlBhgBXxeVru143Fis=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vvZMXOrNYSFQNj2efrQbiwnL0Ee+oM4nY4fyD2XeSyg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+H4tiIWFDFSxmknAKEqoYsMSDZFgFfhwSSoy65KDrfWeLBnzQqqdn2rEQwK0+Ztu7eaUWoSibH3fo
+50DEtKRYrnlq8Op4imF2Fqi5zPy+r1AeozgBM6h/CRiM+wlrQ4MrquGo+V3TWyy5SnRofHkeYQ5W
+kei7UchvSyu3wZXA0c0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZ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QTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..7f63d26
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+xvRQFXCxNtO+fjUsAIAQh0E0Scb7pVe0an2m45Oq3o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>EJrsAvipdH+Ak+SMmzq8OH0jLfmfZYipo0yaybNTJ20=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SD90a2XIbYbEs5LrNSTb7Hlvc4UKHcSX4soKC/aDP/LBS/5rKvZwTkIPQywntMbD5XyZy0+bXnz5
+qNcKt/2knUTjLmLXCEpfmRUJu08rvN02H96rtXTSOlKRqHuq+RnxIQSgdAt5RWASGp/ipsCn+x0G
+t5yBshowyyZ5xBxE4Ro=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGl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GAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..99583e7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig034.signpublicapipublicmsgread" package="wrt6sig034" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..f5982fd
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..b2c315a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>pDk07nTD+MeNlMBMmJAHQ4vnhb7C6ZCqdREEzWzxsMo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>+xvRQFXCxNtO+fjUsAIAQh0E0Scb7pVe0an2m45Oq3o=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>EJrsAvipdH+Ak+SMmzq8OH0jLfmfZYipo0yaybNTJ20=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FclLITSgiLfwhnWtj04B1V30OvIpP5vruiVzBVxny5B8/sdWhDxy4617SVuAAg1F1lTSHegCmdNW
+xTO2BdShdan5pfX9f/UBigElVTmj0fQQ/e1a+FcvVk54onuGg3mTH4U2Qc5D3vGo05jiaHcS+Jtv
+zMFo44cUo9WTHBt5qmU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowg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DQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..0913c28
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AJpkthw+5C7BwMsSk9+Ce6PriKZ5Xr1eClPi5nGbgSw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbC6eqxr2MjCinEcRmZHvRp19JYiFY/xY2oNL0pf/bc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QN1ONIMiPiuqTC9p1Ccbnvtkx2XjWgPn1BIl3p0D4l2NG5zdEf5IntI8s4uFTvnE8M38Y8PUKT7e
+FCK4T39B6FNE2zizhvVe91sSUBBqmJsjExWGZmJxTx/wrVjGqb3rJsxJCJyHfJJ9IjkAMtg8KV3U
+HXwd/FQGqLagELth/Fk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3N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0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..6eef95d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig035.signpublicapipublicmsgwrite" package="wrt6sig035" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..eaf3444
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..b20ae90
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rEbmcgNRv5tO0GnjRqxc4lPcq224dUrlO0bmYO1MR0c=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AJpkthw+5C7BwMsSk9+Ce6PriKZ5Xr1eClPi5nGbgSw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbC6eqxr2MjCinEcRmZHvRp19JYiFY/xY2oNL0pf/bc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+qZZ/6tislp24S1DxznnMiHSgEKBYVixgWnbOdz4dTv5Iyc4n75csWTpo5X4iqCfVGgsUdisJOTVa
+/ku+pmB3HBmzk5jsj4e2EylZBS+6DUJF24ypaT1DtwA/2Mrpd/KXf5fgQlsXYpL4hK2Keh9c1OxL
+rwgKnlO9UQmGoYS5AfA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMD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GVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..0152908
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D0B+4YpsTn+p3LjO5JNyDsHJe7a45A+wPwKrQ0ZOeCk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WeIclIPnIp+pq4XdxwYdYwlsRWk6hO3puKxUeCmarOQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+n3/FTvt6Fk+Tk3bZjT3lvssGAfR6Ed+iWa/axN9ZyjVJe5dVMmx6C8cV30BGcHND0Eg1U3x60Vn/
+ZmFJf6X5AtFt+r8rQQ7aEjKbAK99T7PyHNHvnE95CxKUGrTbJ+uqYxLcW7H3hiHQgoAs3y8DE9qz
+m5U5X98YdPnuG7t9so8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQL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0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml
new file mode 100755 (executable)
index 0000000..c8b2493
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfcadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig036.signpublicapipublicnfcadmin" package="wrt6sig036" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfcadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html
new file mode 100755 (executable)
index 0000000..62d7dce
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfcadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var gNfcAdapter;
+ var onPowerOn = function(){ // Called when NFC adapter is powered on
+   try {
+     console.log("Power on succeed");
+     // Implement NFC communication routines ...
+     gNfcAdapter.setPowered(
+         false, // Disable NFC adapter
+         function () {console.log("Power off succeed"); }, // Handle success
+         function () {console.log("Power off failed"); }); // Handle failure
+   } catch (err) {
+     console.log(err.name + ": " + err.message);
+   }
+ };
+ try {
+   gNfcAdapter = tizen.nfc.getDefaultAdapter();
+   if (!gNfcAdapter.powered) {
+     //nfc.admin privilege check
+      try{
+     gNfcAdapter.setPowered(
+         true, // Enable NFC adapter
+         onPowerOn,                                     // Handle succes
+         function () {console.log("Power on failed")}); // Handle failure
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   } else {
+     onPowerOn();
+   }
+ } catch (err) {
+   console.log(err.name + ": " + err.message);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..ac26c0c
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oYzsORZ461cyb0RgXQTA1/qdzPCLvB+9TqEb7qLfXas=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>D0B+4YpsTn+p3LjO5JNyDsHJe7a45A+wPwKrQ0ZOeCk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WeIclIPnIp+pq4XdxwYdYwlsRWk6hO3puKxUeCmarOQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y1fnEfhGGNDM0w3XwfCQ6HFAV5iAFS2AP4JyYRd65ckw2bvT6fCmI0yyRm2zTzMo5P4RU7itfpm3
+HtR6ZZ+Fms2iLfOENOoS7eq+zw3PFPizqp1mmsY0fHEDy156TyJFaMH7jM8K4hcS+e1lo/QAUJ39
+zKZvj0FoDk2PqgQuGA4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhki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MSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml
new file mode 100755 (executable)
index 0000000..b426a82
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cV3ceOmxqE01uudnpmVOwSlphHie2iYtKIVSpZGtzUw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NMJoYsY8GDljMPUc/hSQmx3iPg/ZbXeQ0yr4RqlklAs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+HHIp4VTpEV4dNNQxkcTRN/czrzKeoKXbnefwnNWiUaTMduAp+FRL1Xtk9RwkC0mQ15tU0xl+6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451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml
new file mode 100755 (executable)
index 0000000..f48fdf9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfccommon" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig037.signpublicapipublicnfccommon" package="wrt6sig037" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfccommon</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.common"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html
new file mode 100755 (executable)
index 0000000..e2209c6
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfccommon</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // nfc.common privilege check
+ var adapter = tizen.nfc.getDefaultAdapter() ;
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml
new file mode 100755 (executable)
index 0000000..012c56a
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ajlDrbQ6NNeplCpsJ4KF3SskriD/HL0cn5vLa0XwU8o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cV3ceOmxqE01uudnpmVOwSlphHie2iYtKIVSpZGtzUw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NMJoYsY8GDljMPUc/hSQmx3iPg/ZbXeQ0yr4RqlklAs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Un0k/kzlCC8RzqzARRZ+AlKu6SNmbkMP8+mUWAjR70EmDWoSVxA16PVAdMFMRkykSA9mnep9C/2o
+Ph+Vpuw5+KClgPnMXMB0TGPOgv/hrSQsoiQXnZ2amRrnJKaHHRf6Jpvb71i9Mq4QLZ8WxNaxnt9T
+T4/aE/Z8cMDI4Chj8EI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl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CS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml
new file mode 100755 (executable)
index 0000000..2d62e9b
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WGPMNtE9/tvkJ9PjSYtMtI9P4ya4235zcLTqy+bDF5M=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qfv0/4wupEXxpJr7JKoF6d2RI9AVk9sqYVLF2x8d/AQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Wz1duc4z13KL12Jv6eY78Vy/6CvgAkQ8NpEYq8tHLZbuOjyQPwuFbYebR+ltftpP4h9yjZKVZLbt
+W1B1j3liDq81ae9SF98pX9VwtURwJfU8iI8piXE0tRWMMq027VPJmNg1ruklE5gWsLW4pmQ/CyMK
+ehikEooZc43SZllqV10=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSI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AwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml
new file mode 100755 (executable)
index 0000000..d99f170
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfcp2p" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig038.signpublicapipublicnfcp2p" package="wrt6sig038" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfcp2p</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.p2p"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html
new file mode 100755 (executable)
index 0000000..5e6cbbe
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfcp2p</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.nfc.getDefaultAdapter();
+
+ // Receives NFCPeer
+ var onSuccessCB = {onattach : function(nfcPeer) {
+     console.log("NFC Target is detected");
+     nfcPeer.setReceiveNDEFListener(
+         function(message){
+            console.log("Receive message");
+         });
+   }, ondetach : function() {
+     console.log("NFC Target is detached");
+   }};
+//nfc.p2p privilege check
+    try{
+        adapter.setPeerListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml
new file mode 100755 (executable)
index 0000000..822c91c
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QakauQFLwCCWonnZDC/1h/z40qa2DdCoaIot5mwvsdk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WGPMNtE9/tvkJ9PjSYtMtI9P4ya4235zcLTqy+bDF5M=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qfv0/4wupEXxpJr7JKoF6d2RI9AVk9sqYVLF2x8d/AQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+MXLSUTpmVinplcnbzvrB4p2ZHQVfG2u9i4BnRIITXtZTFexxSN4xHkF5kb5v8vah1+uD0a3FWTOh
+lijX7jc6c/FN7zGocuikwqGJplDIh/xjw/A2LqmP3dMvkBPl0+IrJqbdHJv1uixmP/WVhApXjMRQ
+rk+fwdzetkOP8a1PLPQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpY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xMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml
new file mode 100755 (executable)
index 0000000..0edc753
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OIH/tOb6jhdlMetB81f0glah1tfLm0EwnD4ZBcJFvM8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m9ALRZNqFJNhehsGAVCIYZLlDCzii01lUw96/K9Xgyc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OWPGP4yvzh7XGOyOlp+SoTSAy9oma69HjSMAIPREoP6bX51P+1mH/mxgW1R2NJwZarjfhRmNSLc/
+KBiJKhXo6vdV4RaCwx3PBQt/Wq/BI+Gd04IsznI9+RIBjAKTbCsEHapcyL7yFycw8kjyKaayAtJg
+dajlGGozdzrxavtzABU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gA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nMgUm9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml
new file mode 100755 (executable)
index 0000000..ff3e04f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_nfctag" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig039.signpublicapipublicnfctag" package="wrt6sig039" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_nfctag</name>
+    <tizen:privilege name="http://tizen.org/privilege/nfc.tag"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html
new file mode 100755 (executable)
index 0000000..9dc6768
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_nfctag</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var adapter = tizen.nfc.getDefaultAdapter();
+    var onSuccessCB = {onattach : function(nfcTag) {
+     console.log("NFC Tag's type is " + nfcTag.type);
+   }, ondetach : function() {
+     console.log("NFC Tag is detached");
+   }};
+    //nfc.tag privilege check
+    try{
+        adapter.setTagListener(onSuccessCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml
new file mode 100755 (executable)
index 0000000..4ea52fc
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>XVGx2muwTWT2mH1EVExtgKRKUViw3CV7x0aXZvx0Ml8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OIH/tOb6jhdlMetB81f0glah1tfLm0EwnD4ZBcJFvM8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m9ALRZNqFJNhehsGAVCIYZLlDCzii01lUw96/K9Xgyc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ITo+SmXej+icbDkL2fzGmGQhtIKGmiXbUvNQ1xVZu9Fd/vyzukMOZskjUUGiwVnKw6Iqf2OvailH
+hD+RRmVUa3wKHqFKFsITimYXTuQ4rK25Oi35soWs32/3fuo054K7z+A2UifHwS6uzn2yMzIb96MO
+ja/M6x/PztKutVtjcME=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+a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uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..54c13d3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o0psCeYbwygqvvmNjBg6xBQ7PbhwDbwyBMo2NGmxng4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MrdY5elB/QDavMNYXshozb5gxwIF9EbuBVllzxTFzhc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+SvcZOQm2OKd38xgaGGqSSmnK4YL2fgvFVP9hcjnip1doOLypKErPpvDr34x89YeEFVvKPFayC/21
+el8L4eEtNR2SUHLxsGcyWwzir0SEPXRzbVBJEyMsX1FGYQK/gZBXANHd30MIUQsl7EXC0oEhWoIO
+FUhxh2Yk/MA8rz9KdYc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz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DBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..0a9b3e9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig040.signpublicapipublicnotification" package="wrt6sig040" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..2bab89f
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..5746b9f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VAwhAR8TOya5ooAhp7oX52sTdjgXGG7FYpEGb+ihFz0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o0psCeYbwygqvvmNjBg6xBQ7PbhwDbwyBMo2NGmxng4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MrdY5elB/QDavMNYXshozb5gxwIF9EbuBVllzxTFzhc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZFOikM8BZ+wYXXJy0QCr4IVoy4P353UFlYJ5OoqQJ2qhUjnKks9vMEh33FuGPS2mIqJCEOVYFQXC
+cse7aUQFXjw1zUgY/suk5ZsYuCScbDnyDiwf7LYcHrb2wvghggyoCOHl1JjC4z8zY4j+PrgiICUC
+9k5cxAZt13w8uJ+/B7Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIF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gQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..e7b0d8f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>L+L3+/SYLarLkwFxnGXM1UeP/tPBDiGJRwh+jTNr8Vw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yLX72Zx6N+B1zXCRKikl1DnTTdi245TE2UtgD2oTYrk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+BshwjfmpFWV23BZMZinz/Ns5D5GPMSCwM5CWr4mQp/hnV4boSReP2LsJWUho9O1e8TGXPaG7MHem
+geohSAuq5QFCdKEWfFzU8oY7VecdPaS/gkCvAfD3tHW8S/XTeJ31hzTT/4BDfNJ1jvpobmpm1Fyv
+jPtGgEmxhkbY50w+blA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BA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Cz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..5e3b2fa
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig041.signpublicapipublicpkginfo" package="wrt6sig041" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..d63619a
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..f2a6e3f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CAiC+MarAHJ8Ixl1W9efZ/MSyn4cm5FgnZ49tTqVWFo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>L+L3+/SYLarLkwFxnGXM1UeP/tPBDiGJRwh+jTNr8Vw=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yLX72Zx6N+B1zXCRKikl1DnTTdi245TE2UtgD2oTYrk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Z3sEMbpl8OZzpHsDtrBzU7WlwUKq3VPRE7la85taHiFmSsLdEBiS57bdV0xCjLEi8pFiYnSBLb6s
+dm3rtLL0ZfX1bkSDJbmKrrNrduydUQSNvSU/7en34AL83xRWy0LYHC6xCkvNhFX+VK0vK59CWvYs
+SkVADABh81j/kmvQCbY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBA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JIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..5952238
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ja6bSXRuWiXQZ9pXPrcLMs4ipPSRi+XYgtl+JuzyKC0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>93LED7pfC0ymZBnHRVeE3G/cE+5xE2iwXo9AzuU20GU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Wt0/698jI0zU+CQluu3u8FnZ5bouf13UQcv4IC0B4HpJLgqjJ67GXcsu9Ev9/3xQMR/yiJ4Hz4Df
+0EXrMIA6sUbKz7WDPVe8D5gYv6guOAZbO6N/Sbg8N2zrKb9mQ2gQsSZQC6026J05DQsX8MH6W9Y5
+oVc7NzwXqOICwGNuYoI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwno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zRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..7ab9a74
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig042.signpublicapipublicpower" package="wrt6sig042" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..ecaa340
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..d05576f
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z+cYZuewGJz+F5MbDS13rlvJDlCX3TAx128Ge1LsclY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ja6bSXRuWiXQZ9pXPrcLMs4ipPSRi+XYgtl+JuzyKC0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>93LED7pfC0ymZBnHRVeE3G/cE+5xE2iwXo9AzuU20GU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+D0reGgOm8T5EpNQBsqHI1C47SN1hs0LN5hMJv7KW23ano8Kgwclcy0aqrHxJTEJJklrN32nvNrUT
+LXrOeDT5+iMChnM+DayE0nCwaUZrt702oCWNUKsfiHWxCzWUT6u+n3fhTRG/82WbQkAoNH7r36EB
+hZLqzlN8PFSsB5Co2qg=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTS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qGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..48428cc
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B6CiMQOG53Pdx6HBgcbFqHi9Tbzae82zAX4WDy9uMW0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AfhqBYUiSpyRi/5UCMWw5ruD4I82aaF12jfjY3cTY8s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nA/Q2VUGWmmH+7T+4idVfCW+Bd6+PVe3B94usSKWPqGv9yg4Sbkz0J41Q5m8HNvpm5Q7GlLfirRo
+hb2m68BUm9qPMLU32GDoHA4UtgbiPgY8kEgiJBBN6VHFXqgIv4EvA/XIa6hbRfSMYOhZi7Bvlg8S
+IfZP0XrYPuNdf3a2S2Y=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/B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jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..f99c4f6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig043.signpublicapipublicpush" package="wrt6sig043" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..cad177b
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..0b4cca5
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gj2EVoBp6WyuHQIpLIvIcocWcuA8HKNon6ilQETBD9I=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>B6CiMQOG53Pdx6HBgcbFqHi9Tbzae82zAX4WDy9uMW0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AfhqBYUiSpyRi/5UCMWw5ruD4I82aaF12jfjY3cTY8s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlG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w8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml
new file mode 100755 (executable)
index 0000000..6eeceb8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xg8EgX0Hqa9v8EYqcNrI7Yd1xqNncO+xrgBugDZ1cGk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VcfPh58NxHfXoa3M0XVWpOH6BNXyml1CIc+ygt9QxV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+XcC9Efyl85P2OjFY2slqke1G8i++tCzE1f++wSWM3TpWWXeD3jIku1/TRu17wpHs9WEcHTM/5FFf
+bU5liBzHHkXN72dStWpfQpBr4Klz51HSjnxGoN6fQ8EPRMhmVzjFebmBVVwTMgjxSXlYWKtsF+e5
+Hz1ynwlawioD5eDwsfc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ip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hkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml
new file mode 100755 (executable)
index 0000000..ba6baf2
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_secele" version="2.3.0" viewmodes="maximized">\r
+    <tizen:application id="wrt6sig046.signpublicapipublicsecele" package="wrt6sig046" required_version="2.3.1"/>\r
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>\r
+    <feature name="http://tizen.org/feature/screen.size.all"/>\r
+    <icon src="icon.png" height="117" width="117"/>\r
+    <name>signpublic_apipublic_secele</name>\r
+    <tizen:privilege name="http://tizen.org/privilege/secureelement"/>\r
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html
new file mode 100755 (executable)
index 0000000..429b65a
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2015 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+       Ran Wang <ran22.wang@samsung.com>\r
+-->\r
+\r
+<html>\r
+  <head>\r
+    <title>signpublic_apipublic_secele</title>\r
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>\r
+    <link rel="help" href=""/>\r
+    <meta name="flags" content=""/>\r
+    <meta name="assert" content="."/>\r
+    <meta charset="utf-8">\r
+  </head>\r
+  <body>\r
+ <script>\r
+\r
+    try{\r
+       var seListener;\r
+       //secure element privilege check \r
+       tizen.seService.unregisterSEListener(seListener);\r
+       document.write("Pass");\r
+    } catch(e) {\r
+       document.write("Failed<br>" + e.message);\r
+    }\r
+    </script>\r
+  </body>\r
+</html>\r
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml
new file mode 100755 (executable)
index 0000000..6b26ea0
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5b86+w8Hxtmcr2SrBqtk12zX6dUa523y8RtkclVTW94=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Xg8EgX0Hqa9v8EYqcNrI7Yd1xqNncO+xrgBugDZ1cGk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VcfPh58NxHfXoa3M0XVWpOH6BNXyml1CIc+ygt9QxV8=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W8Cr2KFZyssEMGvyPeBrdJ3GKOCE2g5Cjg/c279KxmMghqtDtZ31ajmtvM4MKSePmXYmd3Z7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xKLCJc=
+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..91ddcd0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lKLJCd8/+gmhvcrw6sAFxdzc7I+FFTAiFOuD43xB618=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cXDp1C/ULP5Bw/LNNfA0yo7t+QGxFvxw1bejLf0znq4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+B6ESe+WmfUFwNH1YPrZhmywU9gmr7ITRJV9W/2jkiid73nQ8T9x0oC82p8kH7tdDRYQx48ryT6gT
+IKUW+VrmF1rU2OQtZygwTli4rG1JF/81lr8IA/p1VG5+3bo9DW/NBEa3yAWiltPExlFvyZibkPFR
+JrPj4xcztiBQcXr3N8I=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxpg2AX2VtaW/DRShpNsr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VW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..395d18f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig044.signpublicapipublicsetting" package="wrt6sig044" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..c492a98
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..43a9d66
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KBKK3InGVqv5DrBcv8e3Nf/tQzBAwgQkRwttOkjwAgM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lKLJCd8/+gmhvcrw6sAFxdzc7I+FFTAiFOuD43xB618=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cXDp1C/ULP5Bw/LNNfA0yo7t+QGxFvxw1bejLf0znq4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+t5tuvLE8+V4Ijrt/UZmH7dcO62m+JQyxUh7cwi5ieWhKh/i/7juOJqaUW3NO6EcwGbqYBkF85FCy
+0oVUZH3R7e4YNi+7wzVP6sTQHJFSpQd07Je7gYqX41DgMPNewNBCQUt4CqbYWQiRvpF5VPis+o6/
+Ogn4AwXJS0kLHX7HNzM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOX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wNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..d36a0cb
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bhxurcspeolaafPmFageRq6td8IxdG0W0ASzOqqJdns=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WVclKdjhduq8t4FitHB6a93VjHnCvvsGbM0mExAIOY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WjlwiKNvYjsBWi3io4lFa0pkCOVrPBIvPq5JbX8uIgwWL2kx+cJ71Cog62DQJM/Si4zUkfmHCYmX
+2L2xpsJc0wM5cqGzKArGUoHcUNE5/FxXiZ0QLjDIT2Ryy63d95/RCQmz0rCP9X8O7CY6LklbHkdE
+2nzVBCUNbKLuZeMuzWw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuM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fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..c0e3992
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig045.signpublicapipublicsystem" package="wrt6sig045" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..d30bb81
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..af224e2
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IVs88aAjHNOEZq2YTBkdiZJPHZ4Vygcsvim5BbIocAI=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bhxurcspeolaafPmFageRq6td8IxdG0W0ASzOqqJdns=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2WVclKdjhduq8t4FitHB6a93VjHnCvvsGbM0mExAIOY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+geHAq7lKL3K4sYQjtzUsDZTlWWUueEfMRTN+a/rvOajHJqCnzRGo9YC8kULKjxiNeII7OxNbuCGX
+7U5awJdsucqBfivHOPDH+y1Q2nbjg5A4LbDMt50KrFqxTKRjBOE5rSEEfNzSwtGmNwYfC6Zt3pcK
+KOip99k9KY6X3rNsx1E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIw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2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..ff939d7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>obNYf1PGmMb1W9YKNKvJO+4AtS8soFM+JXRmr7R8UOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2P5mbX8NekT7dZtKBFRN7+KZ5KzMHk1eQdfLTo62fEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+khSHNHOeG9uLEMo6byTHkCC7FuMsMBCC7w4Z3a9uX6IYEn4pYC8okdkmDSH8Fvk/Ix3stLKCWhh0
+g+tVCe/90ak+zS9qPvCm9d9w2t1ZoKkiz5ZpKITnTD3BAfXvdW2TxeADvIu0EVLkAckUYcq77KsZ
+at6+tJd51TQ/8tU/k4Q=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRH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1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..11e5113
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig056.signpublicapipublictelephony" package="wrt6sig056" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..1e91d2a
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..ff0282b
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ihCJPLOiD4P8qg+BuDBO/xxbX4JlGTOqi2DAB16mBKk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>obNYf1PGmMb1W9YKNKvJO+4AtS8soFM+JXRmr7R8UOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2P5mbX8NekT7dZtKBFRN7+KZ5KzMHk1eQdfLTo62fEY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gCfdxb+UiQ592D1hZVcOntYXcKtJUNrnB6plkWgpgou9cB9N4HrL6PlIwi7z9iItOOwB4SJCjFkm
+SUG+T+8sGPtguml2TfNXbifBFEhGBxGSz1qEVrSp3RIy0huLSXyJ5bhvbsD81hUOv7hVAW3K3Nm/
+x4MiQkzxv5ZUUcecfRc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3Q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WJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..9ec655f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T7OcSEfduLKuV0baRWu9Ua/KCPJdGN5MHglPNbw4tTM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cGhTSRgrPd+NZjg6F4nD+eS2zcODQmFgAeVFvLD6Ddw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+OdirC4POLBueiCTkPBVjNR4WEiX3BGkQDtkClXfsb4KX9CMGseCYMuIV4GSq4A3x4tH79vcjeg17
+UfVHO0efCJhBtybwaq+w3o0gbxD95ZffK2zitDrfbCqo+l6vVZ/oyMgHG2aq28LZeXpXhs6tUpBS
+odJxGMdL7xHYHMC9loo=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwM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QTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..71f70f9
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig175.signpublicapipublictelephonyapiplatformpkgmgrinstall" package="wrt6sig175" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..199cfc5
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ setup({timeout: 90000});
+//package manager privilege check
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..7205122
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8SjVcjzlw9hTGXWAziG3YyUpN7c/8VON2ggsaxAJ0KM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T7OcSEfduLKuV0baRWu9Ua/KCPJdGN5MHglPNbw4tTM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cGhTSRgrPd+NZjg6F4nD+eS2zcODQmFgAeVFvLD6Ddw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/j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kekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..c3b23b4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sZagqqPrSBswcvk6MjcSxO0QoCtuzEGit33xJ6GrTfc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l4RgmHYb3xWcgFXCeWMgQXn5rshoKc+3kDY0WC8EIJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+jzxQXSVpd3gYjDmh8NRI9PGnLxPYbpf2H5kfDChzhrBWi99CbIPPft/Y7siQl7UvqjWX7Qk3TfYQ
+FiiT3UHCziOva03py+d0iNwxV+LpwOPxFRz8bTjiYXchNL2UL3osR+FGF/cSxGD/W3LcctuGSIbQ
+Ab5MtVXjWniWmtec9i0=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
+ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
+ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7w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AwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..a1a7821
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_telephony_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig171.signpublicapipublictelephonyapipublicalarm" package="wrt6sig171" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_telephony_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..0c94dc3
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_telephony_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+  // Triggers an alarm on a given date/time
+    var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+    var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+    try{
+    tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log("Alarm added with id: " + alarm.id);
+     </script>
+  </body>
+</html>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..0deebfe
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7GbqYVIVO41rtGnyAwuCd3aloP8Ysl2VSF7v0M+TAPg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sZagqqPrSBswcvk6MjcSxO0QoCtuzEGit33xJ6GrTfc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l4RgmHYb3xWcgFXCeWMgQXn5rshoKc+3kDY0WC8EIJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+jH3ZHwhzT1LLFLlk8glN2pbhAhxLgdsWOULBMh29X4ypvVd1RvzAk4tmjiYRCVmpj8kmdwcByWNL
+rOHQ8hSyYa5RwCCu8Qv3PwaWVk1z3Ngv1jC6xZHmRY3CYNWewGq5kP3jCDUrIct1O3fIbELyQry6
+XPnnYsDNxLqhfsGk3OM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+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29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..651336f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xVkKYZuayZhP1IAbTLEP4eUFAG24Pw12cWl+MG9WY/g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HXbVi+c97CfeWKNrQJL6J+xruVF0iUOkYEIuaRRwtmg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aZ3TIpqTgm4yaQ2KV69MZWUNAYp0h0kK6Q676K1HSImYNOBt9PwbeBfVZjip4IBaad6nhjsKlhj2
+zD1bxT8bg0gD2m4+KTFn5ueTnloIfT5J8dEZ4ww+ODld9qpyTjZmaH7f4Z/JUqjf76Sz4TfiZxYv
+Z3ntKJWhboRUCNW75Ks=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBA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NzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..6fea76f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signpublic_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig049.signpublicapipublicwebsetting" package="wrt6sig049" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signpublic_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..5fe83e9
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signpublic_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..1c607da
--- /dev/null
@@ -0,0 +1,68 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SFTMrwpPi/03z5zBqNbKx4Zia7oMee6nU20zv0zpL5g=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xVkKYZuayZhP1IAbTLEP4eUFAG24Pw12cWl+MG9WY/g=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HXbVi+c97CfeWKNrQJL6J+xruVF0iUOkYEIuaRRwtmg=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ofu/5XYkOdhpwGNcsx6iIBv3oQrS7psnI2KxSfH6/nhTBbehcJTVLRS7ZPXZQURUDpojpdS4MhP/
+2np0FhD3E7KWUjUO7oxCRHXKFPNKT0Sjk7MHYU2Hy5mswg8SRABenan7gcCvV1QERl9Ww5RzSjt4
+g4GRaDp8GUJFiH2vUds=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAU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Gl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml
new file mode 100755 (executable)
index 0000000..9675a4d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>H72Nt1Quq6+Fn51Amj8PerApCBnAnyljSPasRhvcDWk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eZmiQBhFMhSUXtFMGnSuVIlNxLckDB2lJ6KnNHLwkZM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+RvXPCj+/FDvTsDB7gXeqP/X/DBm12sZe76Gm83+2/C7IMfaXVdgk66gizjEGTPC8EEh766/O7iOf
+rW3eFdohz6TF7xqs7U7TTtH/Vy+KNVNjDTDI2HGmAq0ToSYVEucQROZe3uhvC6ORit39aDWvMa7b
+3+uhMtT5QlQo9J9lr/s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwM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V2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml
new file mode 100755 (executable)
index 0000000..cde633c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_appmgrcert" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig068.signuntrustedapipartnerappmgrcert" package="wrt6sig068" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_appmgrcert</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.certificate"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html
new file mode 100755 (executable)
index 0000000..aa1e45d
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_appmgrcert</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //application manager certificate privilege check
+     try{
+     var appCerts = tizen.application.getAppCerts(null);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ for (var i = 0; i < appCerts.length; i++) {
+    console.log("#" + i + " type:" + appCerts[i].type);
+    console.log("#" + i + " value:" + appCerts[i].value);
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml
new file mode 100755 (executable)
index 0000000..e638c43
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NQXGPoPYmXAdceKMmDf+v14rDhKKY2gHsN1Z0QDyrMc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>H72Nt1Quq6+Fn51Amj8PerApCBnAnyljSPasRhvcDWk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eZmiQBhFMhSUXtFMGnSuVIlNxLckDB2lJ6KnNHLwkZM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Z0/ZulHA8Upm4Eg8k5GmVMkRLkBPa+9fIm5azesBja9uNV58kkV+UO3Ck+G+thK/0Txrg9HQ1TZX
+f/OQy5ReiDp0B+0hvuRpLlMRYgN2l2BdR1E6BK8N8zi3q6jyc1RWcDbEqTOgfX3NW7yYVaobocvE
+Fc793P02pKdbjj04FmY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjA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VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml
new file mode 100755 (executable)
index 0000000..4ad7331
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IGN6PtkmZtIYbM7ChatBCo1oytDoWILziTKiFLRjIUs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i5qcK+/FHivMhZTzwQeR7Eq7c4PPT7rTO3bx955cYKc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+fvsbFnEtGeOgXmA6+t+XL2ujfDpcV58qHFQcL25DYubmgBF5Ml9MGtuH8rxBbzs7IK1SV7wQDxrT
+Xi1Oa/JwCsrW/NbCGbY0EG1lZDc1y1tbCU/TaTTQsnU6faz3ADdjR79XM+A9KpKxlnQFrFIAmeOf
+2NcSN7GDjqVKR6Pnz8A=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqh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yBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml
new file mode 100755 (executable)
index 0000000..63a3780
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_appmgrkill" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig069.signuntrustedapipartnerappmgrkill" package="wrt6sig069" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_appmgrkill</name>
+    <tizen:privilege name="http://tizen.org/privilege/appmanager.kill"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html
new file mode 100755 (executable)
index 0000000..485c554
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_appmgrkill</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+function onKillSuccess() {
+     console.log("Application terminated successfully");
+ }
+
+ function onRunningAppsContext(contexts) {
+    // let's assume that the application "targetApp0.main" has been installed.
+    var targetId = "targetApp0.main";
+
+    for (var i = 0; i < contexts.length; i++) {
+        if (contexts[i].appId == targetId) {
+    //application kill privilege check
+    try{
+            tizen.application.kill(contexts[i].id, onKillSuccess);
+            document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+        }
+    }
+ }
+
+ tizen.application.getAppsContext(onRunningAppsContext);
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml
new file mode 100755 (executable)
index 0000000..164f719
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GAPATG3ybxIOE4eWxKF1ZXph2sqf+m30P9CsxGBNrpU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IGN6PtkmZtIYbM7ChatBCo1oytDoWILziTKiFLRjIUs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>i5qcK+/FHivMhZTzwQeR7Eq7c4PPT7rTO3bx955cYKc=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+R1TyISofN53tkRlMbFiD74a+BTsQ9Rqhi4DJu4yVB4HHC8mOcV09W5AaRhWY9ozf3r/gcFVDlVGw
+aSwS7PYuYngZP2YnLs0lYOxTDqwJZRaGqmAv5ihZHo3kuD27zW3/zAi90YC+M2MFmyAUT4CVRvDW
+/qnieXNf01f3EVdpMGs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXd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3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml
new file mode 100755 (executable)
index 0000000..7e065cf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OGajYrt1DmfdquBE3lykMIqf/+c33NbByVZHXxI0HzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LbYEr5j7M4asPYnhuOV21i+b+DpAwWBdZK4b6QEcQBo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FYFK5GOf/vdWvsiBsKswBJoSmeW6cJMHdfSkxUg7JVSIyz9+aVnRYVWz9wJ9Ymqq3P+ywMos0aRN
+QIXk/xHlSqSEHkGtjzAUIW/cdt7Wy1RUcRR9Kwsw4YeIrEiGv1F2U690Qd6BZX8eBFbcq7dBYuGr
+lh+qd8fcteqNC7WH5gk=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMM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EPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml
new file mode 100755 (executable)
index 0000000..b72bc46
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipartner_nwbearsel" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig092.signuntrustedapipartnernwbearsel" package="wrt6sig092" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipartner_nwbearsel</name>
+    <tizen:privilege name="http://tizen.org/privilege/networkbearerselection"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html
new file mode 100755 (executable)
index 0000000..9951b30
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipartner_nwbearsel</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var statuscb = {
+   onsuccess: function() { console.log("onsuccess func is called"); },
+   ondisconnected: function() { console.log("ondisconnected func is called"); }
+ };
+ function ecb(e) { console.log("error callback is called : " + e.message + " : " + e.code); }
+ //networkbearerselection privilege check
+     try{
+     tizen.networkbearerselection.requestRouteToHost("CELLULAR", "www.tizen.org", statuscb, ecb);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml
new file mode 100755 (executable)
index 0000000..31e7253
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qmWNXpC9f4SlL+2iWnNTGAf7FU7otUB8nQ1o69Jr+bg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OGajYrt1DmfdquBE3lykMIqf/+c33NbByVZHXxI0HzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LbYEr5j7M4asPYnhuOV21i+b+DpAwWBdZK4b6QEcQBo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IxoRPj/lej5SSFbjqQTmxa5Ti6JUnzboqY+MbkJgUY9SxthIB9nKZd23y7VfKFrvFopPwCMJoIyB
+YNGe0okHlqxq7GZOUXRrztP/9sobnYLsYI8X29p9YWBPFdQtML1uNnMAZkMzZg/gmv5pl9Jp+Jv9
+go4sJDDi7+ZJH7d4gLc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x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yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml
new file mode 100755 (executable)
index 0000000..9e031d3
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>O5qBOhJ/NqLOhjqcxoXMYvlrMYR0W+8i+mailsf0M5Q=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SGleDW9OqxBZ2i41AQn3yxMPzVeTAmbEH3J7CdOTdyU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+EpF5lf4O79m3LIAx5/ZabuYumWGJARHH2Ic6hm6f7DJBFqgm8gfmuj4rGkhfIpLd87k+kswmHDLr
+Cu/M9oYN1tRfyB2KxFmOZ/xomAY/6BPsKgqKVF2I1NlLA0kCVcxaNIYOtTqjCi+4QY+U0SojZJeE
+4a6dv2rUoBMW5FLOC/U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs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MMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml
new file mode 100755 (executable)
index 0000000..ac077fe
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_bkmarkread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig070.signuntrustedapiplatformbkmarkread" package="wrt6sig070" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_bkmarkread</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html
new file mode 100755 (executable)
index 0000000..42cca6b
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_bkmarkread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark read privilege check
+    try{
+    var allBookmarks = tizen.bookmark.get(null, true);
+           document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml
new file mode 100755 (executable)
index 0000000..3ecae7d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SRWqA+JMDYxM1cJOoFBhzIsISelgTSSRrSHeIZLCunY=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>O5qBOhJ/NqLOhjqcxoXMYvlrMYR0W+8i+mailsf0M5Q=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>SGleDW9OqxBZ2i41AQn3yxMPzVeTAmbEH3J7CdOTdyU=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+M3OzyDbH4acSubjAGtqZVokhNvDiIEgTZtE1CL+OFjjm50ax80T31F3VPoVukzSLyjd0msTK1Zpy
+ogo8VHiEfrKGNmaXCFVbg4mbFNVN0UY6KwxL9ZLEwlHqrduDGBCGGZ85wBXzC/YIIAocj/PC2gd8
+wHW0NseJ29zfVNUVAlA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5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I4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..6afd2d6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VTqquP9GVuK4hlhV5G1jRN7E+MFRBuPnOFPQ0fLRwOc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qDS3L2UVuZT4dhLDLq06mlnE1KBrsOOuJir6TyURYJs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ihm96mqOlf8A/jC53ozmeFnZEIcbCQEMh90wd2PAQr0XKIo+vbdlboYoXH/qaVSJN06z01RBONtd
+fBhJ6uouMOFasNtUz4qd194EIiX1GWAy2+AzEdSEHlt+Rx+uIX5NeoCAiGRMnPgADRWtksQ5izXk
+fXoqTD91//taPzhOjQ4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN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7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml
new file mode 100755 (executable)
index 0000000..ab2aca3
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_bkmarkwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig071.signuntrustedapiplatformbkmarkwrite" package="wrt6sig071" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_bkmarkwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/bookmark.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html
new file mode 100755 (executable)
index 0000000..8df480e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_bkmarkwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+//bookmark write privilege check
+    try{
+    tizen.bookmark.add(new tizen.BookmarkItem("tizen", "https://www.tizen.org"));
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..a6eef6e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zQzQ/UEa5nkcQ3L/jvqXqYoE5GVM/EL0KUK0/Q+uDqw=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VTqquP9GVuK4hlhV5G1jRN7E+MFRBuPnOFPQ0fLRwOc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qDS3L2UVuZT4dhLDLq06mlnE1KBrsOOuJir6TyURYJs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
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xKLCJc=
+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml
new file mode 100755 (executable)
index 0000000..bdff505
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fUUpb6YcBSCsyFIIcjCM3An0GcfhZjMkGewFOzjsXsM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hY87i0K+9takQxqx79RmrQg0JQafZgcN5wli/PSlAjE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+GtZczTv8K473LVBbl1cLY5zqpCqPPPiJsagPupiNv0VY6LCN8kVFRYkjeSbrvp+7HGJxMh/jwMEV
+wXpq4jczsFmGtLXAhLEeVagD3jQR0B4nESQ4t6Zrwywx0tm5+d05zk8f///wfPyKFZ58Ivl3NPPC
+NmRG46Al/5IxFQAUx3E=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2Nz0HJoK9uqyda7K0ne3VGSsNJ/Nxpg2AX2VtaW/DR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+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml
new file mode 100755 (executable)
index 0000000..afd5012
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_btmgr" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig090.signuntrustedapiplatformbtmgr" package="wrt6sig090" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_btmgr</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetoothmanager"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html
new file mode 100755 (executable)
index 0000000..fcd6257
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_btmgr</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+var adapter = tizen.bluetooth.getDefaultAdapter();
+
+ function showMe() {
+      if (adapter.visible == false) {
+          //Shows device
+    try{
+          adapter.setVisible(true,
+                             function() { console.log ('Device is visible to other devices for 3 minutes.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+      } else {
+           console.log("Device is already in discoverable mode.");
+      }
+ }
+
+ function hideMe() {
+     if (adapter.visible) {
+          // Hides device
+          adapter.setVisible(false,
+                             function() { console.log('Device is in-visible now.'); },
+                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
+     } else {
+          console.log("Device is already in invisible mode.");
+     }
+ }
+
+ var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+ if (bt_always_on === true) {
+     console.log("Because Bluetooth must be always discoverable from the remote Bluetooth devices, this method does not work. NotSupportedError would be returned through ErrorCallback.");
+ } else {
+     powerOn();
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml
new file mode 100755 (executable)
index 0000000..808c92a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HP261E8kQm6CX1frD8oeuAM4Eu16Bix8pDohsBTUEN8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fUUpb6YcBSCsyFIIcjCM3An0GcfhZjMkGewFOzjsXsM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hY87i0K+9takQxqx79RmrQg0JQafZgcN5wli/PSlAjE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bqhkIJddCOU4W0V2hZuho3CL51lxI/3QqbP63QwfZfN4pmaU16T4HBTYThRquybNo8W4wl2eZHQJ
+ilgbNCd2BcWouErwdcS/5oPl2eGkK6w9sJzudRTWW3lkpNCVMZvtj+MYvsGkz0F9BxYNzDPs6/GN
+ZIzxT58LqZr1HAqnm5s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1g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c3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml
new file mode 100755 (executable)
index 0000000..3f6170f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yH2kzsL0a6mD0X63scSE3r5QidGJ9NrkLhWomlCPoiY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A/aoSSBdLnclGvn5/MZxUYHTxb3njqARaRULz7SrIj0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+TxmHCn6j1SG9l1AMDFwEfMgubFLTez21/O+qYa5C+AJ4ioPvGP2U57zSfOYCK4EZF+SdMOv8BoUu
+3IFV+/Cda+YgvrOio4ScI9Eqq6Vz8ZV/goJzK2Dt6zdmTXoWCvZFonXGNwefeizZRUlv3Lo70ST7
+iOlTzEcf7nvzC/jADgI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJ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BE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml
new file mode 100755 (executable)
index 0000000..bc68387
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apiplatform_pkgmgrinstall" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig081.signuntrustedapiplatformpkgmgrinstall" package="wrt6sig081" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apiplatform_pkgmgrinstall</name>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html
new file mode 100755 (executable)
index 0000000..4e8f936
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apiplatform_pkgmgrinstall</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var onUninstallation = {
+      onprogress: function(packageId, percentage) {
+         console.log("On Uninstallation(" + packageId + ") : progress(" + percentage + ")");
+      },
+      oncomplete: function(packageId) {
+         console.log("Uninstallation(" + packageId + ") Complete");
+      }
+ };
+
+ var onError = function (err) {
+      console.log("Error occurred on installation : " + err.name);
+ };
+
+ // Let's assume that the package ID to uninstall is "testapp001"
+ //package manager install privilege check
+     try{
+     tizen.package.uninstall("testapp001", onUninstallation, onError);
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml
new file mode 100755 (executable)
index 0000000..772ec04
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UKxVCWP4eaKno2exe5XFI/Q1QG6WZJT7gJYpHdqiIA8=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yH2kzsL0a6mD0X63scSE3r5QidGJ9NrkLhWomlCPoiY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>A/aoSSBdLnclGvn5/MZxUYHTxb3njqARaRULz7SrIj0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Q23/5JUtc9UQlg7CUHinkXuX5Uo2Vsbrfq0nNFZixbs0iq20q6BvhtQ7KYXcTd9k3ntOh5I1aZ1B
+s/2SURwHHV76xbESe5N66SIAtwvo9eFbew+Q3bg5txIZeaJHTjGozndShKne5uVKUX4DO4kxTY1+
+2TvnL6ODzbyiBYuJse8=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrN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BQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml
new file mode 100755 (executable)
index 0000000..a022db8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P0d747p9GqgILcE6XEjgN6vYDXfAb/yYKu/Vackweok=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ck9iywlOQpjHuUiJIVsIVmv2IpLq5TIPIjRQvreANpE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+f8V4xIA1+7HkSUVchqyvALHpIgWGqYnCv/6+UcVs47XRqDEzUVIsKdsfjGIFcV99Sub9ZFjwFYAE
+56LkZSr6IhCQAMseMTvvjy1z5s5C9fCLk46pQGCaeHeFahe+YD/vTh7qmOyjZq4PLgv+j5KT+p7V
+KUR8+0O/+Q2e8Jz9/0s=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALB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+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml
new file mode 100755 (executable)
index 0000000..8fd1a68
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_alarm" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig057.signuntrustedapipublicalarm" package="wrt6sig057" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_alarm</name>
+    <tizen:privilege name="http://tizen.org/privilege/alarm"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html
new file mode 100755 (executable)
index 0000000..6207e20
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_alarm</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Triggers an alarm on a given date/time
+     var alarm = new tizen.AlarmAbsolute(new Date(2014, 10, 4, 8, 0));
+     var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
+     //alarm privilege check
+     try{
+     tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id, appControl);
+     console.log("Alarm added with id: " + alarm.id);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml
new file mode 100755 (executable)
index 0000000..73041f4
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RoaaP40yODrawyjqtUlRCrhvnj+NfLX80PnjyrADBtA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P0d747p9GqgILcE6XEjgN6vYDXfAb/yYKu/Vackweok=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Ck9iywlOQpjHuUiJIVsIVmv2IpLq5TIPIjRQvreANpE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Y8aouK/BMEX+VZ8/sKaqI3fwrHAYibxnKjsPd8WxWrQE1h0fCbc+e3luqKvSH0JQJqzJ1EukWqac
+pwj2cYFc2afb9vhYa3je6pAdm25Dh23zo0OOlH5Kgmk9mjarZr2/DeDZnJPM3g9qb6YxPx4pnEjv
+6S9khncLGR8JVW7JbZM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFB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1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..2efab0d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AiVLpxQppFSS2UVypls9aPjguzuyzN61hKIhcCzMoOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7UrwCUNVyUw9Ib2/Xq7DVC4tCaDCqHRNigB/gu4ncO0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+UdxZDDAp1v+N0C6jcidVLJ7X+MQ94SCXgdTyE9CKbyqbUo0opVE/xhqzDKvl8BPFbnsKj/JSs2IF
+Xh1D0aQcanACwBlZlDQqs0UFQJxsjwkD29hBcqAQrb7h1uCMOpcwP41o2XN9U1Kgyshl11urcpZz
+FwrkNQhdnFYsmS2IYTE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBA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wBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml
new file mode 100755 (executable)
index 0000000..86fc12e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_appinfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig087.signuntrustedapipublicappinfo" package="wrt6sig087" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_appinfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html
new file mode 100755 (executable)
index 0000000..6591f23
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_appinfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+ //application info privilege check
+       var metaDataArray = tizen.application.getAppMetaData(null);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml
new file mode 100755 (executable)
index 0000000..92b57bc
--- /dev/null
@@ -0,0 +1,67 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o1C62nN/77yzu1lAD1X1Msz9zyqhMfHF6Wdkkih2wTA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AiVLpxQppFSS2UVypls9aPjguzuyzN61hKIhcCzMoOI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7UrwCUNVyUw9Ib2/Xq7DVC4tCaDCqHRNigB/gu4ncO0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+rc3Wc6OnmR13jx3FbT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certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml
new file mode 100755 (executable)
index 0000000..8e58686
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fku2lVYxRyRf5K7FyLSJZ8d+8ksxcFkVFTtkBi5C3T0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HWRnc1ZV82qtwGT7fDuMenXRpvom8XJvTeSGUF37CYA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMeth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/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml
new file mode 100755 (executable)
index 0000000..9075885
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btadmin" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig058.signuntrustedapipublicbtadmin" package="wrt6sig058" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btadmin</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html
new file mode 100755 (executable)
index 0000000..fd1d752
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btadmin</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth admin
+    var adapter = tizen.bluetooth.getDefaultAdapter();
+
+    var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
+
+    function changeName(newName) {
+     if (adapter.name != newName) {
+         // initiate change name
+    try{
+         adapter.setName(newName, function() {
+             console.log("Adapter name changed to " + adapter.name);
+         },
+         function(e) {
+             console.log("Failed to change name: " + e.message);
+         });
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml
new file mode 100755 (executable)
index 0000000..8a56999
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2Ik96RXbJTRdZ0nLBeLLmnrIfxIXp/PAs6am01zOq2A=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fku2lVYxRyRf5K7FyLSJZ8d+8ksxcFkVFTtkBi5C3T0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>HWRnc1ZV82qtwGT7fDuMenXRpvom8XJvTeSGUF37CYA=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+PT7pg0S+sEoRhH9h6Po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1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml
new file mode 100755 (executable)
index 0000000..85ba067
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RtQIAem0gKVaE0Ec17dHHfPOiS6YHN4whdNYT6ha6T8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dGnus5rL5KgER2TfRvONPxIrUS2ceVlL4hiVVsDRyJ4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+AsRqWKZZz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8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml
new file mode 100755 (executable)
index 0000000..455d66c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btgap" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig059.signuntrustedapipublicbtgap" package="wrt6sig059" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btgap</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html
new file mode 100755 (executable)
index 0000000..8bfc507
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btgap</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //bluetooth gap privilege check
+    try{
+       var adapter = tizen.bluetooth.getDefaultAdapter() ;
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml
new file mode 100755 (executable)
index 0000000..c4830a8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>X8sTfRV+a7BGKex2qAzGv+K7MUHawSCylY+WdiXHrb4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RtQIAem0gKVaE0Ec17dHHfPOiS6YHN4whdNYT6ha6T8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dGnus5rL5KgER2TfRvONPxIrUS2ceVlL4hiVVsDRyJ4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+srsFMpF1JiO/7uQ90uh/uscLlCuoWjmU/t/LESha7mJpjboT4/3g3Pa/tcYM5FajbCu6i1i4lIZS
+kklvJ1Z5EmXtf5GtntlEeLVrZgululoRCVvNi177oouh/9RDcIm9/aCxjGCR+p4nu6adi9JbCaSY
+q9CDE8wiTqqneiFHjNc=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXd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WMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml
new file mode 100755 (executable)
index 0000000..22d3637
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Hio1Ddrzigcxf0+hP70j9DcSWYQz9VOCBUtWEWxbK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbQEnk/uDciKuZLx0S1+yevfeqjZ20Uzjt/R5DVoq/s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+a6PdKZH7EC6EObvHhT0R46mz45r7PeqgyMkRsjI15HoRrjuT+I2sswZW13F3OTR72I7GOD+ke9HC
+QlJjMvViqzKDHD+BMEkho/TY8xE2kSKJhHCIohG7DgSMM0+Hv3wR8U5Q/M1a9jch6y+uZTx+qX6A
+i9lv24vDmV+c/pOaLWA=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW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BgNVBAoMEVRpemVu
+IEFzc29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml
new file mode 100755 (executable)
index 0000000..e15149c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_bthealth" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig088.signuntrustedapipublicbthealth" package="wrt6sig088" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_bthealth</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.health"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html
new file mode 100755 (executable)
index 0000000..aea14c9
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_bthealth</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ var adapter = tizen.bluetooth.getDefaultAdapter();
+ var healthProfileHandler;
+ var healthCapability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.health");
+    try{
+ //bluetooth health privilege check
+       healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml
new file mode 100755 (executable)
index 0000000..6e47bcb
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>MMsl/Jdw6k9E4Uf/MxRTPy++IU54irHqRiOQcsP2N7w=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>9Hio1Ddrzigcxf0+hP70j9DcSWYQz9VOCBUtWEWxbK8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>AbQEnk/uDciKuZLx0S1+yevfeqjZ20Uzjt/R5DVoq/s=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NUUGg5hJ2dT0wwBUDqW1tTLognKtLnWFsnMqsntz4juKfH9owU0uZ+++8sm0j24V46EzHdl4QfXA
+TC12ksKS9ZHMNCAy/1ObDn6tVZ1FlDair2wzWura+audTlYvYeGf3jKBrLZ68dfruiXU8SbqccCX
+u2IW+acQQwMCUv7q0bQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMT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iQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml
new file mode 100755 (executable)
index 0000000..c4638bf
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WPY0BpyboofbCcBLXfeOjt2XvaUm6wc+6kX6oJC1lWc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5ts5E0LW63Ji4Slc4nXzIZxs9mXKdcy0HpYaUL+M5P0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+J+Oib4RfD4Iyv2YQmueFheb+g3unOT3wCrhnkReTu1quj9/iDGQVYE9czWxpdJsbBDKguSrVObtR
+jWZ3rOYBqDYCkPhXN3iYF5gimQH8dGWwCFmPaJLNu0oS6cbpoL9JqZTQundW2kaPuQbXGRXcihJb
+1SxNfVZ8sN0MlmwLiic=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w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
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml
new file mode 100755 (executable)
index 0000000..a38fa01
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_btspp" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig060.signuntrustedapipublicbtspp" package="wrt6sig060" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_btspp</name>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html
new file mode 100755 (executable)
index 0000000..07a8c87
--- /dev/null
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_btspp</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //Bluetooth spp
+var adapter = tizen.bluetooth.getDefaultAdapter();
+ // Holds currently registered service record
+ var chatServiceHandler = null;
+ // Holds currently open socket
+ var serviceSocket = null;
+
+ function chatServiceSuccessCb(recordHandler) {
+    console.log("Chat service registration succeeds!");
+    chatServiceHandler = recordHandler;
+    recordHandler.onconnect = function(socket) {
+        console.log("Client connected: " + socket.peer.name + "," + socket.peer.address);
+        serviceSocket = socket;
+        // Messages received from remote device
+        socket.onmessage = function() {
+             var data = socket.readData();
+             // Handles message code goes here
+
+        };
+
+        socket.onclose = function() {
+            console.log('The socket is closed.');
+            serviceSocket = null;
+        };
+    };
+ };
+
+ function publishChatService() {
+    var CHAT_SERVICE_UUID = "5BCE9431-6C75-32AB-AFE0-2EC108A30860";
+    try{
+    adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCb,
+      // Error handler
+      function(e) {
+           console.log( "Could not register service record, Error: " + e.message);
+      });
+      document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }  
+ }
+
+ function unregisterChatService() {
+      if (chatServiceHandler != null) {
+          chatServiceHandler.unregister(function() {
+               console.log("Chat service is unregistered");
+               chatServiceHandler = null;
+           }, function(e) {
+               console.log("Failed to unregister service: " + e.message);
+           });
+      }
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml
new file mode 100755 (executable)
index 0000000..50a1175
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VpM6529UAoPBIyQN05cQRrT+wGGUZ6YAqqOh+rc7p6o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WPY0BpyboofbCcBLXfeOjt2XvaUm6wc+6kX6oJC1lWc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5ts5E0LW63Ji4Slc4nXzIZxs9mXKdcy0HpYaUL+M5P0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+WFnfpM2h3ZEMucXwY0WopUvhkU2K5PvNNEyEKwtb1aLCWvGWeUfwfxJ1LyAc2iD9pgUHBecLO5KC
+GpwBgMPp1gSco8t2sGI4MeTkAI4VgSNzRQHLxivj2NZefpCOLgUpb6ysQS7N07BItGOVpCPgQQJN
+gIDXRVpXbALgmpYh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4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml
new file mode 100755 (executable)
index 0000000..fc602f0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qREapXfbZN5OkxzfTHt6PGz7Z8zwOY7X3OoUbN9jED8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ZXN/e8NyU4wgOO+7Vyh93U2hmWo6fQbJl5D+dz8CWbY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LGqH8ZmiFh7RuPkKSXaJTqBL1DpoSgyHSsPcSV26UW3imncn+PzvFSyky65X90zjEvdqo8o/y1Rz
+Mj9lB3hpLX6vxotP/sX9mW0WlLcono6/4oRF2ZIUfE1oEsah8cGAq6eVPXp1jd/HGBO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Clg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml
new file mode 100755 (executable)
index 0000000..78df76d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_calendarread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig061.signuntrustedapipubliccalendarread" package="wrt6sig061" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_calendarread</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html
new file mode 100755 (executable)
index 0000000..4a58333
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_calendarread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //calendar read privilege check 
+    try{
+    var calendarId;
+    var calendar = tizen.calendar.getCalendar("EVENT", calendarId);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml
new file mode 100755 (executable)
index 0000000..017396d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Fl6Xy6aXqbrERL5ZxF5VA91Yzp84223XGKBfpR8ZoPU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qREapXfbZN5OkxzfTHt6PGz7Z8zwOY7X3OoUbN9jED8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ZXN/e8NyU4wgOO+7Vyh93U2hmWo6fQbJl5D+dz8CWbY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eA8RWN1/Sh0SRoR62+Tl+l//dK38B1XgXF8EQRf8KxZk/zEzDtGp/M6j3GZJ7OLoEO345DY2I5LT
+uw2U7kau0oJHgVPPBNPM9jmou/QK2IXvNIxEmVAnN2eXwXzNR1+tZjEhQ0MTEJFoPu1cMxfM5gOV
+vbhlXiZ4325TdrZYmtU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjA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VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..597d483
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NHxwdul4AfYkj53xcWX4XfIhrFsXh7xS8S6sXegNAmQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o7kqII+79nGVZdX0jfU17RiKYjlTI93+MJRDW/SVs2k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+bu2xGfM4tZ/6DwaUIsKJvnK2u4xzXdCB1hsEdppm5WY8iUna/8K2GhA95P6+Ng5HO+AWCqHJFf4J
+WfR7eFzWoQM4M5E37Oap8ZjHJDQTdv3Osq8bxwCnTQuI2F+uG6Snq0hkLo3iAgeJ99E0SFepbxBj
+xxvnTzXuO1AJfllLZDI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExM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
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml
new file mode 100755 (executable)
index 0000000..dcbc832
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_calendarwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig062.signuntrustedapipubliccalendarwrite" package="wrt6sig062" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_calendarwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html
new file mode 100755 (executable)
index 0000000..9801e32
--- /dev/null
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_calendarwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var myCalendar;
+
+  // Defines the error callback.
+  function errorCallback(response) {
+    console.log( 'The following error occurred: ' +  response.name);
+  }
+
+  // Defines the success callback.
+  function updateEventsSuccess() {
+    console.log("Successfully updated !" );
+  }
+
+  // Defines the event success callback.
+  function eventSearchSuccessCallback(events) {
+    events[0].description = 'New Description 1';
+    events[1].description = 'New Description 2';
+    // Updates the first two existing events.
+    //calendar read privilege check 
+    try{
+    myCalendar.updateBatch(events.slice(0,2), updateEventsSuccess, errorCallback);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+  }
+
+  // Gets the default calendar.
+  myCalendar = tizen.calendar.getDefaultCalendar("EVENT");
+
+  // Finds all events in Calendar.
+  myCalendar.find(eventSearchSuccessCallback, errorCallback);
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..9ff0057
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gZtNt6dP68nNuu8/yEii5Utgjrdf14ux49VmNESMK94=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NHxwdul4AfYkj53xcWX4XfIhrFsXh7xS8S6sXegNAmQ=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o7kqII+79nGVZdX0jfU17RiKYjlTI93+MJRDW/SVs2k=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZjEydHxLgS9zjxDv8yF739Zi2Oeqazr0i7WswzjbKBOSjrS4EIGW0JVW4LvOJ8NUMMPOQ0MBU6Cc
+hTtGqKOKBjbWgqYj6upq8WFCk6aXopsS9/mjT1UaqM114/WZ8KQHn/WvRI87kvm6xOVjY5JACy2H
+HeRYkiAPDUGBd2oVinM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4g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VzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml
new file mode 100755 (executable)
index 0000000..a40614d
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qAZnA307CXxxwNelTxFMfdpmjF/UE0ciUcsC1wbRUMU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G7NcfaWmEC2xM0W45Kto9Tq2LWBuR/jQ5i5m0yuUNIQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eY85hKA3kmB59km53SmPCKlgkFJimWi/hzkL8QPcNE+iYltT+jhcngZK7UUhP/qkKWFmmXwR7vRk
+J+WcTBctADSHS+2DFpTotcw/FUZIJdULA2TeTiBDtC8stzy2CTI9Cq4UzfJw6/j6EnhKr0DmndOo
+SaQE4fUv0x9qCyAIFfs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3Nv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aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
+RGV2ZWxvcGVycyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml
new file mode 100755 (executable)
index 0000000..46f2dff
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contactread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig065.signuntrustedapipubliccontactread" package="wrt6sig065" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contactread</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html
new file mode 100755 (executable)
index 0000000..b362a07
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contactread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // contact read
+ var contactRef; // ContactRef supposed to be initialized
+ try {
+   // Retrieves the Contact corresponding to a given ContactRef.
+    try{
+   var addressBook = tizen.contact.getAddressBook(contactRef.addressBookId);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   var contact = addressBook.get(contactRef.contactId);
+   console.log("Successfully resolved contact with id: " + contactRef.contactId);
+ } catch(err) {
+   console.log("Error: " + err.name);
+ }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml
new file mode 100755 (executable)
index 0000000..8734b1f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Z3EF/zqTI+7m4zuKWlJA3rSCplP19gVk6x3javdoCTA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qAZnA307CXxxwNelTxFMfdpmjF/UE0ciUcsC1wbRUMU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>G7NcfaWmEC2xM0W45Kto9Tq2LWBuR/jQ5i5m0yuUNIQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+gExQGhl2GsDjkuaqOhS0W7GBr6yAcPZtI+5CXtgrNUhsOkFSsOPzg+oAkriJ1GSs73SUecdC6S70
+x//vljHhxVwIq99dHHluFHDuEfRY4HgagWKfF+XHCxgQan98HVgDksW77MFCcxEqSPEK0LjzYA7C
+6GCxL/QjjDeChp41Wo4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEz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De
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..db7f005
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjPIcojktu8tNHqvIGA7gWDHUBqwhM8eKjIFiC6lLN4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48IL+/cx2BqHzov+CbLAGZDpcgk3qfwiy84PGAXslNE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FmCkzjHjHNCdVczcLjsepguoCypJuVRlmoty8E0FHudMviZZqMgpjjJmIWOUc3hiEf7Hv662/IJS
+BxZFFNT6n4i1JaEfVDqViyMlKuhBHr6zCDUyCfqkK8GXP4aFXYzi+obDisTusu5ZccNwrI/AbIx4
+Qs6S4Uk4cnkfb4pCyQI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFA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sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml
new file mode 100755 (executable)
index 0000000..9f33e8e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contactwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig066.signuntrustedapipubliccontactwrite" package="wrt6sig066" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contactwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html
new file mode 100755 (executable)
index 0000000..259eb8c
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contactwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    // contact write privilege check
+    var addressbook;
+
+  // Gets the default address book.
+  addressbook = tizen.contact.getDefaultAddressBook();
+
+  try {
+    var contact = new tizen.Contact({name: new tizen.ContactName({firstName:'Jeffrey',
+                                          lastName:'Hyman',
+                                          nicknames:['joey ramone']}),
+                                    emails:[new tizen.ContactEmailAddress('user@domain.com')],
+                                    phoneNumbers:[new tizen.ContactPhoneNumber('123456789')]});
+    try{
+    addressbook.add(contact);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    console.log('Contact added with id ' + contact.id);
+  } catch (err) {
+    console.log( 'The following error occurred while adding: ' +  err.name);
+  }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..9e5b0bc
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eYUB0bgnX1QQQZVW2BEWrv/46rwn3hoGgPEhY04MogQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fjPIcojktu8tNHqvIGA7gWDHUBqwhM8eKjIFiC6lLN4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>48IL+/cx2BqHzov+CbLAGZDpcgk3qfwiy84PGAXslNE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KpTnTGufOqXf504kmGRLX44UqpRzfaKbVjwkFGUYBnVDt+aFTMME8vV+ZTbmVw6nxSXNbWyw3gQa
+iWl3+/ORzvFYyT4ZD5YimGfDAJT3fMzaAMaLUTLErXI16gjuhXjjyspOxBQ4MtusUoJaQlWJwGbn
+Bxy8oLrhVnH0hAWqjb4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEz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De
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml
new file mode 100755 (executable)
index 0000000..df21a8a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>99XM1PDoy5NGSw5SWgfnplMgz5M2W6tpggKwpoHYZCI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7b8XdSlD5guVbePZ95awb+Egl6IUgGNVpSXCbpon/oM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Ine9GLvuIzkBAWObRps+v/Fm99jzqPp5lXPFaotHAsO+LVuutD0j9ZJJwfBC34lRPjhNt2yNZiqX
+Hd5+QO8u5XifMP5kh6gmyh51+ANJBEQ6HrB8W2ReF2BuH/W+VhSjDZoAj+eM9yXlrokDbB+pZLu+
+iPh/MsyBKPtWhplBoQE=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFA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sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml
new file mode 100755 (executable)
index 0000000..b2cfbc5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contentread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig067.signuntrustedapipubliccontentread" package="wrt6sig067" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contentread</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html
new file mode 100755 (executable)
index 0000000..71bf8dc
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contentread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ //content read privilege
+ var listener= {
+    oncontentadded: function(content) {
+        console.log(content.contentURI + ' content is added');
+    },
+    oncontentupdated: function(content) {
+        console.log(content.contentURI + ' content is updated');
+    },
+    oncontentremoved: function(id) {
+        console.log(id + ' is removed');
+    }
+ };
+
+ // Registers to be notified when the content changes
+   try{
+   tizen.content.setChangeListener(listener);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml
new file mode 100755 (executable)
index 0000000..4b75794
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ifxD3M1ktBs60hYjMrTz2gjSFpYtQUbt42o4hGsbwDM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>99XM1PDoy5NGSw5SWgfnplMgz5M2W6tpggKwpoHYZCI=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7b8XdSlD5guVbePZ95awb+Egl6IUgGNVpSXCbpon/oM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+LyvMJE3AUAwp49KGdca8UODyS8Lt+++MABsfrm5EDulVAtna9vWzfT2LIU06CIwiGYwz0n8JjGis
+35K8OGqyQ1iquolRDkW4LmZykIEMTiogAWJuudpbOSV/9hSKR2qICP0irop5XGwJp1BaZQBGes/w
+kLvC7a+UC8dpk/G17CU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0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nCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..161306c
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YBjszMiSO1cM/ShALDb9kex0cUHKtc5yqiYK3WFNuMs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hu2OqU6F+/G04G/GeIcb4NtpMkRNIHnoids13navOXw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+JEOg/HPj7wg4vCuBGXcsl6+l50WaePGGJV93U2MlCIkNxHcFTED8nIvNh6jvw+P/2KB6DgqiwV8o
+mnJui1m1KiLhEGsLw5PbJHZ0E64V0w6urIOxUVFElze5XoUtIsTkFe9R6CAptSgMsJzzUIycbTaj
+vRb/3DBJ++4eKb0oUuI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0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1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml
new file mode 100755 (executable)
index 0000000..513d91d
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_contentwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig072.signuntrustedapipubliccontentwrite" package="wrt6sig072" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_contentwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html
new file mode 100755 (executable)
index 0000000..d255e1f
--- /dev/null
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_contentwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+
+ // The following example increases rating of an content by 1
+
+ function errorCB(err) {
+     console.log( 'The following error occurred: ' +  err.name);
+ }
+
+ function successCB() {
+     console.log('Attributes set successfully');
+ }
+
+ // Assume the content is a Content object as a result of find method.
+ // Check the rating is editable, and then increase by 1.
+ if (content.editableAttributes.indexOf("rating") >= 0) {
+     content.rating++;
+ }
+  //content write privilege
+   try{
+ tizen.content.updateBatch([content], successCB, errorCB);
+ document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..5f72ba7
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YCjbElNs2oUoWxMfNl1iL1S951mRZlBl+MHi6ITib9Q=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YBjszMiSO1cM/ShALDb9kex0cUHKtc5yqiYK3WFNuMs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hu2OqU6F+/G04G/GeIcb4NtpMkRNIHnoids13navOXw=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+m21kzpzg58Uz2uSA0sYAckvDNGG7YIIfd7j8jMsDf8XmnVQtDfXJsI9e5b4foy4aPh5KljQAkaud
+eYb2F0LrRBC/lXwOUKIRM/ZuPWiQB/vHmOmg75GrwlgLVwJC0ocYmSuVM+YXzHCFUl/8yzKju/Xe
+w2Xx9K9krjgP/h1GaPM=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZ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nD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml
new file mode 100755 (executable)
index 0000000..7a536d0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>q/GzSgEGTT0zDc0kaS3LddhKcoxVJM/ei0WITXcSEnY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KGOBsCmCjSWoygMBiTHZ2I2KFfaAZrKfymXEgNMMLIY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+aNfEgxhjtuC6i/5g2A3OY4F+eBwDBPwBTVkUhBuDCir4MLd9jq/6Ijj0cg06zjfVtVKOuBYE4fx/
+kiBrh7jC+457JMrwps5LQJoZGmO8cBwooGywboKt4Y47XAt+HvQ4ZEhdMmQ+j2jbOdzDEFiA0WRq
+s2xOXoo4EweAP0AihBs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR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KhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml
new file mode 100755 (executable)
index 0000000..9dc9e0a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_datactrlcum" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig073.signuntrustedapipublicdatactrlcum" package="wrt6sig073" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_datactrlcum</name>
+    <tizen:privilege name="http://tizen.org/privilege/datacontrol.consumer"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html
new file mode 100755 (executable)
index 0000000..3a3361b
--- /dev/null
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_datactrlcum</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     try{
+//datacontrol consumer privilege check
+     var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer(
+     "http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml
new file mode 100755 (executable)
index 0000000..8ded9dd
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>aSUO6COgNzxDSDNIOhOAPyrOpXcMoEhjQHnakzwN4qg=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>q/GzSgEGTT0zDc0kaS3LddhKcoxVJM/ei0WITXcSEnY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KGOBsCmCjSWoygMBiTHZ2I2KFfaAZrKfymXEgNMMLIY=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+U7sQuTbcPJHWsy9zvHJiOmjKCQ0WuY2HwNuvYjCn89hA0FC6YjBy0rVtUC8KV0vESS+vrWOmv0nt
+1NwShEK0QQMUAffmFKhCXKo5niB5dk9r0iusazf4VGCitxhsLOXH2/RNFXVrK0DVcw0xNr+u8Spk
+tdAXN3lwbPnUKmL62QQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ2+WAubhcEkorTWjzWz2fL1
+vKa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fo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml
new file mode 100755 (executable)
index 0000000..e7abba2
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rY+t8f3iUXrHeXC5azRTv7KeWiWpDD+MuC8m1uHyuzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J167u0Ld0cAymilidsRIhPXvQCGzEl5wxmEL6VeyhvI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Q0OooCy3xNPdBu3VqJF1v9gVkPi/1IoznC0+tGikkOm4EUwrSsq5jUvfYQ1Pl9qMT+1Qs38Gm4ce
+z+xMnvJ6+zcsTrrkOuILexmyBoTFTHYHhZon2SyKPafuk0JlnIuiGlBf0fUNV7V8JZW9yzeHm/Ee
+hMVD1Af7IXZfxHhp8X4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68D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Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml
new file mode 100755 (executable)
index 0000000..399bc86
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_download" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig074.signuntrustedapipublicdownload" package="wrt6sig074" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_download</name>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html
new file mode 100755 (executable)
index 0000000..3625b3a
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_download</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Check if Download API is supported not on a device.
+ var download_api_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/download");
+ if (download_api_capability === false) {
+     console.log("Download API is not supported on this device.");
+     return;
+ }
+
+ var listener = {
+   onprogress: function(id, receivedSize, totalSize) {
+     console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+   },
+   onpaused: function(id) {
+     console.log('Paused with id: ' + id);
+   },
+   oncanceled: function(id) {
+     console.log('Canceled with id: ' + id);
+   },
+   oncompleted: function(id, fullPath) {
+     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   },
+   onfailed: function(id, error) {
+     console.log('Failed with id: ' + id + ', error name: ' + error.name);
+   }
+ };
+
+ // Starts downloading the file from the Web with the corresponding callbacks.
+ var downloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/README.txt", "documents");
+ //download privilege check
+     try{
+ var downloadId = tizen.download.start(downloadRequest, listener);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+
+ // If you want to download a large file through Wi-Fi,
+ var wifi_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi");
+ var wifiDownloadRequest = new tizen.DownloadRequest("http://download.tizen.org/tools/archive/14.02.2/Ubuntu_12.04/qemu_1.6.0rc3.orig.tar.gz", "downloads", null, "WIFI");
+
+ if (wifi_capability === true) {
+     var downlodId_wifi = tizen.download.start(wifiDownloadRequest, listener);
+ } else {
+     // If you call tizen.download.start(), NotSupportedError will be thrown.
+     console.log("This device doesn't support Download API through Wi-Fi.");
+ }
+
+    </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml
new file mode 100755 (executable)
index 0000000..90b962e
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>b1UQuKnQIVXu/tlPrQFowVHh1FCZpe/DkULUI+Os/zA=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rY+t8f3iUXrHeXC5azRTv7KeWiWpDD+MuC8m1uHyuzE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J167u0Ld0cAymilidsRIhPXvQCGzEl5wxmEL6VeyhvI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Rvj9FTLt319xLX5zJzL0FWAb5k52nResL+gzXsTxuUvfDC+hN/g9e7umF0vkHqGuiz15AXsw1ezP
+O2NZW0YzB5c+qIhdhlXKxsUoYtxcEqY/Ef70W5a/LtKOsdDpXvZrIGF+R6+K614jX9bA1Q4YgmNl
+D18NAOOmRdO4G+nIR3w=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAM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IvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml
new file mode 100755 (executable)
index 0000000..e27a326
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GvQLHAz3gA92IyxSnPTNphcsODDYThJB/YUF40yeChU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0Xy9CsZmOdIIpixLJbVIZJ6SJVK4b4VnBcLiH5hjFJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+QTv8fz1wznxOISpPRllGLDvHu5qfB0UcRzlrUaXCWp8ZKazr8KA2bl43J2xYjbtiy5bnh1mm4D+U
++bnEiqEmgRcOlDZhpPlFKckfF8XETjvAAwOnuJ5QVJA80BZNYBdo5nxWc9lTnz7JPywTuxm28c8i
+dOkx0SFn1Hi+AUCUtJI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoT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RYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml
new file mode 100755 (executable)
index 0000000..78a4c7c
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_fsread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig075.signpublicapipublicfsread" package="wrt6sig075" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_fsread</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html
new file mode 100755 (executable)
index 0000000..740fab2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_fsread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function onStorage(storage) {
+     // Do something
+ }
+
+ function onStorageError(e) {
+ console.log("Storage not found!" + e.message);
+ }
+
+     try{
+    // filesystem.read privilege check
+ tizen.filesystem.getStorage("music", onStorage, onStorageError);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml
new file mode 100755 (executable)
index 0000000..b56298f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UBmkk2SZ/QdWZYBQP0Kh+wq//JLmhaiVEjsl9GkRY+o=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GvQLHAz3gA92IyxSnPTNphcsODDYThJB/YUF40yeChU=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0Xy9CsZmOdIIpixLJbVIZJ6SJVK4b4VnBcLiH5hjFJk=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+m9U4x2IJJP5ax2wIat7JZ0TAaxlUzEs/ISWtkanQCUU+cIADbdoigS8LdUU2u8zjdPKLrBzEgc+y
+fnnSCeCpGgpOShaXJTlXT8f+6UzPMuW/4U0dO2lw5jEJf+YhEb2mljMPzAb6I8cC5Mnv1/jDEhUH
+bqj4s79lItmwjF/NsrY=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvc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KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..e304720
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jo0+D68FHlJQ7gFjNfqxCOvGRQ/thSAoQ0+yw+eMYcs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7vQwUEMxt3LAe4vmso9O8xm0oBue5cXeWdKYz+ayaLI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+FLvX4EI7CdJ2njwFYVq72uQs8AVkQaYRwefAvTtZmiPg6afbDlhcxoPgZd5suJ55M+5HZteuJbHQ
+aJvNXfFWCTX+1puQxd2Aa4yhpSgolzirPZ/LerN294BBP4iBgTlUiDlya56ZvqOh/lgpfXCXxCwy
+KKUBwq+dcuX/ieUK8m4=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBA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RQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml
new file mode 100755 (executable)
index 0000000..7cdcade
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_fswrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig076.signuntrustedapipublicfswrite" package="wrt6sig076" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_fswrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html
new file mode 100755 (executable)
index 0000000..06c3caa
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_fswrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var watchID;
+    function onStorageStateChanged(storage) {
+     if (storage.state == "MOUNTED")
+         console.log("Storage " + storage.label + " was added!");
+ }
+//filesystem.write privilege check
+    try{
+    watchID = tizen.filesystem.addStorageStateChangeListener(onStorageStateChanged);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml
new file mode 100755 (executable)
index 0000000..2835d11
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BAKgkn5FYENRhwX9Nppdt81P9Kgo3ccBWjbCLyzjXW0=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jo0+D68FHlJQ7gFjNfqxCOvGRQ/thSAoQ0+yw+eMYcs=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7vQwUEMxt3LAe4vmso9O8xm0oBue5cXeWdKYz+ayaLI=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+nvp4u/kP1D+6YimB6wdl8NHi0wlxf2IRAjn2f9vashWL+7Ux3fEKGwUqTlMwxLYwqESGuM3LEsKw
+cEmn2wGx0wZ4jCsvWrNWZ84AEOMBV7h4nKeERW3p1J7AvWyAV8dNV8v0ETdyTL8XKMQxbNKMH/5g
+6KEw0jj+b6dyx7QLGJU=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ2+WAubhcEkorTWjzWz2fL1
+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eyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml
new file mode 100755 (executable)
index 0000000..1ff1833
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o5GNHP3OjnlHtVdmE3QEO4Y2nYLpJn3YELq0L/150o0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l276kqON2aL+XgGyEkfV0soDS5bfreBXrLnlp14w7ME=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+IMP3PcCzhO+oJq6+BpWK0E6FKMBiPnpa9WdrAk1OzY1Wc8noImZtsoc9KMCJhzXal9MKMwdxyABd
+jRfiv0eQIj+rj2kfge4R8hv891fbe3gsQZoITAkGfmos0Z+1bXH7Idvtt5IWBWUVyqtUk0ve7TYN
+XuGPkukqtmxQ3nvoTSQ=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68Di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y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml
new file mode 100755 (executable)
index 0000000..1a18a58
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_msgread" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig077.signuntrustedapipublicmsgread" package="wrt6sig077" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_msgread</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.read"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html
new file mode 100755 (executable)
index 0000000..67dd5ca
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_msgread</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    var service; // Assumes messaging service is initialized
+    var messageStorage = service.messageStorage;
+    function folderArrayCB(folders) {
+   console.log(folders.length + " folders(s) found!");
+   for (var i = 0; i < folders.length; i++) {
+     console.log(i + ", folder: " + folders[i].name);
+   }
+ }
+ var filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
+ //message.read privilege check
+     try{
+     messageStorage.findFolders(filter, folderArrayCB);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    } 
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml
new file mode 100755 (executable)
index 0000000..3ae34c6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Pw6m3W61nAH1XYwDiw2Q9SEuQugyWNJ9pChvLw0JAhc=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>o5GNHP3OjnlHtVdmE3QEO4Y2nYLpJn3YELq0L/150o0=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l276kqON2aL+XgGyEkfV0soDS5bfreBXrLnlp14w7ME=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>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qGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml
new file mode 100755 (executable)
index 0000000..29bd663
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>j6SYj96QRO5WXYhv8WHQbFdnPTrhLI9u6c5u/M/fRQY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GBoxQcRcw1REXZFKjWi+ZRCUwyQBdJHGC6vaZ6t1YAQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1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AGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml
new file mode 100755 (executable)
index 0000000..b0191a4
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_msgwrite" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig078.signuntrustedapipublicmsgwrite" package="wrt6sig078" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_msgwrite</name>
+    <tizen:privilege name="http://tizen.org/privilege/messaging.write"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html
new file mode 100755 (executable)
index 0000000..a7a9987
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_msgwrite</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the success callback.
+ function serviceSynced() {
+   console.log("New messages are fetched!");
+ }
+
+ // Defines the success callback.
+ function servicesListSuccessCB(services) {
+     //message.write privilege check
+    try{
+   services[0].sync(serviceSynced, null, 30);
+   document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+   // Subscribes to MessageStorage notification
+ }
+ tizen.messaging.getMessageServices("messaging.email", servicesListSuccessCB);
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml
new file mode 100755 (executable)
index 0000000..838b3d5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Hr3QIcMst0daJuVvww2HAnbA+bvuq2IrxSHMqx377jU=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>j6SYj96QRO5WXYhv8WHQbFdnPTrhLI9u6c5u/M/fRQY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GBoxQcRcw1REXZFKjWi+ZRCUwyQBdJHGC6vaZ6t1YAQ=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+of8xhOXb5LBf+XFG3xeZvjEJhR31jHyc6D9qWjjeVikmYQrrq0bIQg8HPZoMCSeEcma1fCx2SvLd
+W/FL7ilqFHb0cMKBsuPMV0zwmNdw3gepa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RGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml
new file mode 100755 (executable)
index 0000000..012d4b0
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>daQX9vRb5r58JQfYyD0JO0i5HwbIuOXIKy+zwvO7thc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jhNySbNVQAcIZMi0fHAIpIrt2fdC3U1WL5q5ZqTZj5A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ToDJqsTscbERFhJGMHM7C9OTIfFRJyiotZg7IqAojHepIHPDDLPqZQGgEMP3XTjrijmW9xvOvGql
+AYfMGbOlgP/37SCvaURyzhkOJW6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6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml
new file mode 100755 (executable)
index 0000000..1a8fee9
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_notification" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig079.signuntrustedapipublicnotification" package="wrt6sig079" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_notification</name>
+    <tizen:privilege name="http://tizen.org/privilege/notification"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html
new file mode 100755 (executable)
index 0000000..a1dd51e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_notification</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+  //notification privilege check  
+    try{
+    tizen.notification.remove(notification.id);
+    document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml
new file mode 100755 (executable)
index 0000000..178ed55
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ODZPb0yt4JrRRose3WSHkPaQy2wATvEbbWxYeNDTprM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>daQX9vRb5r58JQfYyD0JO0i5HwbIuOXIKy+zwvO7thc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jhNySbNVQAcIZMi0fHAIpIrt2fdC3U1WL5q5ZqTZj5A=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+pLvRRx0bskHBTNeOmHmgTpKyVTPO2moISacCz3KrniGpD/O6grWZHKMD3Bpu5NEC77GRfQs2Da3q
+UVV96h15NWjZlooTDkzPYlySp9VLhVbTUW+ILv3UkW7pe1VDQBs0dQca8T+LfDucALW7wvy23TYf
+BxZUg0Pa4q6WDudWDYw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3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dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml
new file mode 100755 (executable)
index 0000000..9a1f59a
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qYrA4/ZABKvsSERoeR+k6BYy0PxSRMEwPDZ01s1hO6w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QM2CF1IRshj/4fUNJfmNSSLVZEWC29I9bYBT74UEeo4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+NI1NoCGyWMhivCWDHr+Hbd5JmC5zJEdvI6ryz9IQEKd62ZbBnBeCbPhsVDOUIamq9BBD6uXy47+1
+jI56x1VN9zPqi9sA/sljglPyJQ4RLQr5/oCsdhClSNQESh3UFGt0w/C4r2bWuHzoRV8xqLM9GheI
+YnGlP93GwziFUSsiQ7M=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMD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KoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
+PCz8Sxut6z6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+OYMMwSasCu
+g8dwODx1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml
new file mode 100755 (executable)
index 0000000..75e42d5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_pkginfo" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig080.signuntrustedapipublicpkginfo" package="wrt6sig080" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_pkginfo</name>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html
new file mode 100755 (executable)
index 0000000..735b7c2
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_pkginfo</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+     function onListInstalledPackages(packages) {
+     for (var i = 0; i < packages.length; i++) {
+         console.log("Package id["+i+"] : " +packages[i].id);
+     }
+ }
+    //package.info privilege check
+    try{
+     tizen.package.getPackagesInfo(
+     onListInstalledPackages,
+     function (err) {console.log("Can't obtain packages list" + err.name);});
+     document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml
new file mode 100755 (executable)
index 0000000..db3c7d8
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RCZaQTImzZ9HWZjMfmOzQfaHb9hIpr3jiksDRlw7k7U=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qYrA4/ZABKvsSERoeR+k6BYy0PxSRMEwPDZ01s1hO6w=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>QM2CF1IRshj/4fUNJfmNSSLVZEWC29I9bYBT74UEeo4=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KHy/B7Y+uJtp4Xb30zTq/HpGjh/Le+sfNur8Ef9aqfRcimxv+LMT7Di6uRqZociP5zAww+8nx/Ma
+vMCOho6vasB27mEctAcL6jm6Qs5ZllNvMd5bn180UgYcHsIGPqaPXCNS8T114WhCShE6hX2qu9JP
+SF0hgG2GOitFuRo2mJw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hEN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dr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml
new file mode 100755 (executable)
index 0000000..155e7f5
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1WQ+H9pArP3gAsNVhArLRJU3Z0/fGpiQsG8cQ8+akHE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FoGgKCz5F3mvhWxK6JUl7oePlMqCSk4tUJYf1pzoBDM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KOjzXEJw6s8rUvV3yz9CtwGPeGhXJAeDxJMe3oHbNOfsl2dBJblLIz/0PwxRUathCRI5YrL15Ttc
+ZKJqzWiRCjcQFpVGpEr42TISyIZaEG8sRQ4jk4jZ9eBzNWrCeFQbMP1yGSF52IE5rn8Ie6yQbecV
+PhHUn1eKskU+dGGadSI=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZ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Em18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
+vyHxiatJl+xXrHgcXC1wgyG3buty7u/Fi2mvKXJ0PRJcCjjK81dqe/Vr20sRUCrbk02zbm5ggFt/
+jIEhV8wbFRQpliobc7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
+dyTZ248+D4L/qR/D0axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOC
+AQEAnOXXQ/1O/QTDHyrmQDtFziqPY3xWlJBqJtEqXiT7Y+Ljpe66e+Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml
new file mode 100755 (executable)
index 0000000..7613e72
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_power" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig082.signuntrustedapipublicpower" package="wrt6sig082" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_power</name>
+    <tizen:privilege name="http://tizen.org/privilege/power"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html
new file mode 100755 (executable)
index 0000000..52d6e6e
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_power</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+    //power privilege check
+    try{
+    tizen.power.request("SCREEN", "SCREEN_NORMAL");
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml
new file mode 100755 (executable)
index 0000000..327a1f4
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8IHnJRYM1Bl/oktacNY3qFb9F80JxyNE98rR73KzRYM=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1WQ+H9pArP3gAsNVhArLRJU3Z0/fGpiQsG8cQ8+akHE=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>FoGgKCz5F3mvhWxK6JUl7oePlMqCSk4tUJYf1pzoBDM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+Yn2JxGPKIKPfKdHEzJ2o5UlPWG+JG36wu5JJb3fF4LwB2lM6GtGuxB6k0zRQ+dVl9iKa26gH0Drp
+mo6fqV5udNOctTjzMprBovwwnuf/4iKNULSw4CYNhaiy4vQdXh35F5FumRvFbUAjD2uZ9XwzX5yo
+DdIhIXS0VJH/WMztoAw=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ2+WAubhcEkorTWjzWz2fL1
+v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yInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml
new file mode 100755 (executable)
index 0000000..f09f932
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KspGNpheQ7ddAcAAR8q5xZIiuCttKb9++OOaUXMaZA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VZnn/qAmeZgfH9IrKe+2A9YF344iA7N1/t8256ITI0c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+W+5C2q4XWYmTQZOGRqooZ2miAgzMzLsFoxHFt+ar5LGoc1AdiPIHsSAn7FcfaiUeIeP3PRt/emuD
+kJnBYdNtAM+1yoOEpgo9B9kZRCLvU/k/+2g1zCsF/T+868YRhV319WW85tubquNCPDcoBwTi+z7y
+38/L80ntDIU8AjmVb7U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
+c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
+ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
+dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
+uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
+ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
+DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
+AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
+2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
+2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Ee/OjQMlZe8gu21/8cKklH
+95RxjopMWCVedXDUbWdvS2+CdyvVW/quT2E0tjqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml
new file mode 100755 (executable)
index 0000000..cc96d43
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_push" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig083.signuntrustedapipublicpush" package="wrt6sig083" required_version="2.3.1"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_push</name>
+    <tizen:privilege name="http://tizen.org/privilege/push"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html
new file mode 100755 (executable)
index 0000000..ff63cb5
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_push</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Defines the connect success callback
+     function notificationCallback(noti) {
+     console.log("Notification received with alert message: " + noti.alertMessage);
+ }
+    
+    try{
+ // Requests for push service connection
+ //push privilege check
+       tizen.push.connectService(notificationCallback, errorCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml
new file mode 100755 (executable)
index 0000000..96299ff
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>UsfjOEwLtapqmwKhrkXytv3oXYdaeFCZRBhgPMBp8Z4=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KspGNpheQ7ddAcAAR8q5xZIiuCttKb9++OOaUXMaZA8=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VZnn/qAmeZgfH9IrKe+2A9YF344iA7N1/t8256ITI0c=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+tAzNlhD21vdLTVgYobzwOLulti3g+EXq0QyNzJpoOmt6lPKz/YytIGIzR2YabRC86R/7zJ18R+jk
+pxwa9ivp6rZVL/Pz/uoi2Ks+SdoQDbtdID/IAs5QLlhgvo0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6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml
new file mode 100755 (executable)
index 0000000..80fccee
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dCG9jV+doRVs2jS+84ujVshgZWHE5UVB3HDMY31JNSM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T3VZ1PdLxP8kft4YFSMs6xZRbFVHE/JLYaqi/JQJOGs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+KTtSbv6y2sCj6ihBUf/Q3C7xSCeRFPZAAvrjK9zh+PSTpmBLwfij891DO7w8FwMAgkqGt5UKqD54
++hjrkPFAaQFU8bQHiy3i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R6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml
new file mode 100755 (executable)
index 0000000..2e1e572
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_setting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig084.signuntrustedapipublicsetting" package="wrt6sig084" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_setting</name>
+    <tizen:privilege name="http://tizen.org/privilege/setting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html
new file mode 100755 (executable)
index 0000000..75c164e
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_setting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ // Checks whether SystemSetting API is supported.
+ var systemsetting_api_supported = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting");
+
+ // Checks whether the picture on home screen can be changed or retrieved through SystemSetting API.
+ var home_screen_system_setting = tizen.systeminfo.getCapability("http://tizen.org/feature/systemsetting.home_screen");
+
+ // Defines the success callback.
+ function successCallback() {
+     console.log("Succeeded in changing the property");
+ }
+
+ // Defines the error callback.
+ function errorCallback(error) {
+   console.log("Failed to change the property. Error : " + error.message);
+ }
+
+ if (systemsetting_api_supported === true) {
+     // tizen.systemsetting will be available.
+     if (home_screen_system_setting === true) {
+         // Sets the home screen image.
+//setting privilege check
+    try{
+         tizen.systemsetting.setProperty("HOME_SCREEN", "/opt/usr/media/Images/image1.jpg", successCallback, errorCallback);
+        document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     } else {
+         // if tizen.systemsetting.setProperty("HOME_SCREEN", ..) is invoked, NotSupportedError would be returned through ErrorCallback.
+     }
+ } else {
+     // tizen.systemsetting will be 'undefined'.
+     console.log("SystemSetting API is not supported on the device.");
+ }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml
new file mode 100755 (executable)
index 0000000..1e8e770
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>fep8Hx1VYzNRA8nI4sPxebiEzaoe81R/84MoOYSKkTQ=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dCG9jV+doRVs2jS+84ujVshgZWHE5UVB3HDMY31JNSM=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>T3VZ1PdLxP8kft4YFSMs6xZRbFVHE/JLYaqi/JQJOGs=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTM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ate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml
new file mode 100755 (executable)
index 0000000..b38fca6
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>czZuGGz2/tvqNLSI5rftyLpwJmPraKwCmHFLYJdOpEY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLKAu5P4zUXg6HCUk6HPRUrv+MszDaxf5+UrZG6sZo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<Digest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jqIzXDekUTYwwhlPWlGxvfj3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml
new file mode 100755 (executable)
index 0000000..4fea0c7
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_system" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig085.signuntrustedapipublicsystem" package="wrt6sig085" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_system</name>
+    <tizen:privilege name="http://tizen.org/privilege/system"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html
new file mode 100755 (executable)
index 0000000..f26063c
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_system</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    try{
+    getPropertyValueSuccess = t.step_func(function (property) {
+        assert_own_property(property, "state", "SystemInfoSIM does not own state property.");
+        check_readonly(property, "state", property.state, "string", null);
+        assert_in_array(property.state, SYSTEM_INFO_SIM_STATE,
+            "state isn't type of SystemInfoSimState");
+        t.done();
+    });
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml
new file mode 100755 (executable)
index 0000000..4abe93f
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zGUxuuusVMsZfvRXPciqardedM5+3jO6IbZB7f8rBNo=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>czZuGGz2/tvqNLSI5rftyLpwJmPraKwCmHFLYJdOpEY=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cxLKAu5P4zUXg6HCUk6HPRUrv+MszDaxf5+UrZG6sZo=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+eexn9kR0B6Ww63M/wn25kIPVz5pSDwuntnpwuCIsBiIi4jGBiYlNrCr6ve3hUFEfCOUuFI5rOP3A
+alNBL8ICDGLBdHpjhiDWcRRsFkNZHUttME4alRdbWDDw6M5EFLIgyNQx30ET0H9zspRCYBYOpoGO
+KfapikhfGj3q9013s7U=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
+BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
+CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
+aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
+YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
+90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
+mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
+hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
+GEbEULg1svsgnyWisFimI3uFvgI/swzr1eKVY3Sc8MQ3+Fdy3EkbDZ2+WAubhcEkorTWjzWz2fL1
+vKaYjeIsuEX6TVRUugHWudPzcEuQRLQf8ibZWjbQdBmpeQYBMg5x+xKLCJc=
+</X509Certificate>
+<X509Certificate>
+MIICtDCCAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml
new file mode 100755 (executable)
index 0000000..f410bec
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3Yp0onVwCHpsFYTP6U+QmBLJqEiGKj80p4L/eV9HQT4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvMZXREwW7NJkyBGR8nXyludPXSsbPPzBhHmelJ8kzM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlB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3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml
new file mode 100755 (executable)
index 0000000..19d2ba6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_telephony" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig086.signuntrustedapipublictelephony" package="wrt6sig086" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_telephony</name>
+    <tizen:privilege name="http://tizen.org/privilege/telephony"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html
new file mode 100755 (executable)
index 0000000..5a7b6c0
--- /dev/null
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_telephony</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}),
+    getPropertyValueSuccess, getPropertyValueError;
+t.step(function () {
+    getPropertyValueSuccess = t.step_func(function (property) {
+//systemmanager privilege check
+    try{
+        assert_own_property(property, "msisdn", "SystemInfoSIM does not own msisdn property.");
+        check_readonly(property, "msisdn", property.msisdn, "string", null);
+        t.done();
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+    });
+    getPropertyValueError = t.step_func(function (error) {
+        assert_unreached("getPropertyValue() error callback invoked: name: " +
+            error.name + ", msg: " + error.message);
+    });
+
+    tizen.systeminfo.getPropertyValue("SIM", getPropertyValueSuccess,
+        getPropertyValueError);
+});
+
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml
new file mode 100755 (executable)
index 0000000..7a7f046
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>rmjutgFzyjIGRiL94WGbZtqtw0rEzCQQzomn62Cpz+Q=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3Yp0onVwCHpsFYTP6U+QmBLJqEiGKj80p4L/eV9HQT4=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uvMZXREwW7NJkyBGR8nXyludPXSsbPPzBhHmelJ8kzM=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYE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2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
+MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
+IQYDVQQLDBpUVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
+IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml
new file mode 100755 (executable)
index 0000000..156ec54
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6rYwI4q+Xb5NCStCJjxw8sq7ExrclCGCoVy05XsBnKk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahdJoeWY6xzyXS6OyWFlwjIVVBdbc+WJYvdr/O8F/0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lpo8tUDs054eLlBQX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j3VsxqSFq3p8Brl04
+1Gx5RKAGyKVsMfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
++OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
+W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml
new file mode 100755 (executable)
index 0000000..58795d6
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/signuntrusted_apipublic_websetting" version="2.3.0" viewmodes="maximized">
+    <tizen:application id="wrt6sig089.signuntrustedapipublicwebsetting" package="wrt6sig089" required_version="2.3"/>
+    <author href="http://www.samsung.com" email="ran22.wang@samsung.com">SRC-NJ Ran Wang</author>
+    <feature name="http://tizen.org/feature/screen.size.all"/>
+    <icon src="icon.png" height="117" width="117"/>
+    <name>signuntrusted_apipublic_websetting</name>
+    <tizen:privilege name="http://tizen.org/privilege/websetting"/>
+</widget>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png
new file mode 100755 (executable)
index 0000000..c22cfa8
Binary files /dev/null and b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png differ
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html
new file mode 100755 (executable)
index 0000000..faca152
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+       Ran Wang <ran22.wang@samsung.com>
+-->
+
+<html>
+  <head>
+    <title>signuntrusted_apipublic_websetting</title>
+    <link rel="author" title="Samsung" href="http://www.samsung.com"/>
+    <link rel="help" href=""/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="."/>
+    <meta charset="utf-8">
+  </head>
+  <body>
+ <script>
+ function successCallback() {
+     console.log("The cookies saved for your application have just been removed.");
+ }
+     try{
+//websetting privilege check
+     tizen.websetting.removeAllCookies(successCallback);
+       document.write("Pass");
+    } catch(e) {
+       document.write("Failed<br>" + e.message);
+    }
+     </script>
+  </body>
+</html>
diff --git a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml
new file mode 100755 (executable)
index 0000000..e97dcec
--- /dev/null
@@ -0,0 +1,66 @@
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="author-signature.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/YQRUfVsTTUMwt5Awgo6QekOLQVhLb+t0ROBovIBjvs=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6rYwI4q+Xb5NCStCJjxw8sq7ExrclCGCoVy05XsBnKk=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YXtIlNf6qr7RWi0WQFe7gF4nS9A7vpt5UIzJRpuM5xQ=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0ahdJoeWY6xzyXS6OyWFlwjIVVBdbc+WJYvdr/O8F/0=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+mVuMN8H1m0LVPtDW32aXBsha4e5osDrXDHgJ27FAoz8UPy9W6G9pNaW9yaFMkUsbgFQTE2EdMyOY
+4H469CKhFm/XVTXaJUn2pbzSUnxLrQOSRfYep4P2aSVHAJPeFZ6jfJx1mS4ukNrCb105kgo3R0E9
+sWpAOpyp6Ka6XVJnSHs=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate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hcNMTIxMDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
+MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
+ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
+VGl6ZW4gUHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
+OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
+bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
+2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
+KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
+yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
+VhfnkHwPltmrpYVe
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec b/wearable/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec
new file mode 100755 (executable)
index 0000000..acb905c
--- /dev/null
@@ -0,0 +1,6 @@
+name=$(basename $(pwd))
+main_version="2.3.1"
+release=""
+sign="0"
+version="$main_version"
+appname=$(echo $name|sed 's/-/_/g')
diff --git a/wearable/tct-privilege-wrt-tests/testcase.xsl b/wearable/tct-privilege-wrt-tests/testcase.xsl
new file mode 100755 (executable)
index 0000000..899b858
--- /dev/null
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output method="html" version="1.0" encoding="UTF-8"
+        indent="yes" />
+    <xsl:template match="/">
+        <html>
+            <STYLE type="text/css">
+                @import "tests.css";
+            </STYLE>
+
+            <body>
+                <div id="testcasepage">
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td>
+                                    <h1>Test Cases</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="suites">
+                        <table>
+                            <tr>
+                                <th>Test Suite</th>
+                                <th>Total</th>
+                                <th>Auto</th>
+                                <th>Manual</th>
+                            </tr>
+                            <tr>
+                                <td>
+                                    Total
+                                </td>
+                                <td>
+                                    <xsl:value-of select="count(test_definition/suite/set//testcase)" />
+                                </td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition/suite/set//testcase[@execution_type = 'auto'])" />
+                                </td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition/suite/set//testcase[@execution_type != 'auto'])" />
+                                </td>
+                            </tr>
+                            <xsl:for-each select="test_definition/suite">
+                                <tr>
+                                    <td>
+                                        <xsl:value-of select="@name" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase)" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set/testcase[@execution_type = 'auto'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set/testcase[@execution_type != 'auto'])" />
+                                    </td>
+                                </tr>
+                            </xsl:for-each>
+                        </table>
+                    </div>
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td class="title">
+                                    <h1>Detailed Test Cases</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="cases">
+                        <xsl:for-each select="test_definition/suite">
+                            <xsl:sort select="@name" />
+                            <p>
+                                Test Suite:
+                                <xsl:value-of select="@name" />
+                            </p>
+                            <table>
+                                <tr>
+                                    <th>Case_ID</th>
+                                    <th>Purpose</th>
+                                    <th>Type</th>
+                                    <th>Component</th>
+                                    <th>Execution Type</th>
+                                    <th>Description</th>
+                                    <th>Specification</th>
+                                </tr>
+                                <xsl:for-each select=".//set">
+                                    <xsl:sort select="@name" />
+                                    <tr>
+                                        <td colspan="7">
+                                            Test Set:
+                                            <xsl:value-of select="@name" />
+                                        </td>
+                                    </tr>
+                                    <xsl:for-each select=".//testcase">
+                                        <xsl:sort select="@id" />
+                                        <tr>
+                                            <td>
+                                                <xsl:value-of select="@id" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@purpose" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@type" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@component" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@execution_type" />
+                                            </td>
+                                            <td>
+                                                <p>
+                                                    Pre_condition:
+                                                    <xsl:value-of select=".//description/pre_condition" />
+                                                </p>
+                                                <p>
+                                                    Post_condition:
+                                                    <xsl:value-of select=".//description/post_condition" />
+                                                </p>
+                                                <p>
+                                                    Test Script Entry:
+                                                    <xsl:value-of select=".//description/test_script_entry" />
+                                                </p>
+                                                <p>
+                                                    Steps:
+                                                    <p />
+                                                    <xsl:for-each select=".//description/steps/step">
+                                                        <xsl:sort select="@order" />
+                                                        Step
+                                                        <xsl:value-of select="@order" />
+                                                        :
+                                                        <xsl:value-of select="./step_desc" />
+                                                        ;
+                                                        <p />
+                                                        Expected Result:
+                                                        <xsl:value-of select="./expected" />
+                                                        <p />
+                                                    </xsl:for-each>
+                                                </p>
+                                            </td>
+                                            <td>
+                                                <xsl:call-template name="br-replace">
+                                                    <xsl:with-param name="word" select=".//spec" />
+                                                </xsl:call-template>
+                                            </td>
+                                        </tr>
+                                    </xsl:for-each>
+                                </xsl:for-each>
+                            </table>
+                        </xsl:for-each>
+                    </div>
+                </div>
+            </body>
+        </html>
+    </xsl:template>
+    <xsl:template name="br-replace">
+        <xsl:param name="word" />
+        <xsl:variable name="cr">
+            <xsl:text>
+</xsl:text>
+        </xsl:variable>
+        <xsl:choose>
+            <xsl:when test="contains($word,$cr)">
+                <xsl:value-of select="substring-before($word,$cr)" />
+                <br />
+                <xsl:call-template name="br-replace">
+                    <xsl:with-param name="word" select="substring-after($word,$cr)" />
+                </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:value-of select="$word" />
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/testresult.xsl b/wearable/tct-privilege-wrt-tests/testresult.xsl
new file mode 100755 (executable)
index 0000000..96edd2b
--- /dev/null
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output method="html" version="1.0" encoding="UTF-8"
+        indent="yes" />
+    <xsl:template match="/">
+        <html>
+            <STYLE type="text/css">
+                @import "tests.css";
+            </STYLE>
+
+            <body>
+                <div id="testcasepage">
+                    <div id="title">
+                        <table>
+                            <tr>
+                                <td>
+                                    <h1>Test Report</h1>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    <div id="device">
+                        <table>
+                            <tr>
+                                <th colspan="2">Device Information</th>
+                            </tr>
+                            <tr>
+                                <td>Device Name</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_name" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Device Model</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_model" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>OS Version</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@os_version" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Device ID</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@device_id" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Firmware Version</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@firmware_version" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Screen Size</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@screen_size" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Resolution</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@resolution" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Host Info</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/@host" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Others</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/environment/other" />
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+
+                    <div id="summary">
+                        <table>
+                            <tr>
+                                <th colspan="2">Test Summary</th>
+                            </tr>
+                            <tr>
+                                <td>Test Plan Name</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/@test_plan_name" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Tests Total</td>
+                                <td>
+                                    <xsl:value-of select="count(test_definition//suite/set/testcase)" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Passed</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'PASS'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Failed</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'FAIL'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test N/A</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Test Not Run</td>
+                                <td>
+                                    <xsl:value-of
+                                        select="count(test_definition//suite/set/testcase) - count(test_definition//suite/set/testcase[@result = 'PASS']) - count(test_definition//suite/set/testcase[@result = 'FAIL']) - count(test_definition//suite/set/testcase[@result = 'BLOCK'])" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>Start time</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/start_at" />
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>End time</td>
+                                <td>
+                                    <xsl:value-of select="test_definition/summary/end_at" />
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+
+
+                    <div id="suite_summary">
+                        <div id="title">
+                            <table>
+                                <tr>
+                                    <td class="title">
+                                        <h1>Test Summary by Suite</h1>
+                                    </td>
+                                </tr>
+                            </table>
+                        </div>
+                        <table>
+                            <tr>
+                                <th>Suite</th>
+                                <th>Passed</th>
+                                <th>Failed</th>
+                                <th>N/A</th>
+                                <th>Not Run</th>
+                                <th>Total</th>
+                            </tr>
+                            <xsl:for-each select="test_definition/suite">
+                                <xsl:sort select="@name" />
+                                <tr>
+                                    <td>
+                                        <xsl:value-of select="@name" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'PASS'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'FAIL'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase[@result = 'BLOCK'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of
+                                            select="count(set//testcase) - count(set//testcase[@result = 'PASS']) - count(set//testcase[@result = 'FAIL']) - count(set//testcase[@result = 'BLOCK'])" />
+                                    </td>
+                                    <td>
+                                        <xsl:value-of select="count(set//testcase)" />
+                                    </td>
+                                </tr>
+                            </xsl:for-each>
+                        </table>
+                    </div>
+
+                    <div id="cases">
+                        <div id="title">
+                            <table>
+                                <tr>
+                                    <td class="title">
+                                        <h1 align="center">Detailed Test Results</h1>
+                                    </td>
+                                </tr>
+                            </table>
+                        </div>
+                        <xsl:for-each select="test_definition/suite">
+                            <xsl:sort select="@name" />
+                            <p>
+                                Test Suite:
+                                <xsl:value-of select="@name" />
+                            </p>
+                            <table>
+                                <tr>
+                                    <th>Case_ID</th>
+                                    <th>Purpose</th>
+                                    <th>Result</th>
+                                    <th>Stdout</th>
+                                </tr>
+                                <xsl:for-each select=".//set">
+                                    <xsl:sort select="@name" />
+                                    <tr>
+                                        <td colspan="4">
+                                            Test Set:
+                                            <xsl:value-of select="@name" />
+                                        </td>
+                                    </tr>
+                                    <xsl:for-each select=".//testcase">
+                                        <xsl:sort select="@id" />
+                                        <tr>
+                                            <td>
+                                                <xsl:value-of select="@id" />
+                                            </td>
+                                            <td>
+                                                <xsl:value-of select="@purpose" />
+                                            </td>
+
+                                            <xsl:choose>
+                                                <xsl:when test="@result">
+                                                    <xsl:if test="@result = 'FAIL'">
+                                                        <td class="red_rate">
+                                                            <xsl:value-of select="@result" />
+                                                        </td>
+                                                    </xsl:if>
+                                                    <xsl:if test="@result = 'PASS'">
+                                                        <td class="green_rate">
+                                                            <xsl:value-of select="@result" />
+                                                        </td>
+                                                    </xsl:if>
+                                                    <xsl:if test="@result = 'BLOCK' ">
+                                                        <td>
+                                                            BLOCK
+                                                        </td>
+                                                    </xsl:if>
+                                                </xsl:when>
+                                                <xsl:otherwise>
+                                                    <td>
+
+                                                    </td>
+                                                </xsl:otherwise>
+                                            </xsl:choose>
+                                            <td>
+                                                <xsl:value-of select=".//result_info/stdout" />
+                                                <xsl:if test=".//result_info/stdout = ''">
+                                                    N/A
+                                                </xsl:if>
+                                            </td>
+                                        </tr>
+                                    </xsl:for-each>
+                                </xsl:for-each>
+                            </table>
+                        </xsl:for-each>
+                    </div>
+                </div>
+            </body>
+        </html>
+    </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/tests.css b/wearable/tct-privilege-wrt-tests/tests.css
new file mode 100755 (executable)
index 0000000..f1ade8a
--- /dev/null
@@ -0,0 +1,103 @@
+@charset "UTF-8";
+/* CSS Document */
+#testcasepage div,#testcasepage h1,#testcasepage p,#testcasepage table,#testcasepage tr,#testcasepage th,#testcasepage td
+    {
+    margin: 0;
+    padding: 0;
+    border: 0;
+    font-weight: inherit;
+    font-style: inherit;
+    font-size: 0.96em;
+    font-family: arial;
+    vertical-align: baseline;
+}
+
+#testcasepage p {
+    text-align: left;
+}
+
+#testcasepage table {
+    border-collapse: separate;
+    border-spacing: 0;
+    margin-bottom: 1.4em;
+    vertical-align: middle;
+}
+
+#testcasepage th,#testcasepage td {
+    text-align: left;
+    font-weight: normal;
+    padding: 4px 10px 4px 5px;
+    vertical-align: middle;
+}
+
+#cases table {
+    width: 101%;
+}
+
+#title table {
+    width: 101%;
+}
+
+#device table {
+    width: 50%;
+}
+
+#summary table {
+    width: 50%;
+}
+
+#testcasepage th {
+    border-bottom: 1px solid #000;
+    background-color: #AAAAAA;
+    border-left: 1px solid #000;
+    border-top: 1px solid #000;
+    color: #000;
+    font-weight: bold;
+    vertical-align: bottom;
+}
+
+#testcasepage th:last-child, #testcasepage td:last-child {
+    border-right: 1px solid #000;
+}
+
+#testcasepage td {
+    border-left: 1px solid;
+    font-weight: normal;
+    border-bottom: 1px solid;
+}
+
+#testcasepage td.yellow_rate {
+    background-color: #ffcc00;
+}
+
+#testcasepage td.green_rate {
+    background-color: #33cc33;
+}
+
+#testcasepage td.dgreen_rate {
+    background-color: #339933;
+}
+
+#testcasepage td.red_rate {
+    background-color: #FF3333;
+}
+
+#title table, #title tr, #title td {
+    border-left: none;
+    border-bottom: none;
+    text-align: center;
+}
+
+#title td:last-child {
+    border-right: none;
+}
+
+#testcasepage h1 {
+    font-size: 2em;
+    font-family: Arial, sans-serif; font-weight : bold;
+    line-height: 1;
+    color: #000;
+    margin-bottom: 0.75em;
+    padding-top: 0.25em;
+    font-weight: bold;
+}
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/tests.full.xml b/wearable/tct-privilege-wrt-tests/tests.full.xml
new file mode 100755 (executable)
index 0000000..fe1d05c
--- /dev/null
@@ -0,0 +1,1854 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite category="Web Runtime" name="tct-privilege-wrt-tests">
+    <set name="privilege">
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btgap" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apiplatform_btmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signuntrusted_apipartner_nwbearsel" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+    <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+     <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>  
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_applaunch" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_appmgrcert" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_btadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_btspp" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_bkmarkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_bkmarkwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_calendarwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_calendarread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contactread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contentwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contactwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_contentread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_datactrlcum" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_datasync" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_download" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_fsread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_fswrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_msgread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_msgwrite" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfcadmin" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfccommon" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfcp2p" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_nfctag" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_notification" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_pkginfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_power" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_push" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_secele" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_setting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_system" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipartner_systemmgr" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_appinfo" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_bthealth" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_websetting" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signplatform_apipublic_sound" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrcert_appmgrkill" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipartner_appmgrkill_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpartner_apipublic_btspp_apiplatform_pkgmgrinstall" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apiplatform_pkgmgrinstall_apipublic_alarm" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     <testcase purpose="Check if widget can not be installed." component="Web/Runtime/WebApplicationRuntime" id="signpublic_apipartner_systemmgr_apiplatform_bkread" execution_type="auto" priority="P1" status="approved" type="privilege">
+      <description>
+        <test_script_entry test_script_expected_result="0">index.html</test_script_entry>
+        <notes></notes>
+      </description>
+      <specs>
+        <spec>
+          <spec_assertion element_type="privilege" element_name="N/A" interface="0720" specification="Web Application Privilege" section="Web Application Runtime" category="Tizen WRT Core Specifications"></spec_assertion>
+          <spec_url></spec_url>
+          <spec_statement></spec_statement>
+        </spec>
+      </specs>
+    </testcase>
+     </set>
+  </suite>
+</test_definition>
\ No newline at end of file
diff --git a/wearable/tct-privilege-wrt-tests/tests.xml b/wearable/tct-privilege-wrt-tests/tests.xml
new file mode 100755 (executable)
index 0000000..badaf4c
--- /dev/null
@@ -0,0 +1,719 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<test_definition>
+  <suite category="Web Runtime" name="tct-privilege-wrt-tests">
+    <set name="privilege">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_applaunch.wgt wrt6sig021</test_script_entry>
+        <test_script_entry>/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_uninstaller.sh signpublic_apipublic_applaunch.wgt wrt6sig021</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_btadmin.wgt wrt6sig022</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_btspp.wgt wrt6sig023</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contactread.wgt wrt6sig026</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contactwrite.wgt wrt6sig027</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contentread.wgt wrt6sig028</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_contentwrite.wgt wrt6sig029</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_datasync.wgt wrt6sig030</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_download.wgt wrt6sig031</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_fsread.wgt wrt6sig032</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_fswrite.wgt wrt6sig033</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_msgread.wgt wrt6sig034</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_msgwrite.wgt wrt6sig035</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfcadmin.wgt wrt6sig036</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfccommon.wgt wrt6sig037</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfcp2p.wgt wrt6sig038</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_nfctag.wgt wrt6sig039</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_notification.wgt wrt6sig040</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_pkginfo.wgt wrt6sig041</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_power.wgt wrt6sig042</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_push.wgt wrt6sig043</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_setting.wgt wrt6sig044</test_script_entry>
+        </description>
+      </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_system.wgt wrt6sig045</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_secele.wgt wrt6sig046</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_appinfo.wgt wrt6sig047</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_bthealth.wgt wrt6sig048</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_websetting.wgt wrt6sig049</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_datactrlcum.wgt wrt6sig050</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipartner_appmgrcert" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipartner_appmgrcert.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipartner_appmgrkill" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipartner_appmgrkill.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_telephony.wgt wrt6sig056</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_alarm" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_alarm.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btadmin" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btadmin.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btgap" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btgap.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_btspp" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_btspp.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_calendarread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_calendarread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_calendarwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_calendarwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contactread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contactread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contactwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contactwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contentread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contentread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_appmgrcert" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_appmgrcert.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_appmgrkill" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_appmgrkill.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_bkmarkread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_bkmarkread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_bkmarkwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_bkmarkwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_contentwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_contentwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_datactrlcum" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_datactrlcum.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_download" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_download.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_fsread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_fsread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_fswrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_fswrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_msgread" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_msgread.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_msgwrite" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_msgwrite.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_notification" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_notification.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_pkginfo" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_pkginfo.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_power" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_power.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_push" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_push.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_setting" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_setting.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_system" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_system.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_telephony" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_telephony.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_appinfo" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_appinfo.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_bthealth" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_bthealth.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipublic_websetting" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipublic_websetting.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apiplatform_btmgr" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apiplatform_btmgr.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signuntrusted_apipartner_nwbearsel" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signuntrusted_apipartner_nwbearsel.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_applaunch.wgt wrt6sig093</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrcert" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrcert.wgt wrt6sig094</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrkill.wgt wrt6sig095</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_btadmin.wgt wrt6sig096</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_btspp.wgt wrt6sig097</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_calendarread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_calendarread.wgt wrt6sig098</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_calendarwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_calendarwrite.wgt wrt6sig099</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contactread.wgt wrt6sig102</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contactwrite.wgt wrt6sig103</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contentread.wgt wrt6sig104</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_contentwrite.wgt wrt6sig105</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_datactrlcum.wgt wrt6sig106</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_datasync.wgt wrt6sig107</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_download.wgt wrt6sig108</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_fsread.wgt wrt6sig109</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_fswrite.wgt wrt6sig110</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_msgread.wgt wrt6sig111</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_msgwrite.wgt wrt6sig112</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfcadmin.wgt wrt6sig113</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfccommon.wgt wrt6sig114</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfcp2p.wgt wrt6sig115</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_nfctag.wgt wrt6sig116</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_notification.wgt wrt6sig117</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_pkginfo.wgt wrt6sig118</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_power.wgt wrt6sig119</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_push.wgt wrt6sig120</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_setting.wgt wrt6sig121</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_secele.wgt wrt6sig122</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_system.wgt wrt6sig123</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_telephony.wgt wrt6sig124</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_appinfo.wgt wrt6sig125</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_bthealth.wgt wrt6sig126</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipublic_websetting.wgt wrt6sig127</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_applaunch" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_applaunch.wgt wrt6sig130</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipartner_appmgrcert" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipartner_appmgrcert.wgt wrt6sig131</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipartner_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipartner_appmgrkill.wgt wrt6sig132</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_btadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_btadmin.wgt wrt6sig133</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_btspp" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_btspp.wgt wrt6sig134</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_bkmarkread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_bkmarkread.wgt wrt6sig135</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_bkmarkwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_bkmarkwrite.wgt wrt6sig136</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_calendarwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_calendarwrite.wgt wrt6sig137</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_calendarread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_calendarread.wgt wrt6sig138</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contactread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contactread.wgt wrt6sig141</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contentwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contentwrite.wgt wrt6sig142</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contactwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contactwrite.wgt wrt6sig143</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_contentread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_contentread.wgt wrt6sig144</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_datactrlcum" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_datactrlcum.wgt wrt6sig145</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_datasync" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_datasync.wgt wrt6sig146</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_download" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_download.wgt wrt6sig147</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_fsread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_fsread.wgt wrt6sig148</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_fswrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_fswrite.wgt wrt6sig149</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_msgread" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_msgread.wgt wrt6sig150</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_msgwrite" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_msgwrite.wgt wrt6sig151</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfcadmin" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfcadmin.wgt wrt6sig152</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfccommon" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfccommon.wgt wrt6sig153</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfcp2p" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfcp2p.wgt wrt6sig154</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_nfctag" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_nfctag.wgt wrt6sig155</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_notification" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_notification.wgt wrt6sig156</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_pkginfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_pkginfo.wgt wrt6sig157</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apiplatform_pkgmgrinstall" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apiplatform_pkgmgrinstall.wgt wrt6sig158</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_power" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_power.wgt wrt6sig159</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_push" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_push.wgt wrt6sig160</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_secele" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_secele.wgt wrt6sig161</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_setting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_setting.wgt wrt6sig162</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_system" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_system.wgt wrt6sig163</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_telephony" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_telephony.wgt wrt6sig164</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_appinfo" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_appinfo.wgt wrt6sig165</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_bthealth" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_bthealth.wgt wrt6sig166</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_websetting" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_websetting.wgt wrt6sig167</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signplatform_apipublic_sound" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signplatform_apipublic_sound.wgt wrt6sig168</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrcert_appmgrkill" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrcert_appmgrkill.wgt wrt6sig169</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipartner_appmgrkill_apipublic_alarm" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpartner_apipartner_appmgrkill_apipublic_alarm.wgt wrt6sig170</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony_apipublic_alarm" purpose="Check if widget can be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh signpublic_apipublic_telephony_apipublic_alarm.wgt wrt6sig171</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpartner_apipublic_btspp_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpartner_apipublic_btspp_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apiplatform_pkgmgrinstall_apipublic_alarm" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apiplatform_pkgmgrinstall_apipublic_alarm.wgt</test_script_entry>
+        </description>
+     </testcase>
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="signpublic_apipublic_telephony_apiplatform_pkgmgrinstall" purpose="Check if widget can not be installed">
+      <description>
+         <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh signpublic_apipublic_telephony_apiplatform_pkgmgrinstall.wgt</test_script_entry>
+        </description>
+     </testcase>
+    </set>
+  </suite>
+</test_definition>
index 82c4c55b21b788ace2067a902f5424f9cbd3c56f..775562ad7b38f0218cdef085f73af562c75acd5b 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-ui01-wrt-tests], [2.3b], [yunfenx.hao@intel.com])
+AC_INIT([tct-ui01-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 9536e705edeaec2335178d225be3ff2a05e9157b..d253e4cb298741a961a12c803f5caf7dfb2d4403 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-alarm" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-alarm</name>
index fe2d7780f149ab5531b33dd8ed94e970e476a3a4..8e10b95861602c03270f346214677c4b27a85839 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-application-launch" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-application-launch</name>
index 09dd6fc0cf6bb8926e79a72c2b68404a06d6741f..e45bf9dc83322de8697627d2c49fb72f3b92beab 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-application-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-application-read</name>
index 2197360b3b266421504bf9e2b0585d08f4f25c0a..edc4fe2b26d15e85beeea31c0ff0a9ed4b2d2e79 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-content-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-content-read</name>
index 9d5ee6510ad5e5e6cc8d422424181c9ca86f075d..c0a67ee26053ce4e4bce3721f42621ebc3ffbf63 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-content-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-content-write</name>
index 7330293bb5742f81bd9b2b0ce34362c55445836c..6c2c663dc3297c37164b364cd86bb2d509138fb8 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-filesystem-read" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-filesystem-read</name>
index 8dce24c073b999149737d8b83d6f84eecadf6e85..b9f6e38a5fa8e42a13b6ac48a8f4a67fd00201f6 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-filesystem-write" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-filesystem-write</name>
index 5071d83ca86d74b10dd65b96ba8f1a727b5d5265..0d694fac103afccd20bb3d34e0f83a88bf3e8b6c 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-power" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-power</name>
index 0adcfc1c0ed90bfba705fee6c398d32c8343d18d..15fec75eb4b8884f7b80fe6e7a3928d26f50659b 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-systeminfo" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-systeminfo</name>
index f41695a1b8feb5de265ba5ff06c9a81bd5f43261..088805d119e3d48bbd0c0f45dedf782487021298 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-time" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-time</name>
index 2c2cf9a91f6b63127d9aa9a16746690c7148d6fd..bbef6a2fe469527ed8446dddc0fc96ec0d542416 100755 (executable)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget id="http://tizen.org/multiple-other-tizen" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
-  <tizen:privilege name="http://tizen.org/privilege/internet"/><access origin="*"/>
+  <access origin="*"/>
   <icon src="icon.png" height="117" width="117"/>
   <content src="index.html"/>
   <name>multiple-other-tizen</name>
index 5bf69655d10babcd1f949aa5b540d55cd854d6ac..f64c4f099bcfb18531f6670e467e93b58f0e7e76 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3"
-release="1"
-version="$main_version-$release"
+main_version="2.3.1"
+release=""
+version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')